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.001266/0.001266, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001357/0.001357, allocations: 158.2 kB / 22.45 MB, free: 5.375 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.357/1.357, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.04861/0.04861, allocations: 7.517 MB / 266.7 MB, free: 9.645 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: translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 392.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.452e-05, allocations: 9.734 kB / 392.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.2601/0.2601, allocations: 113.7 MB / 0.4941 GB, free: 32 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.106/0.3661, allocations: 97.14 MB / 0.589 GB, free: 116 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.3666, allocations: 11.94 kB / 0.589 GB, free: 104 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.3688, allocations: 0.9373 MB / 0.5899 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.3709, allocations: 1.116 MB / 0.591 GB, free: 14.04 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06698/0.4379, allocations: 30.95 MB / 0.6212 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001777/0.4397, allocations: 1.397 MB / 0.6226 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.4399, allocations: 81.78 kB / 0.6227 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01981/0.4597, allocations: 12.59 MB / 0.635 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005135/0.4602, allocations: 335 kB / 0.6353 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.083e-05/0.4603, allocations: 40 kB / 0.6353 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2294/0.6897, allocations: 23.8 MB / 0.6586 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.6899, allocations: 131.7 kB / 0.6587 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.6903, allocations: 221.2 kB / 0.6589 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03007/0.7204, allocations: 14.48 MB / 0.6731 GB, free: 38.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7204, allocations: 0.7188 kB / 0.6731 GB, free: 38.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7204, allocations: 0 / 0.6731 GB, free: 38.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.7204, allocations: 1.422 kB / 0.6731 GB, free: 38.08 MB / 0.4981 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.005025/0.7254, allocations: 2.587 MB / 0.6756 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.7254, allocations: 10.09 kB / 0.6756 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005736/0.726, allocations: 90.77 kB / 0.6757 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.7263, allocations: 272 kB / 0.6759 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.7264, allocations: 32.88 kB / 0.676 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.7264, allocations: 38.67 kB / 0.676 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.7276, allocations: 0.7579 MB / 0.6768 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.7276, allocations: 3.719 kB / 0.6768 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.7276, allocations: 22.34 kB / 0.6768 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.7276, allocations: 18.31 kB / 0.6768 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.7288, allocations: 0.5568 MB / 0.6773 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.7305, allocations: 1.623 MB / 0.6789 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.7315, allocations: 488.1 kB / 0.6794 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.732, allocations: 321.3 kB / 0.6797 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1903/0.9223, allocations: 44.02 MB / 0.7227 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.9223, allocations: 34.66 kB / 0.7227 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=79): time 2.905e-06/0.9223, allocations: 0 / 0.7227 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83): time 0.005371/0.9277, allocations: 2.24 MB / 0.7249 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.9277, allocations: 58.88 kB / 0.725 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.9279, allocations: 227.9 kB / 0.7252 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.9279, allocations: 37.52 kB / 0.7252 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.928, allocations: 189.2 kB / 0.7254 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.9281, allocations: 274.9 kB / 0.7257 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.9282, allocations: 101.1 kB / 0.7258 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.9282, allocations: 354 kB / 0.7261 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/0.9287, allocations: 272.8 kB / 0.7264 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.9292, allocations: 409.2 kB / 0.7267 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.9302, allocations: 0.7244 MB / 0.7274 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9302, allocations: 0 / 0.7274 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001276/0.9314, allocations: 0.815 MB / 0.7282 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.9315, allocations: 8 kB / 0.7283 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.9315, allocations: 4 kB / 0.7283 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.9317, allocations: 63.42 kB / 0.7283 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/0.9321, allocations: 99.03 kB / 0.7284 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07145/1.004, allocations: 16.97 MB / 0.745 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/1.004, allocations: 31.88 kB / 0.745 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/1.004, allocations: 16 kB / 0.745 GB, free: 5.051 MB / 0.5137 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.0002838/1.004, allocations: 198.9 kB / 0.7452 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/1.004, allocations: 39.77 kB / 0.7453 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/1.006, allocations: 1.579 MB / 0.7468 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/1.007, allocations: 14.27 kB / 0.7468 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/1.007, allocations: 4 kB / 0.7468 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001547/1.008, allocations: 1.177 MB / 0.748 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/1.01, allocations: 1.481 MB / 0.7494 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.01, allocations: 3.938 kB / 0.7494 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/1.011, allocations: 90.12 kB / 0.7495 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/1.011, allocations: 48.44 kB / 0.7495 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/1.011, allocations: 11 kB / 0.7496 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/1.012, allocations: 1.291 MB / 0.7508 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.012, allocations: 4.031 kB / 0.7508 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/1.014, allocations: 1.208 MB / 0.752 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/1.014, allocations: 35.73 kB / 0.752 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/1.014, allocations: 11.89 kB / 0.752 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/1.014, allocations: 27.34 kB / 0.7521 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.015, allocations: 50.55 kB / 0.7521 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/1.015, allocations: 19.92 kB / 0.7521 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002236/1.015, allocations: 217.3 kB / 0.7523 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.015, allocations: 0 / 0.7523 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008611/1.023, allocations: 3.575 MB / 0.7558 GB, free: 11.61 MB / 0.5294 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.01781/1.041, allocations: 4.979 MB / 0.7607 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00192/1.043, allocations: 0.9275 MB / 0.7616 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.043, allocations: 0 / 0.7616 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009621/1.044, allocations: 481.2 kB / 0.7621 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.046, allocations: 368 kB / 0.7624 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/1.048, allocations: 1.101 MB / 0.7635 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/1.048, allocations: 250.3 kB / 0.7637 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003851/1.049, allocations: 160 kB / 0.7639 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/1.049, allocations: 40.44 kB / 0.7639 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/1.049, allocations: 0 / 0.7639 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of Templates: time 0.31/1.359, allocations: 126.4 MB / 0.8874 GB, free: 277.3 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.087660748511553] Failed to read output from testmodel.py, exit status != 0: 1.3662492223083973 1.374816494 0.652266018 Calling exit ...