Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0008536/0.0008536, allocations: 76.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008491/0.0008491, allocations: 170.3 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9327/0.9327, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.5831/0.5831, allocations: 114 MB / 373.9 MB, free: 8.719 MB / 346.7 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.5542 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.804e-05, allocations: 6 kB / 0.5542 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006228/0.006256, allocations: 3.658 MB / 0.5577 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002229/0.006479, allocations: 143.4 kB / 0.5579 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.006508, allocations: 4 kB / 0.5579 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.006642, allocations: 4 kB / 0.5579 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.00675, allocations: 15.86 kB / 0.5579 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.007207, allocations: 90.61 kB / 0.558 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.007316, allocations: 35.84 kB / 0.558 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.007372, allocations: 0 / 0.558 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.007459, allocations: 31.91 kB / 0.558 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.00755, allocations: 7.984 kB / 0.558 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.007566, allocations: 4 kB / 0.5581 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005801/0.008146, allocations: 179.4 kB / 0.5582 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.008199, allocations: 8 kB / 0.5582 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.008226, allocations: 7.984 kB / 0.5582 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.008406, allocations: 59.86 kB / 0.5583 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.008413, allocations: 3.938 kB / 0.5583 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.834e-06/0.008414, allocations: 0 / 0.5583 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.00842, allocations: 0 / 0.5583 GB, free: 14.58 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000444/0.008864, allocations: 270.2 kB / 0.5586 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.008913, allocations: 12.62 kB / 0.5586 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.008957, allocations: 34.75 kB / 0.5586 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.009004, allocations: 4.891 kB / 0.5586 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.00911, allocations: 109.7 kB / 0.5587 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/0.0092, allocations: 51.97 kB / 0.5588 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.00921, allocations: 4.375 kB / 0.5588 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.009379, allocations: 71.94 kB / 0.5588 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.009392, allocations: 3.938 kB / 0.5588 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.009403, allocations: 3.984 kB / 0.5588 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.009426, allocations: 8 kB / 0.5588 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.693e-05/0.009473, allocations: 15.94 kB / 0.5589 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.009928, allocations: 228 kB / 0.5591 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.684e-05/0.009975, allocations: 14.58 kB / 0.5591 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.009996, allocations: 12.92 kB / 0.5591 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-05/0.01006, allocations: 4 kB / 0.5591 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.01009, allocations: 34.56 kB / 0.5591 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.01009, allocations: 0 / 0.5591 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001801/0.01027, allocations: 37.62 kB / 0.5592 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.01031, allocations: 55.53 kB / 0.5592 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.01039, allocations: 105.8 kB / 0.5593 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.01041, allocations: 25.7 kB / 0.5594 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.01046, allocations: 84.09 kB / 0.5594 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-06/0.01047, allocations: 11.95 kB / 0.5594 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.0105, allocations: 13.72 kB / 0.5595 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01061, allocations: 314.8 kB / 0.5598 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.01063, allocations: 8 kB / 0.5598 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.01065, allocations: 17.72 kB / 0.5598 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.372e-05/0.0107, allocations: 29.59 kB / 0.5598 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.0107, allocations: 0 / 0.5598 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.772e-05/0.01079, allocations: 45.69 kB / 0.5599 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.01081, allocations: 4 kB / 0.5599 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.01081, allocations: 0 / 0.5599 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.01083, allocations: 0 / 0.5599 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.01088, allocations: 15.92 kB / 0.5599 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01089, allocations: 3.938 kB / 0.5599 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.01091, allocations: 4 kB / 0.5599 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.01093, allocations: 4 kB / 0.5599 GB, free: 12.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.399e-05/0.011, allocations: 113.8 kB / 0.56 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.01103, allocations: 7.891 kB / 0.56 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.01117, allocations: 124.9 kB / 0.5601 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.048e-05/0.01123, allocations: 184.2 kB / 0.5603 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.618e-05/0.01128, allocations: 176.3 kB / 0.5605 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.595e-05/0.01134, allocations: 180.2 kB / 0.5606 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.01158, allocations: 380.2 kB / 0.561 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.693e-05/0.01161, allocations: 105 kB / 0.5611 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.39e-05/0.01165, allocations: 104.9 kB / 0.5612 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.24e-05/0.01171, allocations: 180.3 kB / 0.5614 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.165e-05/0.01178, allocations: 188.2 kB / 0.5616 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.99e-05/0.01184, allocations: 176.3 kB / 0.5617 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-05/0.0119, allocations: 180.3 kB / 0.5619 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.01203, allocations: 311.7 kB / 0.5622 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.01208, allocations: 104.9 kB / 0.5623 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.01216, allocations: 180.3 kB / 0.5625 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.01232, allocations: 109 kB / 0.5626 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.01238, allocations: 192.5 kB / 0.5628 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.01241, allocations: 101 kB / 0.5628 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.01245, allocations: 87.28 kB / 0.5629 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01246, allocations: 0 / 0.5629 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003067/0.01276, allocations: 16 kB / 0.5629 GB, free: 9.395 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004628/0.01322, allocations: 0.8284 MB / 0.5638 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.124e-05/0.01331, allocations: 11.98 kB / 0.5638 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01331, allocations: 0 / 0.5638 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.01331, allocations: 7.938 kB / 0.5638 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.0138, allocations: 456.6 kB / 0.5642 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.0149, allocations: 1.328 MB / 0.5655 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.82e-05/0.01496, allocations: 63.28 kB / 0.5656 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.418e-05/0.01501, allocations: 8 kB / 0.5656 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.01505, allocations: 8.5 kB / 0.5656 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of SimCode: time 1.332e-06/0.01505, allocations: 0 / 0.5656 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.03734, allocations: 2.188 MB / 0.5677 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/6.966, allocations: 2.234 kB / 0.5677 GB, free: 4.559 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.679643516428769] Failed to read output from testmodel.py, exit status != 0: 7.047703143209219 7.056930209 7.046496043 Calling exit ...