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.001499/0.001499, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.001629/0.001629, allocations: 163.4 kB / 22.46 MB, free: 5.355 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.36/1.36, allocations: 177.2 MB / 202.8 MB, free: 9.18 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.04767/0.04767, allocations: 7.519 MB / 266.7 MB, free: 9.652 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.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 392.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.266e-05, allocations: 6.219 kB / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.2642/0.2643, allocations: 114.8 MB / 0.4952 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1093/0.3735, allocations: 98.69 MB / 0.5916 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004947/0.374, allocations: 7.938 kB / 0.5916 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.377, allocations: 1.268 MB / 0.5928 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.3807, allocations: 1.625 MB / 0.5944 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06965/0.4503, allocations: 31.86 MB / 0.6255 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001924/0.4522, allocations: 1.452 MB / 0.6269 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.4524, allocations: 85.72 kB / 0.627 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.4537, allocations: 0.8336 MB / 0.6278 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005344/0.4542, allocations: 339 kB / 0.6282 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.513e-05/0.4543, allocations: 44 kB / 0.6282 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2303/0.6846, allocations: 24.38 MB / 0.652 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.6848, allocations: 128.9 kB / 0.6521 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004351/0.6853, allocations: 220.7 kB / 0.6523 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03082/0.7161, allocations: 14.37 MB / 0.6664 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7161, allocations: 4 kB / 0.6664 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7161, allocations: 0 / 0.6664 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.7161, allocations: 0 / 0.6664 GB, free: 33.18 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.005479/0.7216, allocations: 2.577 MB / 0.6689 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.7216, allocations: 11.66 kB / 0.6689 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005645/0.7222, allocations: 91.42 kB / 0.669 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.7225, allocations: 280.5 kB / 0.6693 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.7226, allocations: 29.66 kB / 0.6693 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.7226, allocations: 35.8 kB / 0.6693 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.7238, allocations: 0.7616 MB / 0.6701 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.7238, allocations: 0.875 kB / 0.6701 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.7238, allocations: 15.28 kB / 0.6701 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.7238, allocations: 17.73 kB / 0.6701 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.725, allocations: 0.5538 MB / 0.6706 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.7267, allocations: 1.631 MB / 0.6722 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009838/0.7277, allocations: 490.9 kB / 0.6727 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/0.7281, allocations: 313.9 kB / 0.673 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1943/0.9225, allocations: 44.02 MB / 0.716 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.9225, allocations: 46.16 kB / 0.716 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=79): time 2.946e-06/0.9225, allocations: 0 / 0.716 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83): time 0.005666/0.9282, allocations: 2.235 MB / 0.7182 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.9282, allocations: 55.41 kB / 0.7183 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.9284, allocations: 231.5 kB / 0.7185 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.9284, allocations: 29.64 kB / 0.7185 GB, free: 10 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.9285, allocations: 193.6 kB / 0.7187 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.9286, allocations: 273.9 kB / 0.719 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.9287, allocations: 101.8 kB / 0.7191 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.9288, allocations: 348.5 kB / 0.7194 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.9293, allocations: 281.2 kB / 0.7197 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.9298, allocations: 405 kB / 0.72 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009819/0.9307, allocations: 0.726 MB / 0.7208 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9307, allocations: 0 / 0.7208 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001334/0.9321, allocations: 0.8113 MB / 0.7215 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.9321, allocations: 11.38 kB / 0.7216 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.9321, allocations: 4 kB / 0.7216 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002381/0.9323, allocations: 65.73 kB / 0.7216 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.9327, allocations: 97.97 kB / 0.7217 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07164/1.004, allocations: 16.38 MB / 0.7377 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/1.005, allocations: 33.42 kB / 0.7377 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/1.005, allocations: 23.92 kB / 0.7378 GB, free: 7.746 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.0003145/1.005, allocations: 185.9 kB / 0.7379 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/1.005, allocations: 43.7 kB / 0.738 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/1.008, allocations: 1.584 MB / 0.7395 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/1.008, allocations: 11.33 kB / 0.7395 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/1.008, allocations: 0 / 0.7395 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001613/1.009, allocations: 1.179 MB / 0.7407 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/1.012, allocations: 1.48 MB / 0.7421 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.012, allocations: 7.562 kB / 0.7422 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/1.012, allocations: 90.94 kB / 0.7422 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/1.012, allocations: 47.64 kB / 0.7423 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/1.012, allocations: 3.938 kB / 0.7423 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/1.013, allocations: 1.29 MB / 0.7435 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.013, allocations: 0 / 0.7435 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/1.015, allocations: 1.208 MB / 0.7447 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/1.016, allocations: 35.73 kB / 0.7448 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/1.016, allocations: 11.08 kB / 0.7448 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/1.016, allocations: 27.84 kB / 0.7448 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.016, allocations: 50.2 kB / 0.7448 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/1.016, allocations: 15.92 kB / 0.7449 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002521/1.016, allocations: 225.6 kB / 0.7451 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/1.016, allocations: 0 / 0.7451 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01023/1.027, allocations: 3.574 MB / 0.7486 GB, free: 14.31 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.01928/1.046, allocations: 4.884 MB / 0.7533 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002109/1.048, allocations: 0.9272 MB / 0.7542 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.048, allocations: 0 / 0.7542 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009664/1.049, allocations: 490.1 kB / 0.7547 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/1.051, allocations: 373.8 kB / 0.7551 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/1.053, allocations: 1.102 MB / 0.7561 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/1.053, allocations: 250.3 kB / 0.7564 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004442/1.054, allocations: 166.4 kB / 0.7565 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/1.054, allocations: 40.31 kB / 0.7566 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/1.054, allocations: 0 / 0.7566 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.3149/1.369, allocations: 126.4 MB / 0.88 GB, free: 305.4 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.471187632530928] Failed to read output from testmodel.py, exit status != 0: 1.3767955042421818 1.385588369 0.66728588 Calling exit ...