Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.001057/0.001057, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001586/0.002642, allocations: 443.8 kB / 10.29 MB, free: 404 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.001016/0.001016, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002449, allocations: 475.6 kB / 11.64 MB, free: 2.531 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.9065/0.9065, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0822/0.9887, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.04501/0.04501, allocations: 11.71 MB / 255.6 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007732/0.05274, allocations: 3.08 MB / 258.7 MB, free: 0.8477 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.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 260 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.523e-05, allocations: 2.312 kB / 260 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.1614/0.1614, allocations: 61.78 MB / 321.8 MB, free: 5.645 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02957/0.191, allocations: 48.59 MB / 370.4 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.1912, allocations: 11.94 kB / 370.4 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007805/0.192, allocations: 474.5 kB / 370.9 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006881/0.1927, allocations: 0.6686 MB / 371.5 MB, free: 3.77 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04807/0.2407, allocations: 23.77 MB / 395.3 MB, free: 11.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001535/0.2423, allocations: 1.491 MB / 396.8 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.2424, allocations: 89.73 kB / 396.9 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/0.2466, allocations: 4.445 MB / 401.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.2469, allocations: 327 kB / 401.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.247, allocations: 40 kB / 401.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0272/0.2742, allocations: 17.99 MB / 419.7 MB, free: 3.504 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.2743, allocations: 95.67 kB / 419.8 MB, free: 3.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003592/0.2747, allocations: 195.7 kB / 420 MB, free: 3.219 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1491/0.4238, allocations: 7.102 MB / 427.1 MB, free: 54.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.624e-05/0.4238, allocations: 0.5625 kB / 427.1 MB, free: 54.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4238, allocations: 0 / 427.1 MB, free: 54.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.4239, allocations: 2.938 kB / 427.1 MB, free: 54.28 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.004426/0.4283, allocations: 2.508 MB / 429.6 MB, free: 53.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4283, allocations: 9.406 kB / 429.6 MB, free: 53.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.4286, allocations: 92.56 kB / 429.7 MB, free: 53.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.429, allocations: 242.2 kB / 429.9 MB, free: 53.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.429, allocations: 27.41 kB / 429.9 MB, free: 53.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.4291, allocations: 37.69 kB / 430 MB, free: 53.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/0.4298, allocations: 0.5597 MB / 430.5 MB, free: 52.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.4298, allocations: 4.812 kB / 430.5 MB, free: 52.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.4299, allocations: 17.56 kB / 430.6 MB, free: 52.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.4299, allocations: 16.44 kB / 430.6 MB, free: 52.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.4304, allocations: 241.8 kB / 430.8 MB, free: 52.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02799/0.4584, allocations: 24.85 MB / 455.7 MB, free: 50.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.4589, allocations: 289 kB / 455.9 MB, free: 50.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.459, allocations: 89.62 kB / 456 MB, free: 50.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07229/0.5312, allocations: 70.77 MB / 0.5145 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.5313, allocations: 41.06 kB / 0.5145 GB, free: 14.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 3.035e-06/0.5313, allocations: 0 / 0.5145 GB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=85): time 0.003104/0.5344, allocations: 1.471 MB / 0.5159 GB, free: 12.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.5344, allocations: 55.41 kB / 0.516 GB, free: 12.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.5346, allocations: 214.3 kB / 0.5162 GB, free: 12.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.5346, allocations: 29.7 kB / 0.5162 GB, free: 12.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.5347, allocations: 188.4 kB / 0.5164 GB, free: 12.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.5348, allocations: 286.9 kB / 0.5167 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.5349, allocations: 114.2 kB / 0.5168 GB, free: 11.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.535, allocations: 363 kB / 0.5171 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-05/0.535, allocations: 88.3 kB / 0.5172 GB, free: 11.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.5352, allocations: 209.2 kB / 0.5174 GB, free: 11.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.5355, allocations: 381.2 kB / 0.5178 GB, free: 10.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5355, allocations: 0 / 0.5178 GB, free: 10.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004356/0.5359, allocations: 439.6 kB / 0.5182 GB, free: 10.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.5359, allocations: 8 kB / 0.5182 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5359, allocations: 0 / 0.5182 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.5361, allocations: 99.98 kB / 0.5183 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.5363, allocations: 113.6 kB / 0.5184 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.5391, allocations: 4.377 MB / 0.5227 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.5392, allocations: 12 kB / 0.5227 GB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.5392, allocations: 28.02 kB / 0.5227 GB, free: 5.637 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.0001219/0.5394, allocations: 139.3 kB / 0.5229 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.5394, allocations: 47.89 kB / 0.5229 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.5412, allocations: 3.13 MB / 0.526 GB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008178/0.5421, allocations: 1.355 MB / 0.5273 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.5421, allocations: 0 / 0.5273 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008836/0.5429, allocations: 1.647 MB / 0.5289 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.5444, allocations: 1.907 MB / 0.5308 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5444, allocations: 0 / 0.5308 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.5446, allocations: 110.1 kB / 0.5309 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.5447, allocations: 36.81 kB / 0.5309 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.5448, allocations: 13.48 kB / 0.5309 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005196/0.5453, allocations: 1.183 MB / 0.5321 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5453, allocations: 0 / 0.5321 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.5463, allocations: 1.445 MB / 0.5335 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.5463, allocations: 74.98 kB / 0.5335 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.5464, allocations: 14.62 kB / 0.5336 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.5465, allocations: 11.98 kB / 0.5336 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.5465, allocations: 41.95 kB / 0.5336 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.5466, allocations: 12 kB / 0.5336 GB, free: 10.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.525e-05/0.5466, allocations: 102.7 kB / 0.5337 GB, free: 10.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.5466, allocations: 0 / 0.5337 GB, free: 10.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002692/0.5493, allocations: 1.241 MB / 0.5349 GB, free: 9.457 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.003127/0.5525, allocations: 2.235 MB / 0.5371 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008256/0.5533, allocations: 0.9548 MB / 0.538 GB, free: 6.488 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.5533, allocations: 4 kB / 0.538 GB, free: 6.484 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.5537, allocations: 0.5489 MB / 0.5386 GB, free: 5.945 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/0.5546, allocations: 464.6 kB / 0.539 GB, free: 5.523 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.5564, allocations: 1.585 MB / 0.5406 GB, free: 3.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.5565, allocations: 206.7 kB / 0.5408 GB, free: 3.699 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003109/0.5568, allocations: 168.9 kB / 0.5409 GB, free: 3.539 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.5572, allocations: 276.4 kB / 0.5412 GB, free: 3.27 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5573, allocations: 0 / 0.5412 GB, free: 3.27 MB / 426.7 MB Notification: Performance of Templates: time 0.1617/0.7189, allocations: 44.5 MB / 0.5847 GB, free: 136.9 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.204537775367498]