Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.001327/0.001327, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001583/0.001583, allocations: 213.3 kB / 22.25 MB, free: 4.855 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.051/0.051, allocations: 9.137 MB / 321.6 MB, free: 10.22 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 59.91 kB / 446.5 MB, free: 0.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.097/0.09903, allocations: 54.94 MB / 0.4897 GB, free: 9.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.3261/0.4252, allocations: 115 MB / 0.602 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1052/0.5303, allocations: 98.7 MB / 0.6984 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.5309, allocations: 7.938 kB / 0.6984 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.5341, allocations: 1.257 MB / 0.6997 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003692/0.5378, allocations: 1.583 MB / 0.7012 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3265/0.8643, allocations: 31.34 MB / 0.7318 GB, free: 21.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.866, allocations: 1.434 MB / 0.7332 GB, free: 21.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.8662, allocations: 87.19 kB / 0.7333 GB, free: 21.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.8673, allocations: 0.6259 MB / 0.7339 GB, free: 21.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005381/0.8678, allocations: 377.3 kB / 0.7343 GB, free: 21.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.073e-05/0.8679, allocations: 42.38 kB / 0.7343 GB, free: 21.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04483/0.9127, allocations: 24.18 MB / 0.7579 GB, free: 21.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.913, allocations: 127.4 kB / 0.758 GB, free: 21.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005823/0.9136, allocations: 254.8 kB / 0.7583 GB, free: 21.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03316/0.9467, allocations: 12.21 MB / 0.7702 GB, free: 20.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.9468, allocations: 0.5469 kB / 0.7702 GB, free: 20.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9468, allocations: 0 / 0.7702 GB, free: 20.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.9468, allocations: 5.312 kB / 0.7702 GB, free: 20.91 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00561/0.9524, allocations: 2.586 MB / 0.7727 GB, free: 19.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.9524, allocations: 10.66 kB / 0.7727 GB, free: 19.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.179e-05/0.9525, allocations: 83.84 kB / 0.7728 GB, free: 19.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/0.9531, allocations: 89.83 kB / 0.7729 GB, free: 19.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.9535, allocations: 291.3 kB / 0.7732 GB, free: 19.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.9536, allocations: 30.06 kB / 0.7732 GB, free: 19.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.9536, allocations: 31.88 kB / 0.7732 GB, free: 19.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.9547, allocations: 0.7549 MB / 0.774 GB, free: 18.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.9547, allocations: 4.766 kB / 0.774 GB, free: 18.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.9548, allocations: 24.7 kB / 0.774 GB, free: 18.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.9548, allocations: 13.42 kB / 0.774 GB, free: 18.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.9559, allocations: 0.5587 MB / 0.7746 GB, free: 18.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.9576, allocations: 1.695 MB / 0.7762 GB, free: 18.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009437/0.9585, allocations: 496.2 kB / 0.7767 GB, free: 18.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.959, allocations: 308.8 kB / 0.777 GB, free: 18.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1867/1.146, allocations: 44.04 MB / 0.82 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/1.146, allocations: 34.84 kB / 0.82 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.615e-06/1.146, allocations: 0 / 0.82 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.006112/1.152, allocations: 2.238 MB / 0.8222 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/1.152, allocations: 66.14 kB / 0.8223 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/1.152, allocations: 259.8 kB / 0.8225 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/1.152, allocations: 33.5 kB / 0.8226 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/1.152, allocations: 188.7 kB / 0.8227 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/1.153, allocations: 282.1 kB / 0.823 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/1.153, allocations: 96.23 kB / 0.8231 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.153, allocations: 358 kB / 0.8234 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/1.153, allocations: 280.9 kB / 0.8237 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/1.154, allocations: 406.8 kB / 0.8241 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.155, allocations: 0.7213 MB / 0.8248 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.155, allocations: 4.984 kB / 0.8248 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001487/1.157, allocations: 0.8067 MB / 0.8256 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.157, allocations: 8.438 kB / 0.8256 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.157, allocations: 4 kB / 0.8256 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/1.157, allocations: 60.81 kB / 0.8257 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/1.157, allocations: 102.9 kB / 0.8258 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06879/1.226, allocations: 16.43 MB / 0.8418 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/1.227, allocations: 23.55 kB / 0.8418 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/1.227, allocations: 23.92 kB / 0.8418 GB, free: 1.477 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000282/1.227, allocations: 190.6 kB / 0.842 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/1.227, allocations: 43.72 kB / 0.8421 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/1.229, allocations: 1.594 MB / 0.8436 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/1.229, allocations: 15.27 kB / 0.8436 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/1.229, allocations: 1.969 kB / 0.8436 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001469/1.23, allocations: 1.177 MB / 0.8448 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/1.233, allocations: 1.55 MB / 0.8463 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.233, allocations: 0 / 0.8463 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/1.233, allocations: 86.69 kB / 0.8464 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001983/1.233, allocations: 36.56 kB / 0.8464 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/1.233, allocations: 11.75 kB / 0.8464 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/1.234, allocations: 1.318 MB / 0.8477 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.234, allocations: 0 / 0.8477 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/1.236, allocations: 1.211 MB / 0.8489 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/1.236, allocations: 39.5 kB / 0.8489 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/1.236, allocations: 15.42 kB / 0.849 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/1.237, allocations: 20.23 kB / 0.849 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.237, allocations: 53.61 kB / 0.849 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/1.237, allocations: 15.88 kB / 0.849 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000267/1.237, allocations: 241.2 kB / 0.8493 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.237, allocations: 0 / 0.8493 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009557/1.247, allocations: 3.578 MB / 0.8528 GB, free: 7.91 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02065/1.267, allocations: 6.144 MB / 0.8588 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001953/1.269, allocations: 0.9219 MB / 0.8597 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.269, allocations: 0 / 0.8597 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008794/1.27, allocations: 483 kB / 0.8601 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/1.272, allocations: 420.6 kB / 0.8605 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.286, allocations: 6.402 MB / 0.8668 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/1.286, allocations: 250.3 kB / 0.867 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005047/1.286, allocations: 163.1 kB / 0.8672 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/1.287, allocations: 172 kB / 0.8673 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/1.287, allocations: 0 / 0.8673 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4407/1.727, allocations: 134.4 MB / 0.9986 GB, free: 248.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.08/18.81, allocations: 6.25 kB / 0.9986 GB, free: 248.5 MB / 0.7012 GB " [Timeout remaining time 641] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.530098388902843] Failed to read output from testmodel.py, exit status != 0: 18.99968684790656 19.012062253 18.062638627 Calling exit ...