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.0006546/0.0006546, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008706/0.001525, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006786/0.0006786, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008843/0.001563, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9561/0.9561, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0735/1.03, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.04469/0.04469, allocations: 11.71 MB / 255.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005225/0.04992, allocations: 3.08 MB / 258.8 MB, free: 0.8438 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.273e-06/1.273e-06, allocations: 0 / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.626e-05, allocations: 6.312 kB / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.1429/0.143, allocations: 61.96 MB / 322 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03132/0.1743, allocations: 48.79 MB / 370.8 MB, free: 4.562 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.1745, allocations: 11.88 kB / 370.8 MB, free: 4.551 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000777/0.1753, allocations: 470.6 kB / 371.3 MB, free: 4.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006802/0.1759, allocations: 0.6685 MB / 372 MB, free: 3.418 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03969/0.2156, allocations: 23.77 MB / 395.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.2169, allocations: 1.499 MB / 397.2 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.217, allocations: 89.75 kB / 397.3 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.2212, allocations: 4.468 MB / 401.8 MB, free: 5.496 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.2215, allocations: 332.3 kB / 402.1 MB, free: 5.172 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.2215, allocations: 44 kB / 402.2 MB, free: 5.129 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0388/0.2603, allocations: 18.31 MB / 420.5 MB, free: 2.793 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2605, allocations: 103.6 kB / 420.6 MB, free: 2.691 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003807/0.2609, allocations: 191.7 kB / 420.8 MB, free: 2.504 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1575/0.4184, allocations: 7.104 MB / 427.9 MB, free: 50.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.591e-05/0.4184, allocations: 3 kB / 427.9 MB, free: 50.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4184, allocations: 0 / 427.9 MB, free: 50.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.4184, allocations: 1.609 kB / 427.9 MB, free: 50.78 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.003875/0.4223, allocations: 2.503 MB / 430.4 MB, free: 49.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.4223, allocations: 9.031 kB / 430.4 MB, free: 49.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.4225, allocations: 91.09 kB / 430.5 MB, free: 49.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.4228, allocations: 245.7 kB / 430.7 MB, free: 49.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.4228, allocations: 27.3 kB / 430.7 MB, free: 49.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.4229, allocations: 36.33 kB / 430.8 MB, free: 49.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.4234, allocations: 0.5602 MB / 431.3 MB, free: 49.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4234, allocations: 1.125 kB / 431.3 MB, free: 49.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.4234, allocations: 17.56 kB / 431.3 MB, free: 49.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.4235, allocations: 17.5 kB / 431.4 MB, free: 49.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.4238, allocations: 248.1 kB / 431.6 MB, free: 49.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02679/0.4506, allocations: 24.88 MB / 456.5 MB, free: 47.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.451, allocations: 292.5 kB / 456.8 MB, free: 47.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.4511, allocations: 89.44 kB / 456.9 MB, free: 47.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07359/0.5247, allocations: 70.85 MB / 0.5153 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.5247, allocations: 38.56 kB / 0.5154 GB, free: 11.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 2.535e-06/0.5247, allocations: 0 / 0.5154 GB, free: 11.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=85): time 0.002965/0.5277, allocations: 1.48 MB / 0.5168 GB, free: 10.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.5277, allocations: 55.41 kB / 0.5169 GB, free: 9.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.5278, allocations: 217.1 kB / 0.5171 GB, free: 9.793 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.5278, allocations: 33.7 kB / 0.5171 GB, free: 9.754 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.5279, allocations: 182.8 kB / 0.5173 GB, free: 9.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.528, allocations: 289 kB / 0.5176 GB, free: 9.316 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-05/0.5281, allocations: 110.9 kB / 0.5177 GB, free: 9.219 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.5282, allocations: 355.4 kB / 0.518 GB, free: 8.883 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.085e-05/0.5283, allocations: 92.3 kB / 0.5181 GB, free: 8.793 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.5284, allocations: 209.6 kB / 0.5183 GB, free: 8.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.5287, allocations: 384.8 kB / 0.5187 GB, free: 8.156 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5287, allocations: 0 / 0.5187 GB, free: 8.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004431/0.5291, allocations: 436.6 kB / 0.5191 GB, free: 7.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5292, allocations: 8 kB / 0.5191 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5292, allocations: 4 kB / 0.5191 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.5294, allocations: 91.64 kB / 0.5192 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.5296, allocations: 109.8 kB / 0.5193 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.5323, allocations: 4.385 MB / 0.5236 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.5324, allocations: 13.75 kB / 0.5236 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.5325, allocations: 27.98 kB / 0.5236 GB, free: 3.023 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.0001111/0.5326, allocations: 143.1 kB / 0.5237 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.5326, allocations: 39.98 kB / 0.5238 GB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.5345, allocations: 3.136 MB / 0.5268 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009251/0.5354, allocations: 1.339 MB / 0.5282 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5354, allocations: 7.094 kB / 0.5282 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008589/0.5362, allocations: 1.649 MB / 0.5298 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.5377, allocations: 1.904 MB / 0.5316 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5377, allocations: 0 / 0.5316 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.5379, allocations: 116.5 kB / 0.5317 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.538, allocations: 71.39 kB / 0.5318 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.5381, allocations: 44.78 kB / 0.5319 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.5381, allocations: 12.81 kB / 0.5319 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004848/0.5386, allocations: 1.183 MB / 0.533 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5386, allocations: 0 / 0.533 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.5397, allocations: 1.436 MB / 0.5344 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.5397, allocations: 19.94 kB / 0.5344 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.5399, allocations: 12 kB / 0.5345 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.5399, allocations: 40.42 kB / 0.5345 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.5399, allocations: 12 kB / 0.5345 GB, free: 8.184 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.326e-05/0.54, allocations: 103.5 kB / 0.5346 GB, free: 8.086 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.54, allocations: 4 kB / 0.5346 GB, free: 8.082 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002656/0.5427, allocations: 1.244 MB / 0.5358 GB, free: 6.836 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.002769/0.5454, allocations: 2.232 MB / 0.538 GB, free: 4.801 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007466/0.5462, allocations: 0.9461 MB / 0.5389 GB, free: 3.883 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/0.5462, allocations: 9.016 kB / 0.5389 GB, free: 3.875 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.5466, allocations: 0.5542 MB / 0.5395 GB, free: 3.328 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.5474, allocations: 467 kB / 0.5399 GB, free: 2.906 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00708/0.5545, allocations: 1.549 MB / 0.5414 GB, free: 1.348 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5548, allocations: 206.7 kB / 0.5416 GB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.5551, allocations: 170.1 kB / 0.5418 GB, free: 0.957 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.5555, allocations: 279.5 kB / 0.5421 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5555, allocations: 0 / 0.5421 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of Templates: time 0.1449/0.7004, allocations: 44.5 MB / 0.5855 GB, free: 137.1 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.241435685195029]