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.001432/0.001432, 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.001659/0.001659, allocations: 217.3 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.797 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.05344/0.05344, allocations: 9.132 MB / 321.6 MB, free: 10.31 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 0.002226/0.002226, allocations: 59.91 kB / 447 MB, free: 136 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1259, allocations: 54.95 MB / 0.4902 GB, free: 9.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.418/0.5439, allocations: 115 MB / 0.6025 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1175/0.6614, allocations: 98.71 MB / 0.6989 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005934/0.662, allocations: 7.938 kB / 0.6989 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003279/0.6653, allocations: 1.253 MB / 0.7001 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.6693, allocations: 1.587 MB / 0.7017 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3751/1.044, allocations: 31.35 MB / 0.7323 GB, free: 21.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00224/1.047, allocations: 1.431 MB / 0.7337 GB, free: 21.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/1.047, allocations: 82.03 kB / 0.7338 GB, free: 21.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/1.049, allocations: 0.6305 MB / 0.7344 GB, free: 21.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/1.049, allocations: 373.9 kB / 0.7347 GB, free: 21.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.926e-05/1.049, allocations: 42 kB / 0.7348 GB, free: 21.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04951/1.099, allocations: 24.18 MB / 0.7584 GB, free: 21.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/1.099, allocations: 120.2 kB / 0.7585 GB, free: 21.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007423/1.1, allocations: 255.2 kB / 0.7587 GB, free: 21.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04346/1.143, allocations: 12.2 MB / 0.7707 GB, free: 21.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.143, allocations: 0 / 0.7707 GB, free: 21.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.274e-06/1.143, allocations: 3.594 kB / 0.7707 GB, free: 21.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.079e-05/1.143, allocations: 0 / 0.7707 GB, free: 21.14 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.007765/1.151, allocations: 2.589 MB / 0.7732 GB, free: 19.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.151, allocations: 7.188 kB / 0.7732 GB, free: 19.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006284/1.152, allocations: 92.05 kB / 0.7733 GB, free: 19.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/1.152, allocations: 286.2 kB / 0.7736 GB, free: 19.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/1.152, allocations: 32.09 kB / 0.7736 GB, free: 19.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/1.152, allocations: 32.81 kB / 0.7736 GB, free: 19.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/1.154, allocations: 0.7648 MB / 0.7744 GB, free: 19.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/1.154, allocations: 0 / 0.7744 GB, free: 19.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/1.154, allocations: 13.34 kB / 0.7744 GB, free: 19.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/1.154, allocations: 18.06 kB / 0.7744 GB, free: 19.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/1.155, allocations: 0.5553 MB / 0.7749 GB, free: 19.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/1.157, allocations: 1.639 MB / 0.7765 GB, free: 18.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/1.158, allocations: 487.2 kB / 0.777 GB, free: 18.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000474/1.158, allocations: 311 kB / 0.7773 GB, free: 18.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1983/1.357, allocations: 44.04 MB / 0.8203 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/1.357, allocations: 45.14 kB / 0.8204 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 3.006e-06/1.357, allocations: 4 kB / 0.8204 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.006348/1.363, allocations: 2.235 MB / 0.8225 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/1.363, allocations: 59.16 kB / 0.8226 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/1.363, allocations: 234.5 kB / 0.8228 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/1.363, allocations: 29.64 kB / 0.8229 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/1.364, allocations: 192.4 kB / 0.823 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/1.364, allocations: 286.7 kB / 0.8233 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/1.364, allocations: 96.8 kB / 0.8234 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.364, allocations: 347.3 kB / 0.8237 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/1.365, allocations: 283.9 kB / 0.824 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/1.365, allocations: 409.7 kB / 0.8244 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/1.366, allocations: 0.724 MB / 0.8251 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.366, allocations: 5.031 kB / 0.8251 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001564/1.368, allocations: 0.8052 MB / 0.8259 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.368, allocations: 4 kB / 0.8259 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.368, allocations: 4 kB / 0.8259 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/1.368, allocations: 64.02 kB / 0.826 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/1.369, allocations: 106.3 kB / 0.8261 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0736/1.442, allocations: 16.37 MB / 0.8421 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/1.443, allocations: 31.66 kB / 0.8421 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/1.443, allocations: 23.88 kB / 0.8421 GB, free: 1.75 MB / 0.5762 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.0003407/1.443, allocations: 198.7 kB / 0.8423 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/1.443, allocations: 43.72 kB / 0.8423 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/1.445, allocations: 1.583 MB / 0.8439 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/1.445, allocations: 9.156 kB / 0.8439 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/1.445, allocations: 0 / 0.8439 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001609/1.447, allocations: 1.184 MB / 0.845 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/1.449, allocations: 1.485 MB / 0.8465 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/1.449, allocations: 4 kB / 0.8465 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/1.45, allocations: 78.75 kB / 0.8466 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/1.45, allocations: 52.05 kB / 0.8466 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/1.45, allocations: 8.328 kB / 0.8466 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/1.451, allocations: 1.284 MB / 0.8479 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.451, allocations: 3.938 kB / 0.8479 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/1.453, allocations: 1.215 MB / 0.8491 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/1.453, allocations: 39.75 kB / 0.8491 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.07e-05/1.453, allocations: 16.48 kB / 0.8491 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/1.454, allocations: 29.08 kB / 0.8492 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.454, allocations: 46.91 kB / 0.8492 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/1.454, allocations: 10.75 kB / 0.8492 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002711/1.454, allocations: 221.4 kB / 0.8494 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/1.454, allocations: 0 / 0.8494 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01032/1.464, allocations: 3.574 MB / 0.8529 GB, free: 8.293 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.01862/1.483, allocations: 4.502 MB / 0.8573 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002042/1.485, allocations: 0.9141 MB / 0.8582 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.485, allocations: 1.562 kB / 0.8582 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000922/1.486, allocations: 484.2 kB / 0.8587 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/1.488, allocations: 381.7 kB / 0.859 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/1.49, allocations: 1.179 MB / 0.8602 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/1.49, allocations: 255.7 kB / 0.8604 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004631/1.491, allocations: 155.1 kB / 0.8606 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/1.491, allocations: 43 kB / 0.8606 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/1.491, allocations: 0 / 0.8606 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of Templates: time 0.4209/1.912, allocations: 126.9 MB / 0.9845 GB, free: 333.8 MB / 0.7012 GB " [Timeout remaining time 658] 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: 13.290652632713318] Failed to read output from testmodel.py, exit status != 0: 1.9204082246869802 1.933165659 0.786947332 Calling exit ...