Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.0007876/0.0007876, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.000767/0.000767, allocations: 169.9 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.9031/0.9031, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5645/0.5645, allocations: 114 MB / 373.9 MB, free: 8.707 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.5542 GB, free: 1.734 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.495e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.73 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004592/0.004617, allocations: 3.891 MB / 0.558 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000141/0.004758, allocations: 147.4 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.004783, allocations: 0 / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.004891, allocations: 3.984 kB / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.004965, allocations: 11.98 kB / 0.5581 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.005297, allocations: 87.61 kB / 0.5582 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.185e-05/0.005379, allocations: 35.8 kB / 0.5582 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.005424, allocations: 8 kB / 0.5582 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.005479, allocations: 19.91 kB / 0.5583 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.378e-05/0.005553, allocations: 11.98 kB / 0.5583 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.005567, allocations: 4 kB / 0.5583 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.00575, allocations: 55.81 kB / 0.5583 GB, free: 13.44 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.005799, allocations: 3.984 kB / 0.5583 GB, free: 13.44 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.005822, allocations: 11.98 kB / 0.5583 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.005968, allocations: 67.8 kB / 0.5584 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.005972, allocations: 0 / 0.5584 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.005974, allocations: 0 / 0.5584 GB, free: 13.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005979, allocations: 0 / 0.5584 GB, free: 13.36 MB / 490.7 MB 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.0003399/0.006319, allocations: 258.8 kB / 0.5587 GB, free: 13.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.006363, allocations: 12.62 kB / 0.5587 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.006398, allocations: 38.73 kB / 0.5587 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.006429, allocations: 4.938 kB / 0.5587 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.698e-05/0.006506, allocations: 113.7 kB / 0.5588 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.006565, allocations: 55.91 kB / 0.5589 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.006572, allocations: 384 / 0.5589 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.006688, allocations: 71.95 kB / 0.5589 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.006696, allocations: 3.938 kB / 0.5589 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.006706, allocations: 3.984 kB / 0.5589 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.006723, allocations: 0 / 0.5589 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.815e-05/0.006761, allocations: 23.92 kB / 0.559 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.007131, allocations: 224 kB / 0.5592 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.585e-05/0.007167, allocations: 18.58 kB / 0.5592 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.007183, allocations: 8.844 kB / 0.5592 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.007226, allocations: 8.062 kB / 0.5592 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.007246, allocations: 30.56 kB / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.007247, allocations: 0 / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001277/0.007374, allocations: 41.64 kB / 0.5593 GB, free: 12.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.007401, allocations: 55.39 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.516e-05/0.007466, allocations: 101.8 kB / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.007478, allocations: 25.83 kB / 0.5595 GB, free: 12.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.007519, allocations: 92.09 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.007525, allocations: 7.938 kB / 0.5596 GB, free: 12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.007549, allocations: 13.72 kB / 0.5596 GB, free: 11.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.451e-05/0.007624, allocations: 318.8 kB / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.007635, allocations: 0 / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.007655, allocations: 17.7 kB / 0.5599 GB, free: 11.63 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.007686, allocations: 29.59 kB / 0.5599 GB, free: 11.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.007688, allocations: 0 / 0.5599 GB, free: 11.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.093e-05/0.007749, allocations: 49.69 kB / 0.56 GB, free: 11.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.007763, allocations: 11.94 kB / 0.56 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007768, allocations: 0 / 0.56 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.007779, allocations: 0 / 0.56 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.014e-05/0.007819, allocations: 7.938 kB / 0.56 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.007826, allocations: 4 kB / 0.56 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.007839, allocations: 0 / 0.56 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.007847, allocations: 0 / 0.56 GB, free: 11.52 MB / 490.7 MB 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 6.211e-05/0.00791, allocations: 117.8 kB / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.007924, allocations: 3.953 kB / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.008025, allocations: 121.1 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/0.008066, allocations: 184.2 kB / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.267e-05/0.008108, allocations: 188.2 kB / 0.5606 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-05/0.008148, allocations: 180.2 kB / 0.5607 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.008294, allocations: 380.2 kB / 0.5611 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-05/0.008318, allocations: 101 kB / 0.5612 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.008343, allocations: 108.9 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.149e-05/0.008385, allocations: 176.5 kB / 0.5615 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.008426, allocations: 184.2 kB / 0.5617 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.045e-05/0.008467, allocations: 184.3 kB / 0.5618 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-05/0.008507, allocations: 188.2 kB / 0.562 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.008609, allocations: 303.8 kB / 0.5623 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.008642, allocations: 112.9 kB / 0.5624 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.0087, allocations: 180.2 kB / 0.5626 GB, free: 8.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.0088, allocations: 105 kB / 0.5627 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.008847, allocations: 184.2 kB / 0.5629 GB, free: 8.387 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.008872, allocations: 105 kB / 0.563 GB, free: 8.277 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.053e-05/0.008912, allocations: 87.27 kB / 0.563 GB, free: 8.191 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008912, allocations: 0 / 0.563 GB, free: 8.191 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.009094, allocations: 15.94 kB / 0.563 GB, free: 8.176 MB / 490.7 MB 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.0003455/0.00944, allocations: 0.8323 MB / 0.5639 GB, free: 7.316 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.733e-05/0.009507, allocations: 8 kB / 0.5639 GB, free: 7.309 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.009509, allocations: 0 / 0.5639 GB, free: 7.309 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.009512, allocations: 3.938 kB / 0.5639 GB, free: 7.305 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.009878, allocations: 459.7 kB / 0.5643 GB, free: 6.852 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008228/0.0107, allocations: 1.327 MB / 0.5656 GB, free: 5.434 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.57e-05/0.01075, allocations: 63.47 kB / 0.5657 GB, free: 5.352 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.646e-05/0.01078, allocations: 4 kB / 0.5657 GB, free: 5.348 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.01081, allocations: 12.5 kB / 0.5657 GB, free: 5.336 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01081, allocations: 0 / 0.5657 GB, free: 5.336 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.02948, allocations: 2.166 MB / 0.5678 GB, free: 3.32 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.16, allocations: 10.8 kB / 0.5678 GB, free: 3.312 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion_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_WaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.739380076527596] Failed to read output from testmodel.py, exit status != 0: 7.2420463832095265 7.252102498 7.24412469 Calling exit ...