Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.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.001296/0.001296, allocations: 79.75 kB / 20.12 MB, free: 4.152 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.001818/0.001818, allocations: 160.5 kB / 23.55 MB, free: 0.7188 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.9367/0.9367, allocations: 177.1 MB / 204 MB, free: 5.41 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.04653/0.04653, allocations: 11.72 MB / 272.2 MB, free: 1.809 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.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.Validation.Convergence.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState") translateModel(HelmholtzMedia.Validation.Convergence.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.656e-06/3.656e-06, allocations: 0 / 291.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.452e-05, allocations: 2.312 kB / 291.5 MB, free: 17.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Convergence.TwoPhase_setState): time 0.04394/0.04397, allocations: 58.95 MB / 350.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02264/0.06661, allocations: 33.69 MB / 384.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.06676, allocations: 4 kB / 384.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005534/0.06731, allocations: 227.3 kB / 384.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.0677, allocations: 234.6 kB / 384.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03504/0.1027, allocations: 18.13 MB / 402.8 MB, free: 8.613 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.1031, allocations: 310.2 kB / 403.1 MB, free: 8.309 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.1031, allocations: 6.469 kB / 403.1 MB, free: 8.301 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.1033, allocations: 183.5 kB / 403.2 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.1034, allocations: 59.84 kB / 403.3 MB, free: 8.062 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1034, allocations: 0 / 403.3 MB, free: 8.062 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02878/0.1322, allocations: 19.32 MB / 422.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.1322, allocations: 11.88 kB / 422.6 MB, free: 4.699 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.1324, allocations: 55.94 kB / 422.7 MB, free: 4.645 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02173/0.1541, allocations: 8.898 MB / 431.6 MB, free: 11.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1541, allocations: 3.938 kB / 431.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1541, allocations: 0 / 431.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1541, allocations: 4 kB / 431.6 MB, free: 11.71 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.002651/0.1568, allocations: 1.504 MB / 433.1 MB, free: 10.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1568, allocations: 12.03 kB / 433.1 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.1568, allocations: 11.98 kB / 433.1 MB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1569, allocations: 124.9 kB / 433.2 MB, free: 10 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.157, allocations: 11.94 kB / 433.3 MB, free: 9.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.157, allocations: 4 kB / 433.3 MB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1571, allocations: 128.2 kB / 433.4 MB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1571, allocations: 0 / 433.4 MB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1571, allocations: 4 kB / 433.4 MB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.1572, allocations: 3.984 kB / 433.4 MB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.266e-05/0.1572, allocations: 34.83 kB / 433.4 MB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.1575, allocations: 361.8 kB / 433.8 MB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/0.1576, allocations: 92.3 kB / 433.9 MB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.1576, allocations: 32.86 kB / 433.9 MB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1787/0.3363, allocations: 57.25 MB / 491.2 MB, free: 74.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.3363, allocations: 33.84 kB / 491.2 MB, free: 74.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.334e-06/0.3363, allocations: 0 / 491.2 MB, free: 74.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002038/0.3365, allocations: 217.3 kB / 491.4 MB, free: 74.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.3365, allocations: 51.41 kB / 491.4 MB, free: 74.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.35e-05/0.3366, allocations: 136.5 kB / 491.6 MB, free: 74.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.3366, allocations: 29.7 kB / 491.6 MB, free: 74.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.3366, allocations: 96.06 kB / 491.7 MB, free: 74.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.3367, allocations: 133.2 kB / 491.8 MB, free: 74.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.3367, allocations: 42.45 kB / 491.9 MB, free: 74.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.659e-05/0.3367, allocations: 328.4 kB / 492.2 MB, free: 73.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.3368, allocations: 31.19 kB / 492.2 MB, free: 73.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.3368, allocations: 61.34 kB / 492.3 MB, free: 73.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.586e-05/0.3369, allocations: 120 kB / 492.4 MB, free: 73.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3369, allocations: 0 / 492.4 MB, free: 73.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0001027/0.337, allocations: 151.1 kB / 492.6 MB, free: 73.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.337, allocations: 4 kB / 492.6 MB, free: 73.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.337, allocations: 4 kB / 492.6 MB, free: 73.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.337, allocations: 0 / 492.6 MB, free: 73.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.191e-05/0.337, allocations: 8 kB / 492.6 MB, free: 73.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.3371, allocations: 3.984 kB / 492.6 MB, free: 73.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.3371, allocations: 20.47 kB / 492.6 MB, free: 73.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3371, allocations: 4 kB / 492.6 MB, free: 73.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.3372, allocations: 125.5 kB / 492.7 MB, free: 73.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.3372, allocations: 7.984 kB / 492.7 MB, free: 73.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.3373, allocations: 189.7 kB / 492.9 MB, free: 73.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.3374, allocations: 11.98 kB / 492.9 MB, free: 73.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.3374, allocations: 0 / 492.9 MB, free: 73.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3374, allocations: 0 / 492.9 MB, free: 73.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.3375, allocations: 131.1 kB / 493.1 MB, free: 72.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3375, allocations: 0 / 493.1 MB, free: 72.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.676e-05/0.3375, allocations: 4 kB / 493.1 MB, free: 72.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3375, allocations: 5 kB / 493.1 MB, free: 72.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.3375, allocations: 4 kB / 493.1 MB, free: 72.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3375, allocations: 0 / 493.1 MB, free: 72.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3375, allocations: 0 / 493.1 MB, free: 72.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.3376, allocations: 295.2 kB / 493.4 MB, free: 72.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.3376, allocations: 31.44 kB / 493.4 MB, free: 72.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.3376, allocations: 0 / 493.4 MB, free: 72.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.373e-05/0.3377, allocations: 4.625 kB / 493.4 MB, free: 72.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.3377, allocations: 7.984 kB / 493.4 MB, free: 72.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3377, allocations: 4 kB / 493.4 MB, free: 72.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.61e-05/0.3377, allocations: 21.52 kB / 493.4 MB, free: 72.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3377, allocations: 4 kB / 493.4 MB, free: 72.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001684/0.3394, allocations: 1.219 MB / 494.6 MB, free: 71.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002488/0.3419, allocations: 2.236 MB / 496.9 MB, free: 69.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.342, allocations: 124.5 kB / 497 MB, free: 69.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.342, allocations: 0 / 497 MB, free: 69.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.651e-05/0.3421, allocations: 79.94 kB / 497.1 MB, free: 69.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.3425, allocations: 147.7 kB / 497.2 MB, free: 68.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.343, allocations: 316.8 kB / 497.5 MB, free: 68.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.964e-05/0.343, allocations: 80.33 kB / 497.6 MB, free: 68.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.097e-05/0.3431, allocations: 15.05 kB / 497.6 MB, free: 68.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3432, allocations: 138.8 kB / 497.8 MB, free: 68.37 MB / 394.7 MB Notification: Performance of SimCode: time 1.472e-06/0.3432, allocations: 0 / 497.8 MB, free: 68.37 MB / 394.7 MB Notification: Performance of Templates: time 0.02456/0.3678, allocations: 32.7 MB / 0.518 GB, free: 36.14 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0224475637078285]