Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.002026/0.002026, allocations: 84.73 kB / 19.43 MB, free: 360 kB / 13.93 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.002648/0.002648, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.508/1.508, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 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.0551/0.0551, allocations: 7.511 MB / 267.1 MB, free: 6.004 MB / 250.7 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.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.982e-05, allocations: 3.719 kB / 338 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.3299/0.3299, allocations: 114.9 MB / 452.9 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1416/0.4714, allocations: 98.65 MB / 0.5386 GB, free: 4.465 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.4721, allocations: 7.938 kB / 0.5386 GB, free: 4.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003719/0.4758, allocations: 1.245 MB / 0.5398 GB, free: 3.207 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.4803, allocations: 1.59 MB / 0.5414 GB, free: 1.609 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2862/0.7664, allocations: 31.74 MB / 0.5724 GB, free: 14.43 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001748/0.7682, allocations: 1.425 MB / 0.5738 GB, free: 14.1 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.7685, allocations: 80.75 kB / 0.5738 GB, free: 14.09 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01824/0.7867, allocations: 10.31 MB / 0.5839 GB, free: 13.6 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007866/0.7875, allocations: 342.4 kB / 0.5842 GB, free: 13.56 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.639e-05/0.7876, allocations: 42.09 kB / 0.5843 GB, free: 13.56 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04454/0.8321, allocations: 24.72 MB / 0.6084 GB, free: 11.28 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.8324, allocations: 132.3 kB / 0.6086 GB, free: 11.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005185/0.8329, allocations: 223.3 kB / 0.6088 GB, free: 11.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03578/0.8687, allocations: 14.5 MB / 0.6229 GB, free: 3.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.8687, allocations: 4 kB / 0.6229 GB, free: 3.926 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.8687, allocations: 0 / 0.6229 GB, free: 3.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.8687, allocations: 0 / 0.6229 GB, free: 3.926 MB / 426.7 MB 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.005972/0.8747, allocations: 2.591 MB / 0.6255 GB, free: 1.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.8747, allocations: 8.625 kB / 0.6255 GB, free: 1.402 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007474/0.8755, allocations: 177.6 kB / 0.6256 GB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.8759, allocations: 282 kB / 0.6259 GB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.876, allocations: 29.47 kB / 0.6259 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/0.876, allocations: 42.39 kB / 0.626 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.8773, allocations: 0.7591 MB / 0.6267 GB, free: 340 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.8774, allocations: 6.141 kB / 0.6267 GB, free: 336 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.8774, allocations: 17.62 kB / 0.6267 GB, free: 328 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.8774, allocations: 23.28 kB / 0.6268 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.8788, allocations: 0.5566 MB / 0.6273 GB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.8817, allocations: 1.643 MB / 0.6289 GB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.8829, allocations: 478 kB / 0.6294 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/0.8835, allocations: 319.2 kB / 0.6297 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2466/1.13, allocations: 44.1 MB / 0.6727 GB, free: 5.586 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/1.13, allocations: 38.47 kB / 0.6728 GB, free: 5.543 MB / 474.7 MB Notification: Performance of pre-optimization done (n=78): time 3.406e-06/1.13, allocations: 0 / 0.6728 GB, free: 5.543 MB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.007939/1.138, allocations: 2.281 MB / 0.675 GB, free: 3.832 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/1.138, allocations: 55.41 kB / 0.6751 GB, free: 3.766 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/1.139, allocations: 232.4 kB / 0.6753 GB, free: 3.562 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/1.139, allocations: 33.64 kB / 0.6753 GB, free: 3.527 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/1.139, allocations: 197.4 kB / 0.6755 GB, free: 3.359 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/1.139, allocations: 273.7 kB / 0.6758 GB, free: 3.125 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/1.139, allocations: 100.7 kB / 0.6759 GB, free: 3.055 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002356/1.139, allocations: 352.3 kB / 0.6762 GB, free: 2.719 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/1.14, allocations: 278.3 kB / 0.6765 GB, free: 2.523 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007726/1.141, allocations: 400.3 kB / 0.6768 GB, free: 2.102 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/1.142, allocations: 0.7049 MB / 0.6775 GB, free: 1.367 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.142, allocations: 0 / 0.6775 GB, free: 1.367 MB / 474.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001987/1.144, allocations: 0.8248 MB / 0.6783 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.144, allocations: 12.34 kB / 0.6783 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.144, allocations: 4 kB / 0.6784 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/1.145, allocations: 65.67 kB / 0.6784 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/1.146, allocations: 126.1 kB / 0.6785 GB, free: 356 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0816/1.227, allocations: 18.94 MB / 0.697 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/1.228, allocations: 31.94 kB / 0.6971 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/1.228, allocations: 16 kB / 0.6971 GB, free: 12.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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.0004023/1.228, allocations: 199.6 kB / 0.6973 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/1.228, allocations: 51.7 kB / 0.6973 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/1.231, allocations: 1.712 MB / 0.699 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.409e-05/1.231, allocations: 14.19 kB / 0.699 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.231, allocations: 4.609 kB / 0.699 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002233/1.234, allocations: 1.287 MB / 0.7003 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/1.237, allocations: 1.59 MB / 0.7018 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.237, allocations: 0 / 0.7018 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/1.237, allocations: 87.09 kB / 0.7019 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003872/1.238, allocations: 110.7 kB / 0.702 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/1.238, allocations: 4 kB / 0.702 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/1.24, allocations: 1.871 MB / 0.7038 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.24, allocations: 0 / 0.7038 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/1.243, allocations: 1.339 MB / 0.7051 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/1.243, allocations: 47.61 kB / 0.7052 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.053e-05/1.243, allocations: 16.06 kB / 0.7052 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/1.243, allocations: 23.97 kB / 0.7052 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/1.244, allocations: 43.92 kB / 0.7053 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/1.244, allocations: 15.98 kB / 0.7053 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003322/1.244, allocations: 197.2 kB / 0.7055 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/1.244, allocations: 0 / 0.7055 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008364/1.252, allocations: 2.434 MB / 0.7079 GB, free: 1.543 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse4.phase,$cse5.phase,$cse6.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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.01516/1.268, allocations: 3.752 MB / 0.7115 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00288/1.27, allocations: 0.9784 MB / 0.7125 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.27, allocations: 0 / 0.7125 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/1.272, allocations: 483.5 kB / 0.7129 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/1.274, allocations: 390.1 kB / 0.7133 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/1.276, allocations: 1.145 MB / 0.7144 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/1.277, allocations: 250.3 kB / 0.7147 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005152/1.277, allocations: 136.6 kB / 0.7148 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/1.277, allocations: 44.5 kB / 0.7148 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/1.277, allocations: 0 / 0.7148 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of Templates: time 0.2541/1.531, allocations: 78.26 MB / 0.7913 GB, free: 266.2 MB / 0.5417 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.335041624959558]