Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.0008034/0.0008034, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008328/0.0008328, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8784/0.8784, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.02931/0.02931, allocations: 7.515 MB / 266.7 MB, free: 6.195 MB / 250.7 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.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 391.8 MB, free: 6.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.426e-05, allocations: 10.28 kB / 391.8 MB, free: 6.309 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.2297/0.2297, allocations: 114.9 MB / 0.4948 GB, free: 24.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06463/0.2943, allocations: 98.63 MB / 0.5911 GB, free: 8.227 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005557/0.2949, allocations: 7.938 kB / 0.5912 GB, free: 8.219 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.2973, allocations: 1.243 MB / 0.5924 GB, free: 6.973 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.3002, allocations: 1.602 MB / 0.5939 GB, free: 5.363 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05952/0.3597, allocations: 31.83 MB / 0.625 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.3614, allocations: 1.429 MB / 0.6264 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.3616, allocations: 93.75 kB / 0.6265 GB, free: 3.945 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.2249/0.5864, allocations: 10.29 MB / 0.6365 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.5869, allocations: 341.5 kB / 0.6369 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.5869, allocations: 43.38 kB / 0.6369 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03595/0.6229, allocations: 24.73 MB / 0.6611 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.6231, allocations: 135.4 kB / 0.6612 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004798/0.6236, allocations: 218.6 kB / 0.6614 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03576/0.6594, allocations: 14.49 MB / 0.6755 GB, free: 29.24 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6594, allocations: 0 / 0.6755 GB, free: 29.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6594, allocations: 0 / 0.6755 GB, free: 29.24 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6594, allocations: 0 / 0.6755 GB, free: 29.24 MB / 0.4948 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.006291/0.6657, allocations: 2.585 MB / 0.6781 GB, free: 27.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.6657, allocations: 11.31 kB / 0.6781 GB, free: 27.79 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.791e-05/0.6658, allocations: 85.02 kB / 0.6782 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004097/0.6662, allocations: 91.58 kB / 0.6783 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.6666, allocations: 289 kB / 0.6785 GB, free: 27.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.6667, allocations: 31.42 kB / 0.6786 GB, free: 27.56 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.6667, allocations: 31.88 kB / 0.6786 GB, free: 27.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008274/0.6675, allocations: 0.7601 MB / 0.6793 GB, free: 27.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.6676, allocations: 3.594 kB / 0.6793 GB, free: 27.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.6676, allocations: 14.81 kB / 0.6793 GB, free: 27.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.6676, allocations: 22.27 kB / 0.6794 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007947/0.6684, allocations: 0.5433 MB / 0.6799 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.6699, allocations: 1.711 MB / 0.6816 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006273/0.6705, allocations: 477.8 kB / 0.682 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.6708, allocations: 311 kB / 0.6823 GB, free: 26.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09397/0.7648, allocations: 44.03 MB / 0.7253 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.7648, allocations: 48.22 kB / 0.7254 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 3.827e-06/0.7648, allocations: 3.984 kB / 0.7254 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82): time 0.003572/0.7684, allocations: 2.24 MB / 0.7276 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.7684, allocations: 59.41 kB / 0.7276 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.7686, allocations: 258.7 kB / 0.7279 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.7686, allocations: 29.58 kB / 0.7279 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.7687, allocations: 192.1 kB / 0.7281 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.7688, allocations: 277.3 kB / 0.7283 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/0.7689, allocations: 96.67 kB / 0.7284 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.769, allocations: 351.7 kB / 0.7288 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.7693, allocations: 287.2 kB / 0.729 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.7696, allocations: 390 kB / 0.7294 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008339/0.7704, allocations: 0.7002 MB / 0.7301 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7704, allocations: 4 kB / 0.7301 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.000799/0.7712, allocations: 0.8139 MB / 0.7309 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7712, allocations: 8 kB / 0.7309 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.7712, allocations: 4 kB / 0.7309 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.7714, allocations: 61.23 kB / 0.731 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.7717, allocations: 133.8 kB / 0.7311 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03659/0.8083, allocations: 19.23 MB / 0.7499 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.8087, allocations: 28.61 kB / 0.7499 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.8087, allocations: 23.98 kB / 0.7499 GB, free: 6.637 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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.0002902/0.809, allocations: 194.5 kB / 0.7501 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.8091, allocations: 47.66 kB / 0.7502 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.8105, allocations: 1.713 MB / 0.7518 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.8105, allocations: 18.52 kB / 0.7518 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8105, allocations: 0 / 0.7518 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/0.8116, allocations: 1.282 MB / 0.7531 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.8132, allocations: 1.667 MB / 0.7547 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.8132, allocations: 0 / 0.7547 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.8134, allocations: 82.19 kB / 0.7548 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001731/0.8136, allocations: 105 kB / 0.7549 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.8136, allocations: 3.812 kB / 0.7549 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009706/0.8146, allocations: 1.886 MB / 0.7567 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8146, allocations: 4.281 kB / 0.7567 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.816, allocations: 1.335 MB / 0.7581 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.8161, allocations: 39.69 kB / 0.7581 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.8162, allocations: 14.31 kB / 0.7581 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.8163, allocations: 27.53 kB / 0.7581 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/0.8164, allocations: 51.41 kB / 0.7582 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.8164, allocations: 11.75 kB / 0.7582 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002219/0.8166, allocations: 221.1 kB / 0.7584 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.8167, allocations: 64 / 0.7584 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009395/0.826, allocations: 3.579 MB / 0.7619 GB, free: 12.18 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.01896/0.845, allocations: 6.696 MB / 0.7684 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.8467, allocations: 1.001 MB / 0.7694 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8467, allocations: 0 / 0.7694 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.8475, allocations: 486.8 kB / 0.7699 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.8487, allocations: 392.1 kB / 0.7703 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.8608, allocations: 6.299 MB / 0.7764 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.861, allocations: 252.2 kB / 0.7766 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003813/0.8614, allocations: 141.7 kB / 0.7768 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.8616, allocations: 169.5 kB / 0.7769 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/0.8616, allocations: 0 / 0.7769 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3305/1.192, allocations: 134.9 MB / 0.9087 GB, free: 213.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/12.19, allocations: 7.734 kB / 0.9087 GB, free: 213.1 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.564686531201005] Failed to read output from testmodel.py, exit status != 0: 12.351237811148167 12.358571155 11.697561345 Calling exit ...