Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.001371/0.001371, allocations: 106.5 kB / 17.6 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.001497/0.001497, allocations: 190.7 kB / 20.78 MB, free: 1.543 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.664/1.664, allocations: 207.6 MB / 231.4 MB, free: 3.203 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.05252/0.05252, allocations: 9.159 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.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") [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.002166/0.002166, allocations: 70.97 kB / 409.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3331, allocations: 50.71 MB / 459.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.1656/0.4987, allocations: 128.2 MB / 0.5744 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.422/0.9207, allocations: 109.9 MB / 0.6817 GB, free: 60 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006548/0.9213, allocations: 4.812 kB / 0.6817 GB, free: 60 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.9236, allocations: 1.201 MB / 0.6828 GB, free: 48 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.9258, allocations: 1.26 MB / 0.6841 GB, free: 24 kB / 478.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.08272/1.009, allocations: 30.47 MB / 0.7138 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002252/1.011, allocations: 1.378 MB / 0.7152 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/1.011, allocations: 81.86 kB / 0.7152 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02222/1.033, allocations: 12.23 MB / 0.7272 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006471/1.034, allocations: 392.8 kB / 0.7276 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.882e-05/1.034, allocations: 44 kB / 0.7276 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06869/1.103, allocations: 33.62 MB / 0.7604 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/1.103, allocations: 122.4 kB / 0.7606 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006537/1.104, allocations: 309.4 kB / 0.7608 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.04583/1.149, allocations: 14.14 MB / 0.7746 GB, free: 9.297 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.149, allocations: 0 / 0.7746 GB, free: 9.297 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/1.149, allocations: 0 / 0.7746 GB, free: 9.297 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.117e-05/1.149, allocations: 0 / 0.7746 GB, free: 9.297 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.006532/1.156, allocations: 2.679 MB / 0.7773 GB, free: 6.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.156, allocations: 12.03 kB / 0.7773 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006538/1.157, allocations: 88.5 kB / 0.7774 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/1.157, allocations: 350 kB / 0.7777 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/1.157, allocations: 24.66 kB / 0.7777 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/1.157, allocations: 36 kB / 0.7778 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/1.159, allocations: 0.5971 MB / 0.7783 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/1.159, allocations: 0 / 0.7783 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/1.159, allocations: 20 kB / 0.7784 GB, free: 5.402 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/1.159, allocations: 14.34 kB / 0.7784 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/1.16, allocations: 0.5454 MB / 0.7789 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/1.163, allocations: 2.552 MB / 0.7814 GB, free: 2.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/1.164, allocations: 479.8 kB / 0.7819 GB, free: 1.594 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/1.165, allocations: 307 kB / 0.7821 GB, free: 1.289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4466/1.611, allocations: 139 MB / 0.9179 GB, free: 203.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/1.611, allocations: 38.84 kB / 0.9179 GB, free: 203.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 2.925e-06/1.611, allocations: 0 / 0.9179 GB, free: 203.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.005501/1.617, allocations: 2.346 MB / 0.9202 GB, free: 201.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/1.617, allocations: 59.39 kB / 0.9203 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/1.617, allocations: 249 kB / 0.9205 GB, free: 201.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/1.617, allocations: 33.7 kB / 0.9205 GB, free: 201.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/1.617, allocations: 194.6 kB / 0.9207 GB, free: 200.9 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/1.617, allocations: 276.1 kB / 0.921 GB, free: 200.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/1.618, allocations: 98.11 kB / 0.9211 GB, free: 200.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.399e-05/1.618, allocations: 350.8 kB / 0.9214 GB, free: 200.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/1.618, allocations: 269.3 kB / 0.9217 GB, free: 200 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/1.618, allocations: 404.1 kB / 0.922 GB, free: 199.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008921/1.619, allocations: 0.6946 MB / 0.9227 GB, free: 198.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.619, allocations: 0 / 0.9227 GB, free: 198.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0012/1.621, allocations: 0.7946 MB / 0.9235 GB, free: 198 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.621, allocations: 10.62 kB / 0.9235 GB, free: 198 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.621, allocations: 7.281 kB / 0.9235 GB, free: 198 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/1.621, allocations: 57.69 kB / 0.9236 GB, free: 197.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/1.621, allocations: 109.6 kB / 0.9237 GB, free: 197.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06383/1.685, allocations: 17.2 MB / 0.9405 GB, free: 180.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/1.685, allocations: 28.03 kB / 0.9405 GB, free: 180.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/1.686, allocations: 20 kB / 0.9405 GB, free: 180.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * 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 prepare postOptimizeDAE: time 0.0002611/1.686, allocations: 186.4 kB / 0.9407 GB, free: 179.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/1.686, allocations: 43.72 kB / 0.9407 GB, free: 179.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/1.687, allocations: 1.544 MB / 0.9422 GB, free: 178.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/1.688, allocations: 18.02 kB / 0.9423 GB, free: 178.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/1.688, allocations: 0 / 0.9423 GB, free: 178.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001155/1.689, allocations: 1.14 MB / 0.9434 GB, free: 177 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/1.691, allocations: 1.591 MB / 0.9449 GB, free: 175.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.691, allocations: 0 / 0.9449 GB, free: 175.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/1.691, allocations: 83.88 kB / 0.945 GB, free: 175.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/1.691, allocations: 40.81 kB / 0.945 GB, free: 175.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/1.691, allocations: 15.92 kB / 0.9451 GB, free: 175.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009426/1.692, allocations: 1.425 MB / 0.9465 GB, free: 173.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.692, allocations: 0 / 0.9465 GB, free: 173.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/1.694, allocations: 1.177 MB / 0.9476 GB, free: 172.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/1.694, allocations: 115 kB / 0.9477 GB, free: 172.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/1.694, allocations: 8 kB / 0.9477 GB, free: 172.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/1.694, allocations: 39.91 kB / 0.9478 GB, free: 172.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.694, allocations: 47.88 kB / 0.9478 GB, free: 172.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/1.694, allocations: 15.98 kB / 0.9478 GB, free: 172.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002045/1.695, allocations: 239.1 kB / 0.9481 GB, free: 172 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/1.695, allocations: 0 / 0.9481 GB, free: 172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008509/1.703, allocations: 3.573 MB / 0.9515 GB, free: 168.9 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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01733/1.72, allocations: 4.614 MB / 0.956 GB, free: 164.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001729/1.722, allocations: 0.8961 MB / 0.9569 GB, free: 163.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.722, allocations: 0 / 0.9569 GB, free: 163.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007269/1.723, allocations: 475.5 kB / 0.9574 GB, free: 163.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/1.725, allocations: 386.7 kB / 0.9577 GB, free: 163 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/1.726, allocations: 1.157 MB / 0.9589 GB, free: 161.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/1.726, allocations: 0.8526 MB / 0.9597 GB, free: 160.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003478/1.727, allocations: 155.2 kB / 0.9599 GB, free: 160.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/1.727, allocations: 43.44 kB / 0.9599 GB, free: 160.7 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/1.727, allocations: 0 / 0.9599 GB, free: 160.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.1248/1.852, allocations: 126.2 MB / 1.083 GB, free: 34.39 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.448095394298434]