Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.001744/0.001744, allocations: 88.72 kB / 19.44 MB, free: 356 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.002163/0.002163, 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.458/1.458, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.05302/0.05302, allocations: 7.518 MB / 267.1 MB, free: 6.016 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.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.268e-05, allocations: 2.312 kB / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.317/0.317, allocations: 114.9 MB / 452.9 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1249/0.4419, allocations: 98.63 MB / 0.5386 GB, free: 4.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006527/0.4426, allocations: 7.938 kB / 0.5386 GB, free: 4.492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004032/0.4466, allocations: 1.253 MB / 0.5398 GB, free: 3.234 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.4512, allocations: 1.59 MB / 0.5414 GB, free: 1.637 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.281/0.7321, allocations: 31.76 MB / 0.5724 GB, free: 14.57 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.7339, allocations: 1.429 MB / 0.5738 GB, free: 14.24 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.7341, allocations: 81.41 kB / 0.5739 GB, free: 14.23 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.01663/0.7507, allocations: 10.42 MB / 0.584 GB, free: 13.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.7512, allocations: 341 kB / 0.5843 GB, free: 13.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.395e-05/0.7513, allocations: 42.16 kB / 0.5844 GB, free: 13.69 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04231/0.7936, allocations: 24.83 MB / 0.6086 GB, free: 11.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.7938, allocations: 129.9 kB / 0.6088 GB, free: 11.05 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000479/0.7943, allocations: 220.1 kB / 0.609 GB, free: 11.02 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03453/0.8288, allocations: 14.55 MB / 0.6232 GB, free: 3.562 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.8288, allocations: 3.562 kB / 0.6232 GB, free: 3.562 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.8288, allocations: 0 / 0.6232 GB, free: 3.562 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.8288, allocations: 0 / 0.6232 GB, free: 3.562 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.005644/0.8345, allocations: 2.583 MB / 0.6257 GB, free: 1.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.8345, allocations: 8.625 kB / 0.6257 GB, free: 1.047 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006619/0.8352, allocations: 179.8 kB / 0.6259 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.8356, allocations: 283.7 kB / 0.6262 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.8356, allocations: 28.84 kB / 0.6262 GB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.8357, allocations: 46.61 kB / 0.6262 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.8369, allocations: 0.7543 MB / 0.627 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.8369, allocations: 3.984 kB / 0.627 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.837, allocations: 16.5 kB / 0.627 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.837, allocations: 22.84 kB / 0.627 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.8384, allocations: 0.5564 MB / 0.6275 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.8411, allocations: 1.654 MB / 0.6292 GB, free: 14.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.8424, allocations: 463.9 kB / 0.6296 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.843, allocations: 322.3 kB / 0.6299 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2312/1.074, allocations: 44.11 MB / 0.673 GB, free: 5.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/1.074, allocations: 38.5 kB / 0.673 GB, free: 5.188 MB / 474.7 MB Notification: Performance of pre-optimization done (n=77): time 2.815e-06/1.074, allocations: 0 / 0.673 GB, free: 5.188 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.00683/1.081, allocations: 2.292 MB / 0.6753 GB, free: 3.469 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/1.081, allocations: 55.41 kB / 0.6753 GB, free: 3.402 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/1.082, allocations: 236.6 kB / 0.6755 GB, free: 3.195 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/1.082, allocations: 32.45 kB / 0.6756 GB, free: 3.164 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/1.082, allocations: 195.1 kB / 0.6758 GB, free: 2.996 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/1.082, allocations: 266.8 kB / 0.676 GB, free: 2.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/1.082, allocations: 101.1 kB / 0.6761 GB, free: 2.699 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004794/1.083, allocations: 348 kB / 0.6764 GB, free: 2.367 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/1.083, allocations: 292.2 kB / 0.6767 GB, free: 2.188 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007195/1.084, allocations: 400.6 kB / 0.6771 GB, free: 1.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/1.085, allocations: 0.7235 MB / 0.6778 GB, free: 1.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.085, allocations: 2.125 kB / 0.6778 GB, free: 1.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001823/1.087, allocations: 0.8326 MB / 0.6786 GB, free: 200 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/1.087, allocations: 8.375 kB / 0.6786 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.087, allocations: 4 kB / 0.6786 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003457/1.088, allocations: 69.67 kB / 0.6787 GB, free: 112 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008297/1.088, allocations: 144.8 kB / 0.6788 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07836/1.167, allocations: 19.2 MB / 0.6976 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/1.167, allocations: 27.97 kB / 0.6976 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/1.167, allocations: 19.94 kB / 0.6976 GB, free: 12.26 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 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.0003569/1.168, allocations: 201 kB / 0.6978 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/1.168, allocations: 51.72 kB / 0.6979 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/1.171, allocations: 1.747 MB / 0.6996 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/1.171, allocations: 15.97 kB / 0.6996 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.171, allocations: 0 / 0.6996 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0021/1.173, allocations: 1.325 MB / 0.7009 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/1.176, allocations: 1.644 MB / 0.7025 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.176, allocations: 0 / 0.7025 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/1.176, allocations: 75.5 kB / 0.7026 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/1.177, allocations: 170.4 kB / 0.7027 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/1.177, allocations: 16.06 kB / 0.7027 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/1.179, allocations: 2.443 MB / 0.7051 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.179, allocations: 352 / 0.7051 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/1.182, allocations: 1.431 MB / 0.7065 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.182, allocations: 39.72 kB / 0.7066 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/1.182, allocations: 8 kB / 0.7066 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/1.183, allocations: 27.97 kB / 0.7066 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.183, allocations: 39.92 kB / 0.7066 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/1.183, allocations: 15.98 kB / 0.7067 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002892/1.183, allocations: 199.1 kB / 0.7068 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/1.183, allocations: 5.75 kB / 0.7068 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007603/1.191, allocations: 2.438 MB / 0.7092 GB, free: 24 kB / 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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01309/1.204, allocations: 3.771 MB / 0.7129 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002769/1.206, allocations: 1.001 MB / 0.7139 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.206, allocations: 0 / 0.7139 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009957/1.207, allocations: 499.3 kB / 0.7144 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/1.209, allocations: 375.7 kB / 0.7147 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/1.212, allocations: 1.146 MB / 0.7158 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/1.212, allocations: 250.2 kB / 0.7161 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004146/1.212, allocations: 133.4 kB / 0.7162 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/1.212, allocations: 40.5 kB / 0.7162 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of SimCode: time 1.452e-06/1.212, allocations: 0 / 0.7162 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of Templates: time 0.2281/1.441, allocations: 78.43 MB / 0.7928 GB, free: 264.3 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.585033818962984]