Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.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.0008212/0.0008212, allocations: 79.75 kB / 20.12 MB, free: 4.152 MB / 18.57 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.001449/0.001449, allocations: 160.5 kB / 23.55 MB, free: 0.7188 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.03/1.03, allocations: 177.2 MB / 204 MB, free: 5.41 MB / 186.7 MB " [Timeout remaining time 179] 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.04805/0.04805, allocations: 11.71 MB / 272.2 MB, free: 1.82 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.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.AmmoniaTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 1.25 kB / 291.6 MB, free: 17.49 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.586e-05, allocations: 2.812 kB / 291.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel): time 0.05343/0.05345, allocations: 62.2 MB / 353.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03507/0.08852, allocations: 47.41 MB / 401.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.08885, allocations: 7.938 kB / 401.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.08988, allocations: 490.2 kB / 401.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009677/0.09084, allocations: 0.6608 MB / 402.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05001/0.1409, allocations: 23.55 MB / 425.9 MB, free: 1.609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00188/0.1427, allocations: 1.507 MB / 427.4 MB, free: 100 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.143, allocations: 90.5 kB / 427.5 MB, free: 4 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007065/0.1501, allocations: 6.04 MB / 433.5 MB, free: 9.953 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000416/0.1505, allocations: 327 kB / 433.8 MB, free: 9.633 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.1505, allocations: 44 kB / 433.9 MB, free: 9.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2127/0.3632, allocations: 17.59 MB / 451.5 MB, free: 47.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.3634, allocations: 136.5 kB / 451.6 MB, free: 47.5 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006103/0.3641, allocations: 220.9 kB / 451.8 MB, free: 47.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02432/0.3884, allocations: 8.121 MB / 459.9 MB, free: 47.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3884, allocations: 0 / 459.9 MB, free: 47.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3884, allocations: 0 / 459.9 MB, free: 47.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.3884, allocations: 1.969 kB / 459.9 MB, free: 47.39 MB / 394.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.003172/0.3916, allocations: 1.689 MB / 461.6 MB, free: 46.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3916, allocations: 8.156 kB / 461.6 MB, free: 46.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.3919, allocations: 90.44 kB / 461.7 MB, free: 46.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3922, allocations: 239.4 kB / 462 MB, free: 46.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.3922, allocations: 33.72 kB / 462 MB, free: 46.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.3922, allocations: 31.47 kB / 462 MB, free: 46.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.3928, allocations: 0.5513 MB / 462.6 MB, free: 45.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3928, allocations: 3.938 kB / 462.6 MB, free: 45.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.3928, allocations: 12.97 kB / 462.6 MB, free: 45.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.3928, allocations: 15.34 kB / 462.6 MB, free: 45.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.3931, allocations: 221 kB / 462.8 MB, free: 45.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3943, allocations: 1.247 MB / 464.1 MB, free: 45.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.3946, allocations: 268.7 kB / 464.3 MB, free: 45.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/0.3947, allocations: 93.41 kB / 464.4 MB, free: 45.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05945/0.4542, allocations: 51.87 MB / 0.5042 GB, free: 21.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.4542, allocations: 39.62 kB / 0.5042 GB, free: 21.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 2.405e-06/0.4542, allocations: 0 / 0.5042 GB, free: 21.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=82): time 0.002781/0.457, allocations: 1.431 MB / 0.5056 GB, free: 19.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.457, allocations: 55.41 kB / 0.5057 GB, free: 19.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.4572, allocations: 218.4 kB / 0.5059 GB, free: 19.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.4572, allocations: 32.7 kB / 0.5059 GB, free: 19.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.4572, allocations: 184.9 kB / 0.5061 GB, free: 19.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.419e-05/0.4573, allocations: 277.7 kB / 0.5064 GB, free: 19.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/0.4574, allocations: 103.3 kB / 0.5065 GB, free: 19.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.4575, allocations: 355.1 kB / 0.5068 GB, free: 18.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.4576, allocations: 88.17 kB / 0.5069 GB, free: 18.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.4577, allocations: 186.7 kB / 0.5071 GB, free: 18.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.4579, allocations: 343.5 kB / 0.5074 GB, free: 18.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4579, allocations: 4 kB / 0.5074 GB, free: 18.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0004426/0.4584, allocations: 402 kB / 0.5078 GB, free: 17.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4584, allocations: 8 kB / 0.5078 GB, free: 17.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4584, allocations: 0 / 0.5078 GB, free: 17.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/0.4586, allocations: 78.11 kB / 0.5078 GB, free: 17.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.4593, allocations: 251.2 kB / 0.5081 GB, free: 17.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.462, allocations: 5.505 MB / 0.5135 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.4623, allocations: 18.98 kB / 0.5135 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.4623, allocations: 19.86 kB / 0.5135 GB, free: 11.97 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0001461/0.4624, allocations: 139.5 kB / 0.5136 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.4625, allocations: 39.78 kB / 0.5137 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.4642, allocations: 3.031 MB / 0.5166 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007939/0.465, allocations: 1.368 MB / 0.518 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.465, allocations: 4 kB / 0.518 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008178/0.4658, allocations: 1.657 MB / 0.5196 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.4674, allocations: 1.93 MB / 0.5215 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.4674, allocations: 3.984 kB / 0.5215 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.468, allocations: 188.1 kB / 0.5217 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.4681, allocations: 40.73 kB / 0.5217 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.4682, allocations: 19.31 kB / 0.5217 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005424/0.4687, allocations: 1.746 MB / 0.5234 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4687, allocations: 1.203 kB / 0.5234 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009975/0.4697, allocations: 1.447 MB / 0.5248 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.36e-05/0.4698, allocations: 75.28 kB / 0.5249 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.4698, allocations: 15.19 kB / 0.5249 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.47, allocations: 19.36 kB / 0.5249 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/0.4701, allocations: 55.45 kB / 0.525 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.4701, allocations: 15.48 kB / 0.525 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.697e-05/0.4702, allocations: 87.8 kB / 0.5251 GB, free: 0.875 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-08/0.4702, allocations: 0 / 0.5251 GB, free: 0.875 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003226/0.4734, allocations: 1.166 MB / 0.5262 GB, free: 15.75 MB / 410.7 MB 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: 12 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse5.phase,$cse6.phase,$cse7.phase,$cse9.sat.vap.phase,$cse9.sat.liq.phase,volume.medium.state.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 (56): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003947/0.4773, allocations: 1.925 MB / 0.5281 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.4785, allocations: 0.9385 MB / 0.529 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.4785, allocations: 11.09 kB / 0.529 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.4791, allocations: 0.5497 MB / 0.5296 GB, free: 12.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4801, allocations: 383.3 kB / 0.5299 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/0.4827, allocations: 1.527 MB / 0.5314 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.4829, allocations: 202 kB / 0.5316 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003575/0.4833, allocations: 124 kB / 0.5317 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/0.4837, allocations: 268.1 kB / 0.532 GB, free: 10.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4837, allocations: 0 / 0.532 GB, free: 10.34 MB / 410.7 MB Notification: Performance of Templates: time 0.04585/0.5295, allocations: 43 MB / 0.574 GB, free: 480 kB / 442.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.62188071385026]