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.0007812/0.0007812, 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.0008251/0.0008251, allocations: 165.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.9145/0.9145, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.03067/0.03067, allocations: 7.511 MB / 266.7 MB, free: 6.207 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.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 1.553e-06/1.553e-06, allocations: 0 / 391.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.342e-05, allocations: 5.234 kB / 391.8 MB, free: 6.309 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.2481/0.2481, allocations: 114.8 MB / 0.4947 GB, free: 24.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06863/0.3167, allocations: 98.7 MB / 0.5911 GB, free: 8.262 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005966/0.3173, allocations: 11.94 kB / 0.5911 GB, free: 8.25 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.32, allocations: 1.263 MB / 0.5923 GB, free: 6.984 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00329/0.3233, allocations: 1.626 MB / 0.5939 GB, free: 5.352 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06499/0.3883, allocations: 31.84 MB / 0.625 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.3899, allocations: 1.448 MB / 0.6264 GB, free: 4 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.3901, allocations: 93.69 kB / 0.6265 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.3912, allocations: 0.8376 MB / 0.6273 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.3916, allocations: 331.8 kB / 0.6277 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.3916, allocations: 44 kB / 0.6277 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.261/0.6527, allocations: 24.38 MB / 0.6515 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.6529, allocations: 129.9 kB / 0.6516 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00046/0.6533, allocations: 216.3 kB / 0.6518 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0401/0.6934, allocations: 14.38 MB / 0.6659 GB, free: 28.26 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.6934, allocations: 0 / 0.6659 GB, free: 28.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6934, allocations: 0 / 0.6659 GB, free: 28.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.6935, allocations: 0 / 0.6659 GB, free: 28.26 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.007792/0.7012, allocations: 2.582 MB / 0.6684 GB, free: 26.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.7013, allocations: 10.19 kB / 0.6684 GB, free: 26.84 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.7014, allocations: 89.02 kB / 0.6685 GB, free: 26.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.7018, allocations: 86.06 kB / 0.6686 GB, free: 26.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.7022, allocations: 289.4 kB / 0.6689 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.7022, allocations: 29.91 kB / 0.6689 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.7022, allocations: 32.81 kB / 0.6689 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007943/0.703, allocations: 0.7599 MB / 0.6697 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.703, allocations: 3.094 kB / 0.6697 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.7031, allocations: 17.16 kB / 0.6697 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.7031, allocations: 17.19 kB / 0.6697 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/0.7038, allocations: 0.5537 MB / 0.6702 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.7052, allocations: 1.705 MB / 0.6719 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.7059, allocations: 483.4 kB / 0.6724 GB, free: 25.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.7061, allocations: 310.1 kB / 0.6727 GB, free: 25.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09655/0.8027, allocations: 44.04 MB / 0.7157 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.8027, allocations: 38.45 kB / 0.7157 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=79): time 2.675e-06/0.8027, allocations: 0 / 0.7157 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.003523/0.8063, allocations: 2.236 MB / 0.7179 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.8063, allocations: 57.66 kB / 0.7179 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.8064, allocations: 256.5 kB / 0.7182 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.8065, allocations: 44.83 kB / 0.7182 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.8065, allocations: 180.6 kB / 0.7184 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.8066, allocations: 279.7 kB / 0.7187 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.058e-05/0.8067, allocations: 101 kB / 0.7188 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.8067, allocations: 357.4 kB / 0.7191 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.807, allocations: 276.1 kB / 0.7194 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.8073, allocations: 405.1 kB / 0.7197 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.8079, allocations: 0.7295 MB / 0.7205 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8079, allocations: 0 / 0.7205 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0007934/0.8087, allocations: 0.8051 MB / 0.7212 GB, free: 80 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.8087, allocations: 9.875 kB / 0.7213 GB, free: 72 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.8087, allocations: 9.391 kB / 0.7213 GB, free: 64 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/0.8089, allocations: 60.31 kB / 0.7213 GB, free: 12 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.8092, allocations: 102.1 kB / 0.7214 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03663/0.8458, allocations: 16.41 MB / 0.7374 GB, free: 112 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.8462, allocations: 32.34 kB / 0.7375 GB, free: 88 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.8462, allocations: 27.67 kB / 0.7375 GB, free: 64 kB / 0.5105 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.0002883/0.8465, allocations: 190.8 kB / 0.7377 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.8466, allocations: 43.72 kB / 0.7377 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.848, allocations: 1.589 MB / 0.7393 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.848, allocations: 17.72 kB / 0.7393 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.848, allocations: 3.938 kB / 0.7393 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001002/0.849, allocations: 1.176 MB / 0.7404 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.8505, allocations: 1.552 MB / 0.742 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.8505, allocations: 0 / 0.742 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.8507, allocations: 86.12 kB / 0.742 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.8508, allocations: 40.7 kB / 0.7421 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.8508, allocations: 15.78 kB / 0.7421 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007155/0.8515, allocations: 1.311 MB / 0.7434 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8515, allocations: 0 / 0.7434 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.8527, allocations: 1.206 MB / 0.7446 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.8527, allocations: 35.75 kB / 0.7446 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.8528, allocations: 15.62 kB / 0.7446 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.8529, allocations: 35.34 kB / 0.7446 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.853, allocations: 43.48 kB / 0.7447 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.853, allocations: 15.73 kB / 0.7447 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001653/0.8532, allocations: 239.9 kB / 0.7449 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.8532, allocations: 0 / 0.7449 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01178/0.865, allocations: 3.569 MB / 0.7484 GB, free: 6.504 MB / 0.5261 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.01987/0.8848, allocations: 6.539 MB / 0.7548 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.8861, allocations: 0.9159 MB / 0.7557 GB, free: 240 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.8861, allocations: 0 / 0.7557 GB, free: 240 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.8869, allocations: 482.2 kB / 0.7562 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.8881, allocations: 413.8 kB / 0.7565 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.8998, allocations: 6.377 MB / 0.7628 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.9, allocations: 246.3 kB / 0.763 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004081/0.9004, allocations: 162.4 kB / 0.7632 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.9006, allocations: 169.8 kB / 0.7633 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of SimCode: time 1.432e-06/0.9006, allocations: 2.719 kB / 0.7633 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3439/1.244, allocations: 134.4 MB / 0.8946 GB, free: 206.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/12.05, allocations: 7.359 kB / 0.8946 GB, free: 206.4 MB / 0.6198 GB " [Timeout remaining time 648] (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: 15.737765121273696] Failed to read output from testmodel.py, exit status != 0: 12.206143090501428 12.214238904 11.519192437 Calling exit ...