Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.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.001384/0.001384, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.001335/0.001335, allocations: 186 kB / 20.78 MB, free: 1.547 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.639/1.639, allocations: 207.6 MB / 231.4 MB, free: 3.164 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.05336/0.05336, allocations: 9.154 MB / 292.6 MB, free: 6.062 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.CarbondioxideTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel") [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.002184/0.002184, allocations: 78.02 kB / 409.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3157, allocations: 50.71 MB / 459.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.1631/0.4788, allocations: 129.6 MB / 0.5756 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4554/0.9342, allocations: 111.4 MB / 0.6844 GB, free: 28 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.9352, allocations: 5.219 kB / 0.6844 GB, free: 28 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004328/0.9396, allocations: 1.552 MB / 0.686 GB, free: 8 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004967/0.9445, allocations: 1.836 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.1004/1.045, allocations: 31.94 MB / 0.7189 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002997/1.048, allocations: 1.408 MB / 0.7203 GB, free: 40 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/1.048, allocations: 94 kB / 0.7204 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02236/1.071, allocations: 11.94 MB / 0.7321 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006529/1.071, allocations: 395.6 kB / 0.7324 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.036e-05/1.071, allocations: 48 kB / 0.7325 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0773/1.149, allocations: 37.53 MB / 0.7691 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/1.149, allocations: 117.7 kB / 0.7693 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007086/1.15, allocations: 310.3 kB / 0.7695 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05083/1.201, allocations: 14.56 MB / 0.7838 GB, free: 1.711 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.201, allocations: 0 / 0.7838 GB, free: 1.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/1.201, allocations: 0 / 0.7838 GB, free: 1.711 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.031e-05/1.201, allocations: 0 / 0.7838 GB, free: 1.711 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.008472/1.209, allocations: 2.677 MB / 0.7864 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.209, allocations: 12.03 kB / 0.7864 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007379/1.21, allocations: 87.62 kB / 0.7865 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/1.211, allocations: 349.8 kB / 0.7868 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/1.211, allocations: 24.66 kB / 0.7868 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/1.211, allocations: 40 kB / 0.7869 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/1.212, allocations: 0.5971 MB / 0.7875 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/1.212, allocations: 4 kB / 0.7875 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/1.212, allocations: 12 kB / 0.7875 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/1.212, allocations: 14.34 kB / 0.7875 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.214, allocations: 0.5532 MB / 0.788 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/1.217, allocations: 2.465 MB / 0.7904 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/1.218, allocations: 463.2 kB / 0.7909 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/1.219, allocations: 310 kB / 0.7912 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4472/1.666, allocations: 139 MB / 0.9269 GB, free: 196.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/1.666, allocations: 30.56 kB / 0.9269 GB, free: 196.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=77): time 3.086e-06/1.666, allocations: 0 / 0.9269 GB, free: 196.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=81): time 0.005377/1.672, allocations: 2.351 MB / 0.9292 GB, free: 193.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/1.672, allocations: 55.41 kB / 0.9293 GB, free: 193.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/1.672, allocations: 264.6 kB / 0.9295 GB, free: 193.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/1.672, allocations: 29.7 kB / 0.9296 GB, free: 193.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/1.672, allocations: 193.4 kB / 0.9297 GB, free: 193.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/1.672, allocations: 282.4 kB / 0.93 GB, free: 193 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/1.672, allocations: 98.06 kB / 0.9301 GB, free: 192.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.853e-05/1.672, allocations: 354.8 kB / 0.9304 GB, free: 192.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/1.673, allocations: 276.3 kB / 0.9307 GB, free: 192.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004801/1.673, allocations: 397.3 kB / 0.9311 GB, free: 191.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008818/1.674, allocations: 0.6923 MB / 0.9318 GB, free: 191.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.674, allocations: 0 / 0.9318 GB, free: 191.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001222/1.675, allocations: 0.795 MB / 0.9325 GB, free: 190.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.675, allocations: 11.94 kB / 0.9326 GB, free: 190.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.675, allocations: 3.984 kB / 0.9326 GB, free: 190.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/1.676, allocations: 66.53 kB / 0.9326 GB, free: 190.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/1.676, allocations: 143.5 kB / 0.9328 GB, free: 190.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06723/1.744, allocations: 22.96 MB / 0.9552 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/1.744, allocations: 32 kB / 0.9552 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/1.744, allocations: 19.94 kB / 0.9552 GB, free: 166.5 MB / 0.6075 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.0002436/1.744, allocations: 190.1 kB / 0.9554 GB, free: 166.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/1.744, allocations: 51.7 kB / 0.9555 GB, free: 166.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/1.746, allocations: 1.702 MB / 0.9571 GB, free: 164.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.746, allocations: 19.5 kB / 0.9571 GB, free: 164.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.746, allocations: 0 / 0.9571 GB, free: 164.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/1.747, allocations: 1.28 MB / 0.9584 GB, free: 163.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/1.749, allocations: 1.75 MB / 0.9601 GB, free: 161.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.749, allocations: 0 / 0.9601 GB, free: 161.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/1.75, allocations: 71.94 kB / 0.9602 GB, free: 161.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002992/1.75, allocations: 166.3 kB / 0.9603 GB, free: 161.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/1.75, allocations: 15.98 kB / 0.9603 GB, free: 161 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/1.751, allocations: 2.561 MB / 0.9628 GB, free: 158.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.751, allocations: 2.344 kB / 0.9628 GB, free: 158.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/1.753, allocations: 1.37 MB / 0.9642 GB, free: 156.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/1.753, allocations: 117.5 kB / 0.9643 GB, free: 156.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.279e-05/1.753, allocations: 8 kB / 0.9643 GB, free: 156.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/1.753, allocations: 27.97 kB / 0.9643 GB, free: 156.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.753, allocations: 44 kB / 0.9644 GB, free: 156.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/1.753, allocations: 11.98 kB / 0.9644 GB, free: 156.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001869/1.754, allocations: 227.1 kB / 0.9646 GB, free: 156.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/1.754, allocations: 0 / 0.9646 GB, free: 156.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00852/1.762, allocations: 3.572 MB / 0.9681 GB, free: 153.4 MB / 0.6075 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 ($cse7.phase,$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 (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.01927/1.781, allocations: 4.821 MB / 0.9728 GB, free: 149 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002291/1.784, allocations: 1.012 MB / 0.9738 GB, free: 148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.784, allocations: 7.938 kB / 0.9738 GB, free: 148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007075/1.784, allocations: 483.3 kB / 0.9743 GB, free: 147.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/1.786, allocations: 396.5 kB / 0.9746 GB, free: 147.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/1.788, allocations: 1.181 MB / 0.9758 GB, free: 145.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/1.788, allocations: 0.8526 MB / 0.9766 GB, free: 145 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003534/1.788, allocations: 138.5 kB / 0.9768 GB, free: 144.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-05/1.788, allocations: 39.44 kB / 0.9768 GB, free: 144.8 MB / 0.6075 GB Notification: Performance of SimCode: time 7.51e-07/1.788, allocations: 0 / 0.9768 GB, free: 144.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.1287/1.917, allocations: 127.2 MB / 1.101 GB, free: 17.46 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 22.294292933307588]