Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 109.1 kB / 17.12 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 205 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9511/0.9511, allocations: 150 MB / 459.5 MB, free: 5.344 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 77.52 kB / 0.6361 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.17, allocations: 89.13 MB / 0.7232 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02639/0.1964, allocations: 23.55 MB / 0.7462 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008238/0.2046, allocations: 5.1 MB / 0.7512 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.2056, allocations: 35.69 kB / 0.7512 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009099/0.2065, allocations: 298 kB / 0.7515 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.2089, allocations: 0.8202 MB / 0.7523 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.211, allocations: 0.7822 MB / 0.753 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.2134, allocations: 1.606 MB / 0.7546 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000764/0.2141, allocations: 417.6 kB / 0.755 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.2163, allocations: 0.7262 MB / 0.7557 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008543/0.2171, allocations: 474 kB / 0.7562 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.2172, allocations: 44 kB / 0.7562 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.2185, allocations: 0.5108 MB / 0.7567 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.2187, allocations: 147.4 kB / 0.7568 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.2192, allocations: 310.5 kB / 0.7571 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.221, allocations: 0.9459 MB / 0.7581 GB, free: 220 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.221, allocations: 3.984 kB / 0.7581 GB, free: 216 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.221, allocations: 4 kB / 0.7581 GB, free: 212 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.221, allocations: 0 / 0.7581 GB, free: 212 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001657/0.2226, allocations: 0.907 MB / 0.759 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.2227, allocations: 8.031 kB / 0.759 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.2228, allocations: 78.7 kB / 0.759 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.2231, allocations: 68.56 kB / 0.7591 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.2243, allocations: 0.58 MB / 0.7597 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.2243, allocations: 33 kB / 0.7597 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/0.2244, allocations: 40 kB / 0.7597 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/0.2251, allocations: 436.6 kB / 0.7602 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.2252, allocations: 7.938 kB / 0.7602 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.2252, allocations: 20 kB / 0.7602 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.2252, allocations: 8 kB / 0.7602 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/0.2257, allocations: 303.8 kB / 0.7605 GB, free: 13.62 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.2287, allocations: 1.916 MB / 0.7624 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.2292, allocations: 250.8 kB / 0.7626 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.2294, allocations: 116.8 kB / 0.7627 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009135/0.2303, allocations: 0.8506 MB / 0.7635 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.2304, allocations: 34.5 kB / 0.7636 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 2.525e-06/0.2304, allocations: 0 / 0.7636 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.0007958/0.2312, allocations: 381.9 kB / 0.7639 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2312, allocations: 55.39 kB / 0.764 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006219/0.2318, allocations: 474.1 kB / 0.7644 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.2319, allocations: 29.7 kB / 0.7645 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.2321, allocations: 268.3 kB / 0.7647 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.712e-05/0.2322, allocations: 103.2 kB / 0.7648 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.2323, allocations: 66.02 kB / 0.7649 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2325, allocations: 358.8 kB / 0.7652 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.2327, allocations: 100.6 kB / 0.7653 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.2329, allocations: 168 kB / 0.7655 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.2333, allocations: 286.7 kB / 0.7658 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2333, allocations: 4 kB / 0.7658 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006405/0.234, allocations: 361 kB / 0.7661 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.234, allocations: 13.5 kB / 0.7661 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.234, allocations: 0 / 0.7661 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.234, allocations: 4 kB / 0.7661 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.2343, allocations: 71.91 kB / 0.7662 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.2343, allocations: 8.203 kB / 0.7662 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.2346, allocations: 47.66 kB / 0.7662 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.2346, allocations: 20 kB / 0.7663 GB, free: 7.258 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002328/0.2349, allocations: 177.8 kB / 0.7664 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.235, allocations: 55.61 kB / 0.7665 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008678/0.2358, allocations: 480.9 kB / 0.7669 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.2359, allocations: 4 kB / 0.7669 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2359, allocations: 0 / 0.7669 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006112/0.2365, allocations: 0.5648 MB / 0.7675 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.2385, allocations: 1.152 MB / 0.7686 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.2385, allocations: 4 kB / 0.7686 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.2387, allocations: 51.91 kB / 0.7687 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.2387, allocations: 4 kB / 0.7687 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.2387, allocations: 12.17 kB / 0.7687 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/0.2387, allocations: 8 kB / 0.7687 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2387, allocations: 4 kB / 0.7687 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009665/0.2397, allocations: 0.6685 MB / 0.7694 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.24, allocations: 172.8 kB / 0.7695 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.24, allocations: 11.98 kB / 0.7695 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.2403, allocations: 11.98 kB / 0.7695 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.2404, allocations: 35.78 kB / 0.7696 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.2404, allocations: 12 kB / 0.7696 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004488/0.2408, allocations: 346.8 kB / 0.7699 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2408, allocations: 8 kB / 0.7699 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006984/0.2415, allocations: 203.5 kB / 0.7701 GB, free: 3.07 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001699/0.2432, allocations: 1.377 MB / 0.7715 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006055/0.2438, allocations: 283.7 kB / 0.7717 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2438, allocations: 4.125 kB / 0.7717 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.2441, allocations: 147.8 kB / 0.7719 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.2457, allocations: 338.2 kB / 0.7722 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006161/0.2519, allocations: 4.205 MB / 0.7763 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.2524, allocations: 0.8627 MB / 0.7772 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004571/0.2529, allocations: 124.6 kB / 0.7773 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.2532, allocations: 191.4 kB / 0.7775 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.2532, allocations: 3.938 kB / 0.7775 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05343/0.3066, allocations: 16.97 MB / 0.794 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.985/9.291, allocations: 27.91 kB / 0.7941 GB, free: 10.58 MB / 0.6075 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.200984570896253] Failed to read output from testmodel.py, exit status != 0: 9.371764191891998 9.392719317 9.167708327 Calling exit ...