Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.0008542/0.0008542, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009296/0.0009296, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 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.9265/0.9265, allocations: 177.1 MB / 203.8 MB, free: 5.445 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.05756/0.05756, allocations: 7.531 MB / 267.8 MB, free: 5.848 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.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.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 285.9 MB, free: 3.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.366e-05, allocations: 5.406 kB / 285.9 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.116/0.116, allocations: 20.35 MB / 306.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02218/0.1382, allocations: 33.71 MB / 340 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.1385, allocations: 7.938 kB / 340 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.1396, allocations: 0.5223 MB / 340.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000833/0.1404, allocations: 0.653 MB / 341.1 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02091/0.1613, allocations: 11.55 MB / 352.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.1628, allocations: 1.483 MB / 354.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.163, allocations: 94.39 kB / 354.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009687/0.164, allocations: 0.8185 MB / 355.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.1644, allocations: 327 kB / 355.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.1644, allocations: 44 kB / 355.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01357/0.178, allocations: 8.302 MB / 363.7 MB, free: 3.008 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.1782, allocations: 127.5 kB / 363.9 MB, free: 2.883 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.1787, allocations: 219.6 kB / 364.1 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.1904, allocations: 5.038 MB / 369.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1904, allocations: 0 / 369.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1904, allocations: 4 kB / 369.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1904, allocations: 4 kB / 369.1 MB, free: 13.61 MB / 330.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.002013/0.1924, allocations: 1.29 MB / 370.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1925, allocations: 8.625 kB / 370.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003908/0.1929, allocations: 163.1 kB / 370.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1931, allocations: 230.3 kB / 370.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.1932, allocations: 33.22 kB / 370.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.1932, allocations: 39.98 kB / 370.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.1938, allocations: 0.5714 MB / 371.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1938, allocations: 3.938 kB / 371.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.1938, allocations: 12 kB / 371.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.1939, allocations: 19.98 kB / 371.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.1942, allocations: 232.2 kB / 371.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.1953, allocations: 1.269 MB / 373 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.1957, allocations: 286.9 kB / 373.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.585e-05/0.1958, allocations: 86.42 kB / 373.4 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08722/0.283, allocations: 42.32 MB / 415.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.283, allocations: 34.84 kB / 415.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.755e-06/0.283, allocations: 0 / 415.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.002365/0.2854, allocations: 1.301 MB / 417 MB, free: 13.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.2854, allocations: 55.41 kB / 417.1 MB, free: 13.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2856, allocations: 215.3 kB / 417.3 MB, free: 13.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2856, allocations: 33.7 kB / 417.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.2857, allocations: 181.4 kB / 417.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.2858, allocations: 281.4 kB / 417.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.2859, allocations: 102 kB / 417.9 MB, free: 12.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.69e-05/0.286, allocations: 350.7 kB / 418.2 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.693e-05/0.286, allocations: 80.3 kB / 418.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.2862, allocations: 197.7 kB / 418.5 MB, free: 11.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.2864, allocations: 333.7 kB / 418.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2864, allocations: 4 kB / 418.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0003896/0.2868, allocations: 390.4 kB / 419.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2869, allocations: 8.438 kB / 419.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2869, allocations: 7.984 kB / 419.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.287, allocations: 45.69 kB / 419.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.2872, allocations: 88.64 kB / 419.3 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1406/0.4278, allocations: 12.55 MB / 431.9 MB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.428, allocations: 25.41 kB / 431.9 MB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.428, allocations: 15.64 kB / 431.9 MB, free: 86.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * 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.0001373/0.4282, allocations: 141.4 kB / 432.1 MB, free: 86.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.4282, allocations: 41.44 kB / 432.1 MB, free: 86.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009012/0.4291, allocations: 1.125 MB / 433.2 MB, free: 86.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003641/0.4295, allocations: 356.2 kB / 433.6 MB, free: 86.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4295, allocations: 2.344 kB / 433.6 MB, free: 86.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003744/0.4299, allocations: 0.6561 MB / 434.2 MB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.4309, allocations: 0.9339 MB / 435.2 MB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4309, allocations: 0.8125 kB / 435.2 MB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.4311, allocations: 98.67 kB / 435.3 MB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.4313, allocations: 38.64 kB / 435.3 MB, free: 85.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.4313, allocations: 11.86 kB / 435.3 MB, free: 85.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000398/0.4317, allocations: 1.176 MB / 436.5 MB, free: 84.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4317, allocations: 5.156 kB / 436.5 MB, free: 84.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.4322, allocations: 0.591 MB / 437.1 MB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.4322, allocations: 37.19 kB / 437.1 MB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.4323, allocations: 19.56 kB / 437.1 MB, free: 84.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.4324, allocations: 21.11 kB / 437.2 MB, free: 84.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.4325, allocations: 52.61 kB / 437.2 MB, free: 84.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.4325, allocations: 12.58 kB / 437.2 MB, free: 84.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.118e-05/0.4326, allocations: 104.2 kB / 437.3 MB, free: 84.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4326, allocations: 0 / 437.3 MB, free: 84.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001975/0.4346, allocations: 0.9499 MB / 438.3 MB, free: 84.29 MB / 378.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: 9 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse5.phase,$cse6.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 (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002795/0.4374, allocations: 1.431 MB / 439.7 MB, free: 84.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.438, allocations: 0.5331 MB / 440.2 MB, free: 83.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.438, allocations: 2.719 kB / 440.2 MB, free: 83.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.4383, allocations: 341.5 kB / 440.6 MB, free: 83.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008286/0.4391, allocations: 405.6 kB / 441 MB, free: 83.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.4403, allocations: 0.9566 MB / 441.9 MB, free: 83.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.237e-05/0.4403, allocations: 139 kB / 442.1 MB, free: 83.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.4406, allocations: 159.4 kB / 442.2 MB, free: 83.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.441, allocations: 259.9 kB / 442.5 MB, free: 83.22 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.441, allocations: 0 / 442.5 MB, free: 83.22 MB / 378.7 MB Notification: Performance of Templates: time 0.03447/0.4754, allocations: 40.57 MB / 483 MB, free: 58.09 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.322054515127093]