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.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.001726/0.001726, allocations: 113 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.002174/0.002174, 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.502/1.502, allocations: 207.6 MB / 231.4 MB, free: 3.148 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.05/0.05, allocations: 9.147 MB / 292.6 MB, free: 6.109 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.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: 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.002199/0.002199, allocations: 74.39 kB / 409.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2657, allocations: 50.72 MB / 459.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.1524/0.4181, allocations: 129.5 MB / 0.5756 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3745/0.7926, allocations: 111.4 MB / 0.6843 GB, free: 32 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007247/0.7933, allocations: 8.156 kB / 0.6843 GB, free: 32 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.7965, allocations: 1.551 MB / 0.6859 GB, free: 12 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.8001, 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.08875/0.8888, allocations: 31.33 MB / 0.7183 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002324/0.8911, allocations: 1.41 MB / 0.7196 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.8914, allocations: 89.19 kB / 0.7197 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01883/0.9103, allocations: 10.12 MB / 0.7296 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007528/0.911, allocations: 394.7 kB / 0.73 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.9111, allocations: 44 kB / 0.73 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07112/0.9823, allocations: 35.86 MB / 0.765 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.9826, allocations: 126.3 kB / 0.7652 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006929/0.9833, allocations: 301.5 kB / 0.7654 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.05411/1.037, allocations: 14.2 MB / 0.7793 GB, free: 6.164 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.037, allocations: 3.375 kB / 0.7793 GB, free: 6.164 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/1.037, allocations: 0 / 0.7793 GB, free: 6.164 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.195e-05/1.037, allocations: 0 / 0.7793 GB, free: 6.164 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.008027/1.045, allocations: 2.679 MB / 0.7819 GB, free: 3.441 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.045, allocations: 8.031 kB / 0.7819 GB, free: 3.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006921/1.046, allocations: 87.62 kB / 0.782 GB, free: 3.348 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/1.047, allocations: 349.7 kB / 0.7824 GB, free: 2.969 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/1.047, allocations: 28.66 kB / 0.7824 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/1.047, allocations: 32 kB / 0.7824 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/1.048, allocations: 0.601 MB / 0.783 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/1.048, allocations: 0 / 0.783 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/1.048, allocations: 12 kB / 0.783 GB, free: 2.281 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/1.048, allocations: 26.17 kB / 0.783 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/1.05, allocations: 0.5454 MB / 0.7836 GB, free: 1.715 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/1.053, allocations: 2.466 MB / 0.786 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/1.054, allocations: 471.2 kB / 0.7864 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/1.055, allocations: 298 kB / 0.7867 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4338/1.489, allocations: 139 MB / 0.9224 GB, free: 200.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/1.489, allocations: 35.12 kB / 0.9225 GB, free: 200.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=77): time 2.575e-06/1.489, allocations: 0 / 0.9225 GB, free: 200.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=81): time 0.005347/1.494, allocations: 2.345 MB / 0.9248 GB, free: 198.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/1.494, allocations: 55.41 kB / 0.9248 GB, free: 198.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/1.494, allocations: 267.1 kB / 0.9251 GB, free: 197.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/1.494, allocations: 37.64 kB / 0.9251 GB, free: 197.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/1.494, allocations: 198.2 kB / 0.9253 GB, free: 197.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/1.494, allocations: 267.1 kB / 0.9256 GB, free: 197.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1.494, allocations: 102.1 kB / 0.9257 GB, free: 197.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.932e-05/1.495, allocations: 354.5 kB / 0.926 GB, free: 196.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/1.495, allocations: 278 kB / 0.9263 GB, free: 196.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/1.495, allocations: 390.4 kB / 0.9266 GB, free: 196.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008649/1.496, allocations: 0.7036 MB / 0.9273 GB, free: 195.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.496, allocations: 4 kB / 0.9273 GB, free: 195.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001192/1.497, allocations: 0.7954 MB / 0.9281 GB, free: 194.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.497, allocations: 8 kB / 0.9281 GB, free: 194.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.498, allocations: 4 kB / 0.9281 GB, free: 194.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/1.498, allocations: 57.62 kB / 0.9282 GB, free: 194.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000672/1.498, allocations: 149.7 kB / 0.9283 GB, free: 194.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06321/1.562, allocations: 19.68 MB / 0.9475 GB, free: 174.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/1.562, allocations: 32.06 kB / 0.9476 GB, free: 174.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/1.562, allocations: 16 kB / 0.9476 GB, free: 174.2 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.0002569/1.562, allocations: 194 kB / 0.9478 GB, free: 174 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.059e-05/1.562, allocations: 47.66 kB / 0.9478 GB, free: 173.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/1.564, allocations: 1.701 MB / 0.9495 GB, free: 172.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/1.564, allocations: 17.7 kB / 0.9495 GB, free: 172.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/1.564, allocations: 0 / 0.9495 GB, free: 172.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001179/1.565, allocations: 1.277 MB / 0.9507 GB, free: 170.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/1.567, allocations: 1.739 MB / 0.9524 GB, free: 169 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.567, allocations: 3.844 kB / 0.9524 GB, free: 169 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/1.568, allocations: 79.81 kB / 0.9525 GB, free: 168.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002888/1.568, allocations: 171.8 kB / 0.9527 GB, free: 168.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/1.568, allocations: 8 kB / 0.9527 GB, free: 168.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/1.569, allocations: 2.564 MB / 0.9552 GB, free: 166 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.569, allocations: 0 / 0.9552 GB, free: 166 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/1.571, allocations: 1.37 MB / 0.9565 GB, free: 164.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/1.571, allocations: 119.1 kB / 0.9566 GB, free: 164.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/1.571, allocations: 12.06 kB / 0.9566 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/1.571, allocations: 27.91 kB / 0.9567 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.571, allocations: 39.94 kB / 0.9567 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/1.571, allocations: 12 kB / 0.9567 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001887/1.571, allocations: 223.1 kB / 0.9569 GB, free: 164.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/1.571, allocations: 0 / 0.9569 GB, free: 164.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008895/1.58, allocations: 3.573 MB / 0.9604 GB, free: 161 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.01737/1.598, allocations: 4.63 MB / 0.9649 GB, free: 156.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002358/1.6, allocations: 0.9981 MB / 0.9659 GB, free: 155.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.6, allocations: 4 kB / 0.9659 GB, free: 155.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006586/1.601, allocations: 487.3 kB / 0.9664 GB, free: 155.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/1.602, allocations: 402.7 kB / 0.9668 GB, free: 155 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/1.604, allocations: 1.202 MB / 0.9679 GB, free: 153.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/1.604, allocations: 0.8565 MB / 0.9688 GB, free: 152.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003325/1.604, allocations: 135.2 kB / 0.9689 GB, free: 152.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.792e-05/1.605, allocations: 39.44 kB / 0.9689 GB, free: 152.7 MB / 0.6075 GB Notification: Performance of SimCode: time 8.51e-07/1.605, allocations: 0 / 0.9689 GB, free: 152.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.1574/1.762, allocations: 127.1 MB / 1.093 GB, free: 25.52 MB / 0.6075 GB " [Timeout remaining time 658] 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: 18.694083490408957]