Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.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.0009631/0.0009631, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009822/0.0009822, allocations: 181 kB / 23.36 MB, free: 1.133 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.8768/0.8768, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.03616/0.03616, allocations: 7.521 MB / 267.8 MB, free: 5.883 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.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 285.9 MB, free: 3.785 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.147e-06/1.05e-05, allocations: 6.312 kB / 285.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.1111/0.1111, allocations: 21.75 MB / 307.6 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02071/0.1318, allocations: 34.08 MB / 341.7 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.1321, allocations: 11.94 kB / 341.7 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009965/0.1331, allocations: 0.5727 MB / 342.3 MB, free: 8.691 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009817/0.134, allocations: 0.89 MB / 343.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01728/0.1513, allocations: 11.64 MB / 354.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001541/0.1529, allocations: 2.065 MB / 356.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.1531, allocations: 139.6 kB / 357 MB, free: 9.895 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1541, allocations: 1.123 MB / 358.1 MB, free: 8.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.1546, allocations: 455.1 kB / 358.6 MB, free: 8.324 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/0.1547, allocations: 64 kB / 358.7 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008964/0.1636, allocations: 8.33 MB / 367 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.1638, allocations: 183.2 kB / 367.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.164, allocations: 307.4 kB / 367.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006748/0.1708, allocations: 5.244 MB / 372.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1708, allocations: 0 / 372.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1708, allocations: 4 kB / 372.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1708, allocations: 3.938 kB / 372.7 MB, free: 10.17 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.001845/0.1726, allocations: 1.457 MB / 374.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.1727, allocations: 8.031 kB / 374.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004896/0.1731, allocations: 230.8 kB / 374.4 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.1735, allocations: 283.7 kB / 374.7 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.1735, allocations: 43.19 kB / 374.7 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.1736, allocations: 48 kB / 374.8 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/0.1743, allocations: 0.7694 MB / 375.5 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1743, allocations: 3.984 kB / 375.5 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.1743, allocations: 24.8 kB / 375.6 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.1744, allocations: 19.97 kB / 375.6 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/0.1748, allocations: 318.4 kB / 375.9 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.1762, allocations: 1.695 MB / 377.6 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.1768, allocations: 420.7 kB / 378 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.1769, allocations: 135.3 kB / 378.1 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08482/0.2617, allocations: 42.31 MB / 420.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2617, allocations: 43 kB / 420.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=109): time 2.555e-06/0.2617, allocations: 3.938 kB / 420.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.003293/0.265, allocations: 1.952 MB / 422.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.2651, allocations: 55.91 kB / 422.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.2652, allocations: 258.9 kB / 422.7 MB, free: 7.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.2652, allocations: 37.7 kB / 422.8 MB, free: 7.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.2653, allocations: 226 kB / 423 MB, free: 7.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.2655, allocations: 400.3 kB / 423.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.2656, allocations: 142.2 kB / 423.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.2657, allocations: 370.6 kB / 423.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2658, allocations: 116.8 kB / 424 MB, free: 6.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.2659, allocations: 248.6 kB / 424.3 MB, free: 6.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.2663, allocations: 455.9 kB / 424.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2663, allocations: 0.9375 kB / 424.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0005139/0.2668, allocations: 0.5252 MB / 425.2 MB, free: 5.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2668, allocations: 8 kB / 425.2 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2668, allocations: 4.781 kB / 425.2 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004234/0.2672, allocations: 78.5 kB / 425.3 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.2677, allocations: 199.8 kB / 425.5 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1294/0.3971, allocations: 16.47 MB / 442 MB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.3974, allocations: 27.39 kB / 442 MB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.3974, allocations: 19.88 kB / 442 MB, free: 87.77 MB / 378.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: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.3976, allocations: 165.6 kB / 442.2 MB, free: 87.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.3976, allocations: 56.3 kB / 442.2 MB, free: 87.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009932/0.3986, allocations: 1.657 MB / 443.9 MB, free: 87.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004198/0.399, allocations: 0.6111 MB / 444.5 MB, free: 87.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.399, allocations: 0 / 444.5 MB, free: 87.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004233/0.3995, allocations: 0.843 MB / 445.4 MB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.4005, allocations: 1.327 MB / 446.7 MB, free: 86.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4005, allocations: 4 kB / 446.7 MB, free: 86.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.4007, allocations: 130.6 kB / 446.8 MB, free: 86.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/0.401, allocations: 164 kB / 447 MB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.401, allocations: 17.86 kB / 447 MB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009072/0.4019, allocations: 3.422 MB / 450.4 MB, free: 83.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4019, allocations: 0 / 450.4 MB, free: 83.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.4025, allocations: 0.932 MB / 451.3 MB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.4026, allocations: 55.52 kB / 451.4 MB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.4026, allocations: 17.22 kB / 451.4 MB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.4028, allocations: 26.69 kB / 451.4 MB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.4028, allocations: 72.92 kB / 451.5 MB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.4029, allocations: 25.88 kB / 451.5 MB, free: 82.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.672e-05/0.4029, allocations: 110.5 kB / 451.6 MB, free: 82.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4029, allocations: 0 / 451.6 MB, free: 82.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001424/0.4044, allocations: 1.018 MB / 452.7 MB, free: 82.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse7.phase,$cse10.phase,$cse11.phase,$cse12.phase,volume.medium.state.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001688/0.406, allocations: 1.463 MB / 454.1 MB, free: 82.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009606/0.407, allocations: 0.9611 MB / 455.1 MB, free: 82.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.407, allocations: 3.938 kB / 455.1 MB, free: 82.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.4074, allocations: 0.5863 MB / 455.7 MB, free: 82.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.4084, allocations: 0.4914 MB / 456.2 MB, free: 81.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.4097, allocations: 1.388 MB / 457.6 MB, free: 81.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.47e-05/0.4097, allocations: 179.8 kB / 457.7 MB, free: 81.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.41, allocations: 175.6 kB / 457.9 MB, free: 81.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/0.4104, allocations: 333.1 kB / 458.2 MB, free: 81.14 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4104, allocations: 0 / 458.2 MB, free: 81.14 MB / 378.7 MB Notification: Performance of Templates: time 0.03371/0.4442, allocations: 47.08 MB / 0.4935 GB, free: 38.13 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.3158503863960505]