Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.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.0007258/0.0007258, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.001853, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007155/0.0007155, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009921/0.001708, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9997/0.9997, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08667/1.086, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04552/0.04552, allocations: 11.72 MB / 255.9 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004208/0.04973, allocations: 3.088 MB / 259 MB, free: 0.6914 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 260.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.678e-06/1.09e-05, allocations: 5.406 kB / 260.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.1564/0.1564, allocations: 62.41 MB / 322.7 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0328/0.1892, allocations: 48.78 MB / 371.5 MB, free: 3.883 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.1895, allocations: 11.94 kB / 371.5 MB, free: 3.871 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000866/0.1904, allocations: 478.5 kB / 372 MB, free: 3.402 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000772/0.1911, allocations: 0.6647 MB / 372.6 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04109/0.2322, allocations: 23.79 MB / 396.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.2337, allocations: 1.503 MB / 397.9 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.2339, allocations: 93.75 kB / 398 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004917/0.2388, allocations: 4.925 MB / 402.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.2392, allocations: 327 kB / 403.3 MB, free: 4.004 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.2392, allocations: 44 kB / 403.3 MB, free: 3.961 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02603/0.2652, allocations: 18.39 MB / 421.7 MB, free: 1.539 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.2654, allocations: 103.7 kB / 421.8 MB, free: 1.438 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004756/0.2659, allocations: 195.7 kB / 422 MB, free: 1.246 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1552/0.4211, allocations: 7.104 MB / 429.1 MB, free: 49.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.4211, allocations: 1.344 kB / 429.1 MB, free: 49.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4211, allocations: 0 / 429.1 MB, free: 49.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.4211, allocations: 0 / 429.1 MB, free: 49.06 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.003787/0.4249, allocations: 2.504 MB / 431.6 MB, free: 47.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.4249, allocations: 8.438 kB / 431.6 MB, free: 47.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.4252, allocations: 94.72 kB / 431.7 MB, free: 47.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.4255, allocations: 240.1 kB / 431.9 MB, free: 47.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.4255, allocations: 29.09 kB / 432 MB, free: 47.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.4255, allocations: 39.62 kB / 432 MB, free: 47.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000537/0.4261, allocations: 0.5542 MB / 432.6 MB, free: 47.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.4261, allocations: 4.562 kB / 432.6 MB, free: 47.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.4261, allocations: 18.53 kB / 432.6 MB, free: 47.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.4261, allocations: 20.17 kB / 432.6 MB, free: 47.51 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.4265, allocations: 238.5 kB / 432.8 MB, free: 47.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02743/0.4539, allocations: 24.91 MB / 457.7 MB, free: 45.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.4543, allocations: 287.8 kB / 458 MB, free: 45.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.4544, allocations: 92.75 kB / 458.1 MB, free: 45.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07514/0.5295, allocations: 70.94 MB / 0.5167 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.5296, allocations: 43.31 kB / 0.5167 GB, free: 9.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 2.534e-06/0.5296, allocations: 0 / 0.5167 GB, free: 9.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=85): time 0.00321/0.5328, allocations: 1.482 MB / 0.5182 GB, free: 7.684 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.5328, allocations: 58.41 kB / 0.5182 GB, free: 7.617 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.533, allocations: 229.8 kB / 0.5184 GB, free: 7.414 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.533, allocations: 29.39 kB / 0.5185 GB, free: 7.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.533, allocations: 182.1 kB / 0.5186 GB, free: 7.211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.5332, allocations: 288.5 kB / 0.5189 GB, free: 6.973 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.5333, allocations: 112.9 kB / 0.519 GB, free: 6.895 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.5333, allocations: 355.4 kB / 0.5193 GB, free: 6.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.058e-05/0.5334, allocations: 88.05 kB / 0.5194 GB, free: 6.484 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.5336, allocations: 213.5 kB / 0.5196 GB, free: 6.246 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.5339, allocations: 380.1 kB / 0.52 GB, free: 5.867 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5339, allocations: 8 kB / 0.52 GB, free: 5.859 MB / 410.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004458/0.5343, allocations: 431.9 kB / 0.5204 GB, free: 5.469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5343, allocations: 4.469 kB / 0.5204 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5343, allocations: 4 kB / 0.5204 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002232/0.5346, allocations: 102 kB / 0.5205 GB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.5348, allocations: 106.3 kB / 0.5206 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/0.5379, allocations: 4.395 MB / 0.5249 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.5383, allocations: 11.98 kB / 0.5249 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.5383, allocations: 16 kB / 0.5249 GB, free: 0.7578 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (51): * Single equations (assignments): 46 * 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.0001972/0.5385, allocations: 150.3 kB / 0.5251 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.5386, allocations: 39.91 kB / 0.5251 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.5407, allocations: 3.146 MB / 0.5282 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009901/0.5417, allocations: 1.345 MB / 0.5295 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5417, allocations: 0 / 0.5295 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/0.5428, allocations: 1.654 MB / 0.5311 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.5448, allocations: 1.901 MB / 0.533 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5448, allocations: 0 / 0.533 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.545, allocations: 107.5 kB / 0.5331 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.654e-05/0.5451, allocations: 75.27 kB / 0.5332 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001317/0.5452, allocations: 48.78 kB / 0.5332 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.5452, allocations: 12 kB / 0.5332 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007632/0.546, allocations: 1.172 MB / 0.5344 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.546, allocations: 3.984 kB / 0.5344 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.5471, allocations: 1.46 MB / 0.5358 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.5472, allocations: 15.95 kB / 0.5358 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.5474, allocations: 12 kB / 0.5358 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.5474, allocations: 43.02 kB / 0.5359 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.5475, allocations: 15.98 kB / 0.5359 GB, free: 5.887 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.107e-05/0.5475, allocations: 102.9 kB / 0.536 GB, free: 5.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5475, allocations: 0 / 0.536 GB, free: 5.793 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004044/0.5516, allocations: 1.253 MB / 0.5372 GB, free: 4.539 MB / 426.7 MB 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: 11 (volume.medium.sat.liq.phase,volume.medium.sat.vap.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 (58): * Single equations (assignments): 53 * 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.005101/0.5567, allocations: 2.235 MB / 0.5394 GB, free: 2.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.5578, allocations: 0.9547 MB / 0.5403 GB, free: 1.566 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-05/0.5578, allocations: 8 kB / 0.5403 GB, free: 1.559 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.5583, allocations: 0.582 MB / 0.5409 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.5598, allocations: 1.525 MB / 0.5424 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007343/0.5672, allocations: 1.547 MB / 0.5439 GB, free: 13.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.5673, allocations: 211.8 kB / 0.5441 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003522/0.5677, allocations: 171 kB / 0.5443 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.5681, allocations: 273.1 kB / 0.5445 GB, free: 13.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.914e-06/0.5681, allocations: 4 kB / 0.5445 GB, free: 13.04 MB / 442.7 MB Notification: Performance of Templates: time 0.1727/0.7408, allocations: 44.59 MB / 0.5881 GB, free: 136.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.539656162261963]