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.0008629/0.0008629, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0008946/0.0008946, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.8894/0.8894, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.03032/0.03032, allocations: 7.526 MB / 267.8 MB, free: 5.852 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.052e-06/1.052e-06, allocations: 0 / 339.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.291e-05, allocations: 10.25 kB / 339.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.0145/0.01451, allocations: 21.63 MB / 360.8 MB, free: 6.035 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0208/0.03531, allocations: 33.76 MB / 394.5 MB, free: 4.176 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.03556, allocations: 15.88 kB / 394.5 MB, free: 4.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009138/0.03647, allocations: 0.552 MB / 395.1 MB, free: 3.605 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009043/0.03738, allocations: 0.9016 MB / 396 MB, free: 2.699 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01556/0.05294, allocations: 11.56 MB / 407.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.05452, allocations: 2.064 MB / 409.6 MB, free: 5.023 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.05472, allocations: 139.5 kB / 409.7 MB, free: 4.871 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008842/0.05561, allocations: 1.111 MB / 410.9 MB, free: 3.758 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.05604, allocations: 494.6 kB / 411.3 MB, free: 3.273 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.0561, allocations: 60 kB / 411.4 MB, free: 3.215 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008712/0.06481, allocations: 8.38 MB / 419.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.06493, allocations: 183.3 kB / 420 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.06515, allocations: 307.4 kB / 420.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005234/0.07039, allocations: 5.236 MB / 425.5 MB, free: 5.086 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.07039, allocations: 4 kB / 425.5 MB, free: 5.082 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07039, allocations: 4 kB / 425.5 MB, free: 5.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.0704, allocations: 0 / 425.5 MB, free: 5.078 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.001474/0.07187, allocations: 1.609 MB / 427.1 MB, free: 3.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.07191, allocations: 12.03 kB / 427.1 MB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/0.07238, allocations: 234.4 kB / 427.3 MB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.07269, allocations: 346.4 kB / 427.7 MB, free: 2.816 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.07273, allocations: 45 kB / 427.7 MB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.07278, allocations: 51.98 kB / 427.8 MB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/0.07354, allocations: 0.7759 MB / 428.6 MB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.07356, allocations: 3.938 kB / 428.6 MB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.07359, allocations: 24 kB / 428.6 MB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.07361, allocations: 23.97 kB / 428.6 MB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.07407, allocations: 323.5 kB / 428.9 MB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.07573, allocations: 2.328 MB / 431.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.07628, allocations: 374.9 kB / 431.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.07642, allocations: 146.1 kB / 431.8 MB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0268/0.1032, allocations: 10.96 MB / 442.7 MB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1032, allocations: 41.89 kB / 442.8 MB, free: 3.551 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 2.004e-06/0.1032, allocations: 0 / 442.8 MB, free: 3.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=117): time 0.003229/0.1065, allocations: 2.035 MB / 444.8 MB, free: 1.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.1065, allocations: 59.91 kB / 444.9 MB, free: 1.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1067, allocations: 322 kB / 445.2 MB, free: 1.062 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1067, allocations: 37.7 kB / 445.2 MB, free: 1.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1068, allocations: 292.1 kB / 445.5 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.107, allocations: 412.4 kB / 445.9 MB, free: 328 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.1071, allocations: 163.9 kB / 446.1 MB, free: 156 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1101/0.2173, allocations: 0.5585 MB / 446.6 MB, free: 103.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.2175, allocations: 106.4 kB / 446.7 MB, free: 103.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.2177, allocations: 323.9 kB / 447 MB, free: 103.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.2181, allocations: 498.6 kB / 447.5 MB, free: 103.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2181, allocations: 3.281 kB / 447.5 MB, free: 103.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0007248/0.2188, allocations: 0.6744 MB / 448.2 MB, free: 103.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2188, allocations: 6.969 kB / 448.2 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2188, allocations: 3.344 kB / 448.2 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.219, allocations: 100.2 kB / 448.3 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.2195, allocations: 196.8 kB / 448.5 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02366/0.2431, allocations: 19.48 MB / 468 MB, free: 91.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.2434, allocations: 29.28 kB / 468 MB, free: 91.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.2434, allocations: 20.09 kB / 468 MB, free: 91.06 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: 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.0001497/0.2436, allocations: 210.9 kB / 468.2 MB, free: 90.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/0.2436, allocations: 77.56 kB / 468.3 MB, free: 90.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.2449, allocations: 2.026 MB / 470.3 MB, free: 90.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000512/0.2454, allocations: 0.7095 MB / 471 MB, free: 90.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.2454, allocations: 0 / 471 MB, free: 90.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005222/0.246, allocations: 0.9242 MB / 472 MB, free: 89.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.2472, allocations: 1.594 MB / 473.6 MB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2472, allocations: 4 kB / 473.6 MB, free: 89.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.2475, allocations: 137.4 kB / 473.7 MB, free: 89.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000232/0.2477, allocations: 173.5 kB / 473.9 MB, free: 89.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.2477, allocations: 14 kB / 473.9 MB, free: 89.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009094/0.2486, allocations: 5.072 MB / 479 MB, free: 84.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2486, allocations: 2.844 kB / 479 MB, free: 84.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.2494, allocations: 1.049 MB / 480 MB, free: 84.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.2495, allocations: 66.45 kB / 480.1 MB, free: 84.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.2495, allocations: 13.41 kB / 480.1 MB, free: 84.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.2497, allocations: 22.98 kB / 480.1 MB, free: 84.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.2498, allocations: 79.19 kB / 480.2 MB, free: 84.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.2498, allocations: 23.19 kB / 480.2 MB, free: 84.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.163e-05/0.2499, allocations: 229 kB / 480.4 MB, free: 83.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2499, allocations: 0 / 480.4 MB, free: 83.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001427/0.2513, allocations: 1.021 MB / 481.5 MB, free: 83.98 MB / 410.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.001792/0.2531, allocations: 1.444 MB / 482.9 MB, free: 83.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.2542, allocations: 1.185 MB / 484.1 MB, free: 83.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2542, allocations: 0 / 484.1 MB, free: 83.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004805/0.2547, allocations: 0.7337 MB / 484.8 MB, free: 82.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.2557, allocations: 0.4924 MB / 485.3 MB, free: 82.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.2572, allocations: 1.432 MB / 486.7 MB, free: 82.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.085e-05/0.2573, allocations: 184.2 kB / 486.9 MB, free: 81.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003054/0.2576, allocations: 172.1 kB / 487.1 MB, free: 81.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/0.2581, allocations: 403.8 kB / 487.5 MB, free: 81.89 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2581, allocations: 0 / 487.5 MB, free: 81.89 MB / 410.7 MB Notification: Performance of Templates: time 0.03786/0.296, allocations: 47.35 MB / 0.5223 GB, free: 55.94 MB / 410.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: 7.327939826995134]