Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.0009743/0.0009743, 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.001104/0.001104, 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.9093/0.9093, 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.02872/0.02872, allocations: 7.506 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.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 391.8 MB, free: 6.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.914e-05, allocations: 9.172 kB / 391.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.2698/0.2698, allocations: 113.7 MB / 0.4936 GB, free: 24.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06489/0.3347, allocations: 97.15 MB / 0.5885 GB, free: 10.84 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005287/0.3352, allocations: 7.938 kB / 0.5885 GB, free: 10.84 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.337, allocations: 0.9374 MB / 0.5894 GB, free: 9.895 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.339, allocations: 1.128 MB / 0.5905 GB, free: 8.762 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05705/0.396, allocations: 30.93 MB / 0.6207 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001547/0.3976, allocations: 1.39 MB / 0.6221 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.3978, allocations: 97.7 kB / 0.6222 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2311/0.6289, allocations: 12.58 MB / 0.6345 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.6293, allocations: 332.2 kB / 0.6348 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.6293, allocations: 43 kB / 0.6348 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03687/0.6662, allocations: 23.81 MB / 0.6581 GB, free: 31.69 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.6664, allocations: 124.9 kB / 0.6582 GB, free: 31.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.6669, allocations: 221 kB / 0.6584 GB, free: 31.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03687/0.7038, allocations: 14.48 MB / 0.6726 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.7038, allocations: 0 / 0.6726 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.935e-06/0.7038, allocations: 2.156 kB / 0.6726 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.293e-05/0.7038, allocations: 0 / 0.6726 GB, free: 31.32 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.006439/0.7103, allocations: 2.582 MB / 0.6751 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.7103, allocations: 12.34 kB / 0.6751 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.983e-05/0.7104, allocations: 86.36 kB / 0.6752 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.7108, allocations: 94.23 kB / 0.6753 GB, free: 29.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.7113, allocations: 281.8 kB / 0.6755 GB, free: 29.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.7113, allocations: 28.34 kB / 0.6756 GB, free: 29.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.7113, allocations: 36.97 kB / 0.6756 GB, free: 29.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/0.7123, allocations: 0.7618 MB / 0.6763 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.7123, allocations: 0 / 0.6763 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.7123, allocations: 12.03 kB / 0.6764 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.7124, allocations: 16.92 kB / 0.6764 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008163/0.7132, allocations: 0.5516 MB / 0.6769 GB, free: 29.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.7148, allocations: 1.711 MB / 0.6786 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006799/0.7155, allocations: 492.5 kB / 0.6791 GB, free: 28.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.7158, allocations: 308.2 kB / 0.6793 GB, free: 28.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09363/0.8094, allocations: 44.04 MB / 0.7224 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.8095, allocations: 41.28 kB / 0.7224 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=79): time 8.776e-06/0.8095, allocations: 3.984 kB / 0.7224 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.003872/0.8133, allocations: 2.245 MB / 0.7246 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.8134, allocations: 55.41 kB / 0.7246 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.8136, allocations: 252.2 kB / 0.7249 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.8137, allocations: 33.45 kB / 0.7249 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.8138, allocations: 188.6 kB / 0.7251 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.8139, allocations: 278.3 kB / 0.7254 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.814, allocations: 102.9 kB / 0.7255 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.8141, allocations: 349.2 kB / 0.7258 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.8144, allocations: 277.5 kB / 0.7261 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.8147, allocations: 410.4 kB / 0.7264 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.8154, allocations: 0.72 MB / 0.7272 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.8154, allocations: 5.688 kB / 0.7272 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.000887/0.8163, allocations: 0.8125 MB / 0.7279 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.8163, allocations: 9.875 kB / 0.728 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.8163, allocations: 4 kB / 0.728 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.8165, allocations: 59.7 kB / 0.728 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.8167, allocations: 103.2 kB / 0.7281 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03688/0.8536, allocations: 16.99 MB / 0.7447 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.854, allocations: 37.17 kB / 0.7447 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.854, allocations: 15.81 kB / 0.7448 GB, free: 12.58 MB / 0.5261 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.0002521/0.8542, allocations: 197 kB / 0.745 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.8543, allocations: 43.72 kB / 0.745 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.8556, allocations: 1.588 MB / 0.7465 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.8556, allocations: 19.09 kB / 0.7466 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8557, allocations: 1.438 kB / 0.7466 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008572/0.8565, allocations: 1.177 MB / 0.7477 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.858, allocations: 1.553 MB / 0.7492 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.858, allocations: 0 / 0.7492 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.8581, allocations: 79.11 kB / 0.7493 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.8583, allocations: 55.12 kB / 0.7494 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.8583, allocations: 3.875 kB / 0.7494 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007152/0.859, allocations: 1.312 MB / 0.7506 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.859, allocations: 0 / 0.7506 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.8601, allocations: 1.207 MB / 0.7518 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.8603, allocations: 44.22 kB / 0.7519 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.8603, allocations: 7.875 kB / 0.7519 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.8604, allocations: 34.81 kB / 0.7519 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.261e-05/0.8605, allocations: 47.23 kB / 0.7519 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.8605, allocations: 11.98 kB / 0.752 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001798/0.8607, allocations: 244.5 kB / 0.7522 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.8607, allocations: 0.5469 kB / 0.7522 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009016/0.8697, allocations: 3.57 MB / 0.7557 GB, free: 3.023 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.0177/0.8874, allocations: 6.645 MB / 0.7622 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.8887, allocations: 0.9079 MB / 0.7631 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8887, allocations: 0 / 0.7631 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.8892, allocations: 484.1 kB / 0.7635 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.8903, allocations: 405.9 kB / 0.7639 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.9017, allocations: 6.355 MB / 0.7701 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.9019, allocations: 250 kB / 0.7704 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004219/0.9023, allocations: 170.3 kB / 0.7705 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.9025, allocations: 167.3 kB / 0.7707 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of SimCode: time 1.263e-06/0.9025, allocations: 0 / 0.7707 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3663/1.269, allocations: 135 MB / 0.9025 GB, free: 206.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.29, allocations: 4.953 kB / 0.9025 GB, free: 206.5 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel_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_EthanolTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.25078609958291] Failed to read output from testmodel.py, exit status != 0: 12.449284132570028 12.460030245 11.754489107 Calling exit ...