Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 207.6 MB / 231.4 MB, free: 3.113 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06503/0.06503, allocations: 9.155 MB / 292.6 MB, free: 6.066 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 78.08 kB / 409.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3796, allocations: 50.71 MB / 459.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.1909/0.5704, allocations: 142.9 MB / 0.5887 GB, free: 7.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.4266/0.997, allocations: 97.96 MB / 0.6843 GB, free: 32 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006944/0.9977, allocations: 8 kB / 0.6844 GB, free: 32 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003435/1.001, allocations: 1.551 MB / 0.6859 GB, free: 12 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003941/1.005, allocations: 1.832 MB / 0.6877 GB, free: 15.96 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.09657/1.102, allocations: 31.36 MB / 0.7183 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002334/1.104, allocations: 1.414 MB / 0.7197 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/1.104, allocations: 84.53 kB / 0.7197 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02066/1.125, allocations: 10.12 MB / 0.7296 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006593/1.126, allocations: 399.4 kB / 0.73 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.241e-05/1.126, allocations: 44 kB / 0.7301 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07552/1.201, allocations: 35.89 MB / 0.7651 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003869/1.202, allocations: 125.2 kB / 0.7652 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007442/1.202, allocations: 298.8 kB / 0.7655 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0561/1.258, allocations: 14.2 MB / 0.7794 GB, free: 6.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.258, allocations: 4 kB / 0.7794 GB, free: 6.145 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/1.258, allocations: 4 kB / 0.7794 GB, free: 6.141 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.879e-05/1.258, allocations: 0 / 0.7794 GB, free: 6.141 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.01072/1.269, allocations: 2.68 MB / 0.782 GB, free: 3.414 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.269, allocations: 8.031 kB / 0.782 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007714/1.27, allocations: 95.62 kB / 0.7821 GB, free: 3.312 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/1.271, allocations: 341.1 kB / 0.7824 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/1.271, allocations: 28.66 kB / 0.7824 GB, free: 2.914 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-05/1.271, allocations: 36 kB / 0.7825 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/1.272, allocations: 0.5971 MB / 0.7831 GB, free: 2.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/1.272, allocations: 7.281 kB / 0.7831 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/1.272, allocations: 12 kB / 0.7831 GB, free: 2.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/1.272, allocations: 19.81 kB / 0.7831 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/1.274, allocations: 0.5454 MB / 0.7836 GB, free: 1.691 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/1.277, allocations: 2.512 MB / 0.7861 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/1.278, allocations: 475.7 kB / 0.7865 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/1.278, allocations: 294.3 kB / 0.7868 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4841/1.762, allocations: 139 MB / 0.9226 GB, free: 200.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/1.762, allocations: 37.44 kB / 0.9226 GB, free: 200.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 3.497e-06/1.762, allocations: 0 / 0.9226 GB, free: 200.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005568/1.768, allocations: 2.347 MB / 0.9249 GB, free: 198 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/1.768, allocations: 59.41 kB / 0.9249 GB, free: 197.9 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/1.768, allocations: 248.7 kB / 0.9252 GB, free: 197.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/1.768, allocations: 33.7 kB / 0.9252 GB, free: 197.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/1.768, allocations: 198 kB / 0.9254 GB, free: 197.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/1.769, allocations: 275.3 kB / 0.9257 GB, free: 197.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/1.769, allocations: 98.11 kB / 0.9258 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/1.769, allocations: 354.5 kB / 0.9261 GB, free: 196.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/1.769, allocations: 276.2 kB / 0.9264 GB, free: 196.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/1.77, allocations: 402.2 kB / 0.9267 GB, free: 196.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008703/1.77, allocations: 0.7306 MB / 0.9275 GB, free: 195.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.77, allocations: 6.906 kB / 0.9275 GB, free: 195.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00123/1.772, allocations: 0.7846 MB / 0.9282 GB, free: 194.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.772, allocations: 8 kB / 0.9282 GB, free: 194.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/1.772, allocations: 6.906 kB / 0.9282 GB, free: 194.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/1.772, allocations: 69.55 kB / 0.9283 GB, free: 194.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/1.773, allocations: 123.9 kB / 0.9284 GB, free: 194.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0637/1.836, allocations: 19.09 MB / 0.9471 GB, free: 174.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/1.837, allocations: 27.97 kB / 0.9471 GB, free: 174.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/1.837, allocations: 20 kB / 0.9471 GB, free: 174.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0003102/1.837, allocations: 192.9 kB / 0.9473 GB, free: 174.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/1.837, allocations: 47.78 kB / 0.9473 GB, free: 174.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/1.839, allocations: 1.564 MB / 0.9489 GB, free: 172.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/1.839, allocations: 14.95 kB / 0.9489 GB, free: 172.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.839, allocations: 0 / 0.9489 GB, free: 172.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/1.84, allocations: 1.176 MB / 0.95 GB, free: 171.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/1.843, allocations: 1.633 MB / 0.9516 GB, free: 169.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.843, allocations: 4 kB / 0.9516 GB, free: 169.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/1.843, allocations: 75.88 kB / 0.9517 GB, free: 169.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/1.843, allocations: 109.6 kB / 0.9518 GB, free: 169.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/1.843, allocations: 7.984 kB / 0.9518 GB, free: 169.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/1.844, allocations: 1.985 MB / 0.9538 GB, free: 167.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.844, allocations: 160 / 0.9538 GB, free: 167.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/1.846, allocations: 1.254 MB / 0.955 GB, free: 166.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/1.846, allocations: 119.1 kB / 0.9551 GB, free: 166 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/1.846, allocations: 12 kB / 0.9551 GB, free: 166 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/1.847, allocations: 31.97 kB / 0.9551 GB, free: 166 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.847, allocations: 47.83 kB / 0.9552 GB, free: 165.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/1.847, allocations: 15.98 kB / 0.9552 GB, free: 165.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002278/1.847, allocations: 243 kB / 0.9554 GB, free: 165.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/1.847, allocations: 0 / 0.9554 GB, free: 165.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01067/1.858, allocations: 3.569 MB / 0.9589 GB, free: 162.6 MB / 0.6075 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 (38): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.01834/1.876, allocations: 4.64 MB / 0.9634 GB, free: 158.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002124/1.878, allocations: 0.944 MB / 0.9644 GB, free: 157.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.878, allocations: 4.062 kB / 0.9644 GB, free: 157.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007613/1.879, allocations: 471 kB / 0.9648 GB, free: 157 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/1.881, allocations: 408.7 kB / 0.9652 GB, free: 156.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/1.882, allocations: 1.175 MB / 0.9664 GB, free: 155.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/1.883, allocations: 0.8486 MB / 0.9672 GB, free: 154.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003587/1.883, allocations: 148.1 kB / 0.9673 GB, free: 154.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.371e-05/1.883, allocations: 43.44 kB / 0.9674 GB, free: 154.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.373e-06/1.883, allocations: 0 / 0.9674 GB, free: 154.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.1349/2.018, allocations: 126.7 MB / 1.091 GB, free: 27.54 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.236190387047827]