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.001891/0.001891, allocations: 81.53 kB / 20.8 MB, free: 3.66 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.002044/0.002044, allocations: 165 kB / 24.22 MB, free: 248 kB / 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 0.9268/0.9268, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.04243/0.04243, allocations: 11.41 MB / 272.6 MB, free: 2.188 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 1.512e-06/1.512e-06, allocations: 0 / 291.8 MB, free: 17.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.324e-05, allocations: 3.094 kB / 291.8 MB, free: 17.72 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.AmmoniaTestModel): time 0.04349/0.0435, allocations: 62.1 MB / 353.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0323/0.0758, allocations: 47.41 MB / 401.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.07612, allocations: 11.94 kB / 401.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.07723, allocations: 490.1 kB / 401.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008196/0.07805, allocations: 0.6569 MB / 402.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04613/0.1242, allocations: 23.55 MB / 426 MB, free: 2.539 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.1256, allocations: 1.515 MB / 427.5 MB, free: 1.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.1258, allocations: 87.52 kB / 427.6 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005656/0.1315, allocations: 6.04 MB / 433.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003301/0.1318, allocations: 331 kB / 433.9 MB, free: 10.55 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.1318, allocations: 44 kB / 434 MB, free: 10.51 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1863/0.3182, allocations: 17.58 MB / 451.6 MB, free: 47.87 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.3184, allocations: 132 kB / 451.7 MB, free: 47.87 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005027/0.3189, allocations: 224.2 kB / 451.9 MB, free: 47.87 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.3379, allocations: 8.123 MB / 460 MB, free: 47.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3379, allocations: 1.031 kB / 460 MB, free: 47.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3379, allocations: 0 / 460 MB, free: 47.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3379, allocations: 0 / 460 MB, free: 47.76 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.001643/0.3395, allocations: 1.693 MB / 461.7 MB, free: 46.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3396, allocations: 12.06 kB / 461.7 MB, free: 46.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.3398, allocations: 91.19 kB / 461.8 MB, free: 46.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.34, allocations: 224.7 kB / 462 MB, free: 46.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.34, allocations: 36.03 kB / 462.1 MB, free: 46.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.3401, allocations: 39.25 kB / 462.1 MB, free: 46.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.3405, allocations: 0.5454 MB / 462.7 MB, free: 46.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3405, allocations: 2.734 kB / 462.7 MB, free: 46.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.3406, allocations: 17.48 kB / 462.7 MB, free: 46.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.3406, allocations: 19.05 kB / 462.7 MB, free: 46.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.3408, allocations: 219.3 kB / 462.9 MB, free: 46.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009392/0.3418, allocations: 1.247 MB / 464.2 MB, free: 45.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.3421, allocations: 274.5 kB / 464.4 MB, free: 45.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.706e-05/0.3422, allocations: 86.77 kB / 464.5 MB, free: 45.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05373/0.3959, allocations: 51.87 MB / 0.5043 GB, free: 22.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.3959, allocations: 41.69 kB / 0.5043 GB, free: 22.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 3.767e-06/0.3959, allocations: 3.281 kB / 0.5043 GB, free: 22.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=82): time 0.002725/0.3987, allocations: 1.432 MB / 0.5057 GB, free: 20.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.3987, allocations: 55.41 kB / 0.5058 GB, free: 20.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3988, allocations: 214.4 kB / 0.506 GB, free: 20.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3988, allocations: 33.33 kB / 0.506 GB, free: 20.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.3989, allocations: 187.8 kB / 0.5062 GB, free: 20.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.601e-05/0.399, allocations: 270.4 kB / 0.5064 GB, free: 20.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.399, allocations: 109.7 kB / 0.5065 GB, free: 20.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.3991, allocations: 362 kB / 0.5069 GB, free: 19.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.3992, allocations: 87.98 kB / 0.507 GB, free: 19.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.3993, allocations: 186 kB / 0.5072 GB, free: 19.51 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.3995, allocations: 335.9 kB / 0.5075 GB, free: 19.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3995, allocations: 0 / 0.5075 GB, free: 19.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0003666/0.3999, allocations: 403.2 kB / 0.5079 GB, free: 18.81 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3999, allocations: 11.28 kB / 0.5079 GB, free: 18.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3999, allocations: 2.688 kB / 0.5079 GB, free: 18.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.4001, allocations: 77.03 kB / 0.5079 GB, free: 18.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/0.4008, allocations: 260.6 kB / 0.5082 GB, free: 18.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.4033, allocations: 5.499 MB / 0.5136 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.4034, allocations: 15.8 kB / 0.5136 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.4034, allocations: 19.81 kB / 0.5136 GB, free: 12.99 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.0001019/0.4035, allocations: 139.5 kB / 0.5137 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.4036, allocations: 43.56 kB / 0.5138 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.4051, allocations: 3.039 MB / 0.5167 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006526/0.4057, allocations: 1.352 MB / 0.5181 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4057, allocations: 0 / 0.5181 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007073/0.4064, allocations: 1.671 MB / 0.5197 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.4077, allocations: 1.932 MB / 0.5216 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4077, allocations: 0 / 0.5216 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.4082, allocations: 184.5 kB / 0.5218 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.4083, allocations: 40.62 kB / 0.5218 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.4083, allocations: 15.8 kB / 0.5218 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004412/0.4087, allocations: 1.745 MB / 0.5235 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4087, allocations: 0 / 0.5235 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.4096, allocations: 1.459 MB / 0.5249 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.4096, allocations: 74.38 kB / 0.525 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.4096, allocations: 9.625 kB / 0.525 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4098, allocations: 23.86 kB / 0.525 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.4098, allocations: 63.06 kB / 0.5251 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4098, allocations: 7.75 kB / 0.5251 GB, free: 1.961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.165e-05/0.4099, allocations: 88.67 kB / 0.5252 GB, free: 1.887 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.4099, allocations: 0 / 0.5252 GB, free: 1.887 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001685/0.4116, allocations: 1.033 MB / 0.5262 GB, free: 0.8945 MB / 394.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.002041/0.4136, allocations: 1.718 MB / 0.5279 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.415, allocations: 1.093 MB / 0.5289 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.415, allocations: 4 kB / 0.529 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.4155, allocations: 0.566 MB / 0.5295 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000834/0.4163, allocations: 382.6 kB / 0.5299 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.4181, allocations: 1.525 MB / 0.5314 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.4182, allocations: 199.9 kB / 0.5315 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002844/0.4185, allocations: 143.9 kB / 0.5317 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.4189, allocations: 261.2 kB / 0.5319 GB, free: 11.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4189, allocations: 0 / 0.5319 GB, free: 11.51 MB / 410.7 MB Notification: Performance of Templates: time 0.04024/0.4591, allocations: 41.06 MB / 0.572 GB, free: 3.586 MB / 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.45343791693449]