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.0006482/0.0006482, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008154/0.001464, 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.000673/0.000673, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008628/0.001536, 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.9411/0.9411, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07771/1.019, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.04578/0.04578, allocations: 11.71 MB / 255.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005008/0.05078, allocations: 3.088 MB / 258.8 MB, free: 0.8242 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.072e-06/1.072e-06, allocations: 0 / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.078e-05, allocations: 5.547 kB / 260.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.1569/0.157, allocations: 62.37 MB / 322.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03292/0.1899, allocations: 48.79 MB / 371.2 MB, free: 4.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.1901, allocations: 7.938 kB / 371.2 MB, free: 4.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.1909, allocations: 474.5 kB / 371.7 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007265/0.1917, allocations: 0.6685 MB / 372.4 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04012/0.2318, allocations: 23.77 MB / 396.1 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.2332, allocations: 1.499 MB / 397.6 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.2333, allocations: 97.75 kB / 397.7 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/0.2373, allocations: 4.457 MB / 402.2 MB, free: 5.094 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.2376, allocations: 340.2 kB / 402.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.2377, allocations: 40 kB / 402.6 MB, free: 4.723 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02624/0.2639, allocations: 18.31 MB / 420.9 MB, free: 2.383 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.264, allocations: 107.6 kB / 421 MB, free: 2.277 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.2644, allocations: 191.8 kB / 421.2 MB, free: 2.09 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1534/0.4178, allocations: 7.1 MB / 428.3 MB, free: 48.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.4179, allocations: 0 / 428.3 MB, free: 48.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4179, allocations: 0 / 428.3 MB, free: 48.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.4179, allocations: 0.9062 kB / 428.3 MB, free: 48.52 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.003683/0.4216, allocations: 2.506 MB / 430.8 MB, free: 47.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.4216, allocations: 9.938 kB / 430.8 MB, free: 47.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.4218, allocations: 90.98 kB / 430.9 MB, free: 47.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.4221, allocations: 242.8 kB / 431.1 MB, free: 47.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.4221, allocations: 27.88 kB / 431.1 MB, free: 47.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.4222, allocations: 38.59 kB / 431.2 MB, free: 47.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/0.4227, allocations: 0.5607 MB / 431.7 MB, free: 46.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4227, allocations: 2.531 kB / 431.7 MB, free: 46.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.4227, allocations: 17.38 kB / 431.8 MB, free: 46.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.4227, allocations: 19.23 kB / 431.8 MB, free: 46.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003513/0.4231, allocations: 242 kB / 432 MB, free: 46.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02651/0.4496, allocations: 24.88 MB / 456.9 MB, free: 45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.45, allocations: 280.5 kB / 457.2 MB, free: 44.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.565e-05/0.45, allocations: 100 kB / 457.3 MB, free: 44.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07348/0.5235, allocations: 70.85 MB / 0.5157 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.5236, allocations: 40.25 kB / 0.5158 GB, free: 9.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 2.174e-06/0.5236, allocations: 0 / 0.5158 GB, free: 9.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=85): time 0.002902/0.5265, allocations: 1.478 MB / 0.5172 GB, free: 8.578 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.5265, allocations: 61.95 kB / 0.5173 GB, free: 8.512 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.5266, allocations: 210.9 kB / 0.5175 GB, free: 8.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.5266, allocations: 36.39 kB / 0.5175 GB, free: 8.285 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.5267, allocations: 184.5 kB / 0.5177 GB, free: 8.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.5268, allocations: 282.5 kB / 0.518 GB, free: 7.875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/0.5269, allocations: 110.3 kB / 0.5181 GB, free: 7.801 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.527, allocations: 359.6 kB / 0.5184 GB, free: 7.465 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.5271, allocations: 89.38 kB / 0.5185 GB, free: 7.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.5273, allocations: 211.8 kB / 0.5187 GB, free: 7.152 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.5275, allocations: 391 kB / 0.5191 GB, free: 6.762 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5275, allocations: 0 / 0.5191 GB, free: 6.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004346/0.528, allocations: 434.6 kB / 0.5195 GB, free: 6.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.528, allocations: 11.98 kB / 0.5195 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.528, allocations: 4 kB / 0.5195 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/0.5282, allocations: 81.03 kB / 0.5196 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.5284, allocations: 113.5 kB / 0.5197 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.5313, allocations: 4.38 MB / 0.524 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.5314, allocations: 12 kB / 0.524 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.5314, allocations: 23.98 kB / 0.524 GB, free: 1.684 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.0001115/0.5315, allocations: 144.6 kB / 0.5241 GB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.5316, allocations: 47.92 kB / 0.5242 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.5334, allocations: 3.14 MB / 0.5272 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001059/0.5345, allocations: 1.341 MB / 0.5286 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5345, allocations: 7.984 kB / 0.5286 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008662/0.5353, allocations: 1.652 MB / 0.5302 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.5368, allocations: 1.896 MB / 0.532 GB, free: 9.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.5368, allocations: 0 / 0.532 GB, free: 9.832 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.537, allocations: 114.7 kB / 0.5321 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.5371, allocations: 71.33 kB / 0.5322 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.5372, allocations: 40.8 kB / 0.5322 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.5372, allocations: 17.23 kB / 0.5323 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005123/0.5377, allocations: 1.186 MB / 0.5334 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5377, allocations: 0 / 0.5334 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.5389, allocations: 1.434 MB / 0.5348 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.5389, allocations: 15.89 kB / 0.5348 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.539, allocations: 15.98 kB / 0.5348 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.5391, allocations: 44.42 kB / 0.5349 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.5391, allocations: 8 kB / 0.5349 GB, free: 6.836 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.626e-05/0.5392, allocations: 107.1 kB / 0.535 GB, free: 6.734 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5392, allocations: 0 / 0.535 GB, free: 6.734 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002845/0.542, allocations: 1.245 MB / 0.5362 GB, free: 5.488 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.002857/0.5449, allocations: 2.228 MB / 0.5384 GB, free: 3.453 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007535/0.5456, allocations: 0.9528 MB / 0.5393 GB, free: 2.527 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/0.5456, allocations: 15.72 kB / 0.5393 GB, free: 2.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.546, allocations: 0.555 MB / 0.5399 GB, free: 1.973 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/0.5468, allocations: 455.7 kB / 0.5403 GB, free: 1.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/0.554, allocations: 1.551 MB / 0.5418 GB, free: 16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.5541, allocations: 206.7 kB / 0.542 GB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.5544, allocations: 169.7 kB / 0.5422 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/0.5548, allocations: 273.1 kB / 0.5424 GB, free: 15.34 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5548, allocations: 0 / 0.5424 GB, free: 15.34 MB / 442.7 MB Notification: Performance of Templates: time 0.1482/0.703, allocations: 44.54 MB / 0.5859 GB, free: 136.4 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.3425340270623565]