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.0007035/0.0007035, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009635/0.001667, 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.0006861/0.0006861, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009301/0.001616, 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.9428/0.9428, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.125/1.068, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.04818/0.04818, allocations: 11.73 MB / 255.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01006/0.05824, allocations: 3.084 MB / 259 MB, free: 0.6992 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.212e-06/1.212e-06, allocations: 0 / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.455e-05, allocations: 2.312 kB / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.1824/0.1824, allocations: 62.01 MB / 322.3 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03622/0.2187, allocations: 48.78 MB / 371.1 MB, free: 4.277 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004402/0.2191, allocations: 11.94 kB / 371.1 MB, free: 4.266 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009637/0.2201, allocations: 478.5 kB / 371.6 MB, free: 3.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009037/0.221, allocations: 0.6686 MB / 372.2 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05221/0.2732, allocations: 23.79 MB / 396 MB, free: 11.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.2748, allocations: 1.503 MB / 397.5 MB, free: 9.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.275, allocations: 97.73 kB / 397.6 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00535/0.2804, allocations: 4.925 MB / 402.5 MB, free: 4.719 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008809/0.2812, allocations: 331 kB / 402.9 MB, free: 4.395 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.105e-05/0.2813, allocations: 44 kB / 402.9 MB, free: 4.352 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03557/0.3169, allocations: 18.38 MB / 421.3 MB, free: 1.941 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.3171, allocations: 103.7 kB / 421.4 MB, free: 1.84 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005736/0.3177, allocations: 195.7 kB / 421.6 MB, free: 1.648 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1778/0.4955, allocations: 7.11 MB / 428.7 MB, free: 49.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.514e-05/0.4955, allocations: 1.344 kB / 428.7 MB, free: 49.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4955, allocations: 0 / 428.7 MB, free: 49.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.4955, allocations: 0 / 428.7 MB, free: 49.11 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.005228/0.5007, allocations: 2.505 MB / 431.2 MB, free: 48.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.5008, allocations: 8.812 kB / 431.2 MB, free: 48.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.5011, allocations: 93.75 kB / 431.3 MB, free: 48.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.5014, allocations: 239.2 kB / 431.5 MB, free: 47.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.5014, allocations: 26.94 kB / 431.6 MB, free: 47.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.5015, allocations: 36.34 kB / 431.6 MB, free: 47.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.5021, allocations: 0.5581 MB / 432.2 MB, free: 47.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.5021, allocations: 7.984 kB / 432.2 MB, free: 47.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.5022, allocations: 20.05 kB / 432.2 MB, free: 47.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.5022, allocations: 18.83 kB / 432.2 MB, free: 47.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.5026, allocations: 243.8 kB / 432.4 MB, free: 47.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0292/0.5318, allocations: 24.9 MB / 457.3 MB, free: 45.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.5322, allocations: 283.4 kB / 457.6 MB, free: 45.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/0.5323, allocations: 90.94 kB / 457.7 MB, free: 45.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0793/0.6116, allocations: 70.94 MB / 0.5163 GB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/0.6117, allocations: 37 kB / 0.5163 GB, free: 9.641 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 2.996e-06/0.6117, allocations: 0 / 0.5163 GB, free: 9.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=85): time 0.003416/0.6151, allocations: 1.487 MB / 0.5178 GB, free: 8.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.6151, allocations: 62.3 kB / 0.5178 GB, free: 8.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.6153, allocations: 218.3 kB / 0.518 GB, free: 7.977 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.6153, allocations: 35.77 kB / 0.5181 GB, free: 7.941 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.6154, allocations: 179.7 kB / 0.5182 GB, free: 7.773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.6155, allocations: 288.5 kB / 0.5185 GB, free: 7.531 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.6156, allocations: 114.4 kB / 0.5186 GB, free: 7.445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000384/0.616, allocations: 357.6 kB / 0.5189 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.6161, allocations: 92.3 kB / 0.519 GB, free: 7.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.6162, allocations: 212.7 kB / 0.5192 GB, free: 6.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.6165, allocations: 386 kB / 0.5196 GB, free: 6.383 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6165, allocations: 0 / 0.5196 GB, free: 6.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004911/0.617, allocations: 431.9 kB / 0.52 GB, free: 5.973 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.6171, allocations: 8.469 kB / 0.52 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.6171, allocations: 8 kB / 0.52 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.6173, allocations: 85.64 kB / 0.5201 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.6175, allocations: 118.4 kB / 0.5202 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.6204, allocations: 4.396 MB / 0.5245 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.6207, allocations: 12 kB / 0.5245 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.6207, allocations: 23.98 kB / 0.5246 GB, free: 1.242 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.0001512/0.6209, allocations: 138 kB / 0.5247 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.6209, allocations: 43.89 kB / 0.5247 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/0.6231, allocations: 3.139 MB / 0.5278 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008458/0.6239, allocations: 1.343 MB / 0.5291 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.6239, allocations: 7.984 kB / 0.5291 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009136/0.6248, allocations: 1.658 MB / 0.5307 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.6265, allocations: 1.892 MB / 0.5326 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6265, allocations: 0 / 0.5326 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.6267, allocations: 114.9 kB / 0.5327 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.6268, allocations: 75.27 kB / 0.5328 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.6269, allocations: 44.8 kB / 0.5328 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.6269, allocations: 15.98 kB / 0.5328 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006919/0.6276, allocations: 1.176 MB / 0.534 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6276, allocations: 7.312 kB / 0.534 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.6287, allocations: 1.444 MB / 0.5354 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.6287, allocations: 15.95 kB / 0.5354 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.6289, allocations: 19.73 kB / 0.5354 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.6289, allocations: 40.42 kB / 0.5355 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.629, allocations: 15.25 kB / 0.5355 GB, free: 6.387 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.593e-05/0.6291, allocations: 104.8 kB / 0.5356 GB, free: 6.289 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.6291, allocations: 0 / 0.5356 GB, free: 6.289 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003897/0.633, allocations: 1.253 MB / 0.5368 GB, free: 5.035 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.004574/0.6375, allocations: 2.233 MB / 0.539 GB, free: 2.996 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.6386, allocations: 0.9519 MB / 0.5399 GB, free: 2.066 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.43e-05/0.6386, allocations: 8 kB / 0.5399 GB, free: 2.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005471/0.6392, allocations: 0.5824 MB / 0.5405 GB, free: 1.488 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.6407, allocations: 1.522 MB / 0.542 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007198/0.6479, allocations: 1.556 MB / 0.5435 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.648, allocations: 202 kB / 0.5437 GB, free: 13.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003662/0.6484, allocations: 177.1 kB / 0.5439 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/0.6489, allocations: 277.1 kB / 0.5441 GB, free: 13.54 MB / 442.7 MB Notification: Performance of SimCode: time 1.653e-06/0.6489, allocations: 0 / 0.5441 GB, free: 13.54 MB / 442.7 MB Notification: Performance of Templates: time 0.1678/0.8166, allocations: 44.55 MB / 0.5876 GB, free: 136.2 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.395516321063042]