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.001267/0.001267, 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.001463/0.001463, allocations: 215.5 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.801 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.04981/0.04981, allocations: 9.136 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.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 0.001872/0.001872, allocations: 59.91 kB / 446.5 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1022, allocations: 54.94 MB / 0.4897 GB, free: 9.508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.331/0.4333, allocations: 113.9 MB / 0.601 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1043/0.5376, allocations: 97.15 MB / 0.6958 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005731/0.5382, allocations: 11.94 kB / 0.6959 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.5404, allocations: 0.926 MB / 0.6968 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.5427, allocations: 1.105 MB / 0.6978 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3265/0.8692, allocations: 30.41 MB / 0.7275 GB, free: 24.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.8707, allocations: 1.387 MB / 0.7289 GB, free: 24.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.8709, allocations: 74.84 kB / 0.729 GB, free: 24.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0185/0.8894, allocations: 12.21 MB / 0.7409 GB, free: 24.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005523/0.8899, allocations: 370.6 kB / 0.7412 GB, free: 24.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.89, allocations: 44.48 kB / 0.7413 GB, free: 24.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03898/0.929, allocations: 23.64 MB / 0.7644 GB, free: 24.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.9293, allocations: 125.3 kB / 0.7645 GB, free: 24.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000603/0.9299, allocations: 249.8 kB / 0.7647 GB, free: 24.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0321/0.962, allocations: 12.32 MB / 0.7768 GB, free: 23.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.962, allocations: 1.781 kB / 0.7768 GB, free: 23.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.962, allocations: 0 / 0.7768 GB, free: 23.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.962, allocations: 0 / 0.7768 GB, free: 23.64 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.00644/0.9684, allocations: 2.594 MB / 0.7793 GB, free: 22.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.9685, allocations: 9.719 kB / 0.7793 GB, free: 22.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.941e-05/0.9686, allocations: 85.86 kB / 0.7794 GB, free: 22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006059/0.9692, allocations: 88.45 kB / 0.7795 GB, free: 21.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.9696, allocations: 279.3 kB / 0.7797 GB, free: 21.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.9697, allocations: 29 kB / 0.7798 GB, free: 21.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.9697, allocations: 34.11 kB / 0.7798 GB, free: 21.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.9708, allocations: 0.7636 MB / 0.7805 GB, free: 21.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.9708, allocations: 0 / 0.7805 GB, free: 21.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.9709, allocations: 20.59 kB / 0.7806 GB, free: 21.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.9709, allocations: 18.97 kB / 0.7806 GB, free: 21.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.972, allocations: 0.5489 MB / 0.7811 GB, free: 21.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.9738, allocations: 1.712 MB / 0.7828 GB, free: 20.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009838/0.9748, allocations: 484.7 kB / 0.7832 GB, free: 20.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/0.9752, allocations: 311.4 kB / 0.7835 GB, free: 20.17 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1839/1.159, allocations: 44.04 MB / 0.8265 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/1.159, allocations: 39.56 kB / 0.8266 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.505e-06/1.159, allocations: 0 / 0.8266 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.005738/1.165, allocations: 2.25 MB / 0.8288 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.165, allocations: 59.16 kB / 0.8288 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/1.165, allocations: 260.8 kB / 0.8291 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/1.165, allocations: 28.95 kB / 0.8291 GB, free: 476 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.165, allocations: 184.5 kB / 0.8293 GB, free: 320 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/1.166, allocations: 290.7 kB / 0.8296 GB, free: 64 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/1.166, allocations: 95.23 kB / 0.8297 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.166, allocations: 353.8 kB / 0.83 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/1.166, allocations: 280.5 kB / 0.8303 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/1.167, allocations: 409.9 kB / 0.8307 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/1.168, allocations: 0.7258 MB / 0.8314 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.168, allocations: 0 / 0.8314 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001395/1.169, allocations: 0.8088 MB / 0.8322 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/1.169, allocations: 8 kB / 0.8322 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.169, allocations: 4 kB / 0.8322 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/1.17, allocations: 66.11 kB / 0.8322 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/1.17, allocations: 98.72 kB / 0.8323 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06874/1.239, allocations: 17.02 MB / 0.8489 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/1.239, allocations: 23.84 kB / 0.849 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/1.239, allocations: 19.94 kB / 0.849 GB, free: 13.54 MB / 0.5919 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.0002755/1.24, allocations: 198.8 kB / 0.8492 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.603e-05/1.24, allocations: 43.75 kB / 0.8492 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/1.242, allocations: 1.588 MB / 0.8508 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.242, allocations: 13.62 kB / 0.8508 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.242, allocations: 0 / 0.8508 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001444/1.243, allocations: 1.171 MB / 0.8519 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/1.245, allocations: 1.556 MB / 0.8534 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.245, allocations: 1.203 kB / 0.8534 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/1.246, allocations: 79.31 kB / 0.8535 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002101/1.246, allocations: 44.67 kB / 0.8536 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/1.246, allocations: 7.812 kB / 0.8536 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/1.247, allocations: 1.318 MB / 0.8549 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.247, allocations: 3.984 kB / 0.8549 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/1.249, allocations: 1.204 MB / 0.856 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/1.249, allocations: 43.67 kB / 0.8561 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/1.249, allocations: 11.75 kB / 0.8561 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/1.249, allocations: 27.91 kB / 0.8561 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.249, allocations: 46.39 kB / 0.8562 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/1.249, allocations: 20.89 kB / 0.8562 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002671/1.25, allocations: 242.9 kB / 0.8564 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.25, allocations: 0 / 0.8564 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009417/1.259, allocations: 3.575 MB / 0.8599 GB, free: 3.977 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.01798/1.277, allocations: 6.256 MB / 0.866 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001761/1.279, allocations: 0.9143 MB / 0.8669 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.279, allocations: 4 kB / 0.8669 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008103/1.28, allocations: 478.7 kB / 0.8674 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.282, allocations: 393.4 kB / 0.8677 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/1.294, allocations: 6.403 MB / 0.874 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/1.295, allocations: 250.3 kB / 0.8742 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004521/1.295, allocations: 159.7 kB / 0.8744 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/1.295, allocations: 171.2 kB / 0.8745 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/1.295, allocations: 4 kB / 0.8745 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4357/1.731, allocations: 134.4 MB / 1.006 GB, free: 246.7 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.12/18.85, allocations: 10.73 kB / 1.006 GB, free: 246.7 MB / 0.7012 GB " [Timeout remaining time 641] (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: 23.039287709165365] Failed to read output from testmodel.py, exit status != 0: 19.052446546964347 19.065457912 18.100769351 Calling exit ...