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.001354/0.001354, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001506/0.001506, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.828 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.04912/0.04912, allocations: 9.144 MB / 321.6 MB, free: 10.25 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.001918/0.001918, allocations: 67.91 kB / 446.6 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1063, allocations: 54.94 MB / 0.4897 GB, free: 9.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3382/0.4445, allocations: 113.9 MB / 0.601 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1035/0.548, allocations: 97.14 MB / 0.6958 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005987/0.5486, allocations: 11.94 kB / 0.6959 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.5509, allocations: 0.9268 MB / 0.6968 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.5532, allocations: 1.097 MB / 0.6978 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3177/0.8709, allocations: 30.42 MB / 0.7275 GB, free: 24.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.8724, allocations: 1.384 MB / 0.7289 GB, free: 24.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.8726, allocations: 82.75 kB / 0.729 GB, free: 24.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01781/0.8904, allocations: 12.21 MB / 0.7409 GB, free: 23.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005321/0.8909, allocations: 369.8 kB / 0.7413 GB, free: 23.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.891, allocations: 42 kB / 0.7413 GB, free: 23.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03865/0.9296, allocations: 23.64 MB / 0.7644 GB, free: 23.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.9299, allocations: 118.9 kB / 0.7645 GB, free: 23.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005734/0.9305, allocations: 260.3 kB / 0.7647 GB, free: 23.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03074/0.9612, allocations: 12.31 MB / 0.7768 GB, free: 23.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.9612, allocations: 3.25 kB / 0.7768 GB, free: 23.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9612, allocations: 0 / 0.7768 GB, free: 23.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.9612, allocations: 0 / 0.7768 GB, free: 23.43 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.006659/0.9679, allocations: 2.588 MB / 0.7793 GB, free: 21.87 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.9679, allocations: 8.406 kB / 0.7793 GB, free: 21.87 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.088e-05/0.968, allocations: 86.92 kB / 0.7794 GB, free: 21.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000586/0.9686, allocations: 92.22 kB / 0.7795 GB, free: 21.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.9691, allocations: 281.7 kB / 0.7797 GB, free: 21.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.9691, allocations: 30.97 kB / 0.7798 GB, free: 21.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.9691, allocations: 33.44 kB / 0.7798 GB, free: 21.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.9703, allocations: 0.7626 MB / 0.7805 GB, free: 21.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.9703, allocations: 3.188 kB / 0.7805 GB, free: 21.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.9703, allocations: 18.12 kB / 0.7806 GB, free: 21.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.9703, allocations: 17.23 kB / 0.7806 GB, free: 21.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.9715, allocations: 0.5495 MB / 0.7811 GB, free: 21.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.9732, allocations: 1.71 MB / 0.7828 GB, free: 20.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009785/0.9742, allocations: 490.9 kB / 0.7833 GB, free: 20.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.9746, allocations: 312.7 kB / 0.7836 GB, free: 19.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1889/1.164, allocations: 44.04 MB / 0.8266 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/1.164, allocations: 42.58 kB / 0.8266 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 3.467e-06/1.164, allocations: 0 / 0.8266 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.006332/1.17, allocations: 2.231 MB / 0.8288 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/1.17, allocations: 63.16 kB / 0.8288 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/1.17, allocations: 260.7 kB / 0.8291 GB, free: 348 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/1.17, allocations: 32.7 kB / 0.8291 GB, free: 316 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/1.17, allocations: 188.5 kB / 0.8293 GB, free: 156 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/1.171, allocations: 282.8 kB / 0.8296 GB, free: 15.91 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/1.171, allocations: 96.75 kB / 0.8297 GB, free: 15.84 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.171, allocations: 353.8 kB / 0.83 GB, free: 15.5 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/1.172, allocations: 276.9 kB / 0.8303 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005924/1.172, allocations: 413.3 kB / 0.8307 GB, free: 15.02 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/1.173, allocations: 0.7327 MB / 0.8314 GB, free: 14.5 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.173, allocations: 4 kB / 0.8314 GB, free: 14.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001543/1.175, allocations: 0.8049 MB / 0.8322 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.175, allocations: 7.984 kB / 0.8322 GB, free: 13.94 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.175, allocations: 4 kB / 0.8322 GB, free: 13.93 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/1.175, allocations: 60.88 kB / 0.8322 GB, free: 13.88 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/1.176, allocations: 102.9 kB / 0.8323 GB, free: 13.79 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0692/1.245, allocations: 17 MB / 0.8489 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/1.245, allocations: 35.66 kB / 0.849 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/1.245, allocations: 19.81 kB / 0.849 GB, free: 13.39 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.0003059/1.246, allocations: 195.5 kB / 0.8492 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/1.246, allocations: 43.72 kB / 0.8492 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/1.248, allocations: 1.582 MB / 0.8508 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/1.248, allocations: 18.05 kB / 0.8508 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.248, allocations: 0 / 0.8508 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001526/1.249, allocations: 1.179 MB / 0.8519 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/1.252, allocations: 1.552 MB / 0.8534 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.252, allocations: 4 kB / 0.8534 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/1.252, allocations: 82.5 kB / 0.8535 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/1.252, allocations: 48.14 kB / 0.8536 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/1.252, allocations: 7.5 kB / 0.8536 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/1.253, allocations: 1.308 MB / 0.8549 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.253, allocations: 8.094 kB / 0.8549 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/1.255, allocations: 1.205 MB / 0.856 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/1.256, allocations: 42.73 kB / 0.8561 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/1.256, allocations: 13.25 kB / 0.8561 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/1.256, allocations: 29.91 kB / 0.8561 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.256, allocations: 43.61 kB / 0.8562 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/1.256, allocations: 19.78 kB / 0.8562 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002613/1.256, allocations: 237.4 kB / 0.8564 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/1.256, allocations: 4.062 kB / 0.8564 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009914/1.266, allocations: 3.573 MB / 0.8599 GB, free: 3.828 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.02231/1.289, allocations: 6.255 MB / 0.866 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00203/1.291, allocations: 0.9147 MB / 0.8669 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.291, allocations: 0.875 kB / 0.8669 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009102/1.291, allocations: 482.3 kB / 0.8674 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/1.293, allocations: 388.2 kB / 0.8677 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/1.308, allocations: 6.41 MB / 0.874 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/1.308, allocations: 244.9 kB / 0.8742 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004837/1.309, allocations: 167.1 kB / 0.8744 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/1.309, allocations: 173 kB / 0.8746 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of SimCode: time 1.182e-06/1.309, allocations: 0 / 0.8746 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4595/1.769, allocations: 134.4 MB / 1.006 GB, free: 247 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.77/18.54, allocations: 5.938 kB / 1.006 GB, free: 247 MB / 0.7013 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_EthanolTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.202851681038737] Failed to read output from testmodel.py, exit status != 0: 18.736775177996606 18.758133606 17.792933785 Calling exit ...