Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.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.001076/0.001076, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001178/0.001178, allocations: 169 kB / 23.02 MB, free: 1.555 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 1.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.03104/0.03104, allocations: 7.527 MB / 267.5 MB, free: 5.98 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.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") translateModel(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 0 / 338.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/3.091e-05, allocations: 2.312 kB / 338.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.02111/0.02115, allocations: 18.03 MB / 356.7 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01875/0.0399, allocations: 17.09 MB / 373.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.04007, allocations: 3.938 kB / 373.8 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005802/0.04065, allocations: 246.7 kB / 374 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.04104, allocations: 230.6 kB / 374.2 MB, free: 7.281 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01346/0.0545, allocations: 7.504 MB / 381.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.05483, allocations: 310.2 kB / 382 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.05487, allocations: 9.797 kB / 382 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.0551, allocations: 175.5 kB / 382.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.05517, allocations: 51.86 kB / 382.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.05519, allocations: 4 kB / 382.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/0.06798, allocations: 7.351 MB / 389.6 MB, free: 7.824 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.06802, allocations: 15.91 kB / 389.6 MB, free: 7.809 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.06818, allocations: 59.75 kB / 389.7 MB, free: 7.754 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009341/0.07752, allocations: 4.481 MB / 394.2 MB, free: 3.262 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.07752, allocations: 0 / 394.2 MB, free: 3.262 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.07752, allocations: 0 / 394.2 MB, free: 3.262 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.07753, allocations: 0 / 394.2 MB, free: 3.262 MB / 314.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.002022/0.07955, allocations: 1.049 MB / 395.2 MB, free: 2.172 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.0796, allocations: 8.625 kB / 395.2 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.07966, allocations: 15.91 kB / 395.3 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.07977, allocations: 135.8 kB / 395.4 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.07978, allocations: 0 / 395.4 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.0798, allocations: 11.94 kB / 395.4 MB, free: 1.977 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.08004, allocations: 130.6 kB / 395.5 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.08005, allocations: 0 / 395.5 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.08006, allocations: 0 / 395.5 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.08008, allocations: 11.98 kB / 395.5 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.307e-05/0.08015, allocations: 39.89 kB / 395.6 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.08068, allocations: 0.5138 MB / 396.1 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.932e-05/0.08077, allocations: 63.05 kB / 396.1 MB, free: 1.152 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.08083, allocations: 47.64 kB / 396.2 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1908/0.2716, allocations: 24.66 MB / 420.9 MB, free: 79.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.2717, allocations: 33.39 kB / 420.9 MB, free: 79.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.476e-06/0.2717, allocations: 5.375 kB / 420.9 MB, free: 79.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003775/0.2721, allocations: 215.5 kB / 421.1 MB, free: 79.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.2721, allocations: 51.41 kB / 421.2 MB, free: 79.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.2722, allocations: 199.1 kB / 421.3 MB, free: 79.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.2722, allocations: 25.7 kB / 421.4 MB, free: 79.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.2722, allocations: 130.7 kB / 421.5 MB, free: 79.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.2723, allocations: 137.5 kB / 421.6 MB, free: 79.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.2723, allocations: 65.47 kB / 421.7 MB, free: 79.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.551e-05/0.2724, allocations: 0.4977 MB / 422.2 MB, free: 78.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.2724, allocations: 35.27 kB / 422.2 MB, free: 78.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.407e-05/0.2725, allocations: 76.84 kB / 422.3 MB, free: 78.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.2726, allocations: 138.8 kB / 422.4 MB, free: 78.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.2726, allocations: 0 / 422.4 MB, free: 78.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002126/0.2728, allocations: 190.2 kB / 422.6 MB, free: 78.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2729, allocations: 3.656 kB / 422.6 MB, free: 78.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2729, allocations: 3.844 kB / 422.6 MB, free: 78.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.2729, allocations: 0 / 422.6 MB, free: 78.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.2729, allocations: 11.05 kB / 422.6 MB, free: 78.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.273, allocations: 2.25 kB / 422.6 MB, free: 78.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.273, allocations: 21.48 kB / 422.7 MB, free: 78.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.273, allocations: 4.906 kB / 422.7 MB, free: 78.53 MB / 330.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 6.819e-05/0.2731, allocations: 159.2 kB / 422.8 MB, free: 78.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.2731, allocations: 20.72 kB / 422.8 MB, free: 78.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.2734, allocations: 217.7 kB / 423.1 MB, free: 78.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.2734, allocations: 11.48 kB / 423.1 MB, free: 78.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2734, allocations: 0 / 423.1 MB, free: 78.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2734, allocations: 0 / 423.1 MB, free: 78.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2736, allocations: 175.8 kB / 423.2 MB, free: 78.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2736, allocations: 2.812 kB / 423.2 MB, free: 78.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.2736, allocations: 7.984 kB / 423.3 MB, free: 78.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2736, allocations: 7.125 kB / 423.3 MB, free: 78.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.2736, allocations: 2.875 kB / 423.3 MB, free: 78.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.2736, allocations: 3.828 kB / 423.3 MB, free: 78.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2736, allocations: 8.062 kB / 423.3 MB, free: 78.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.2738, allocations: 328.3 kB / 423.6 MB, free: 77.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.2739, allocations: 29.58 kB / 423.6 MB, free: 77.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.2739, allocations: 7.938 kB / 423.6 MB, free: 77.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.2739, allocations: 2.562 kB / 423.6 MB, free: 77.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.274, allocations: 7.984 kB / 423.6 MB, free: 77.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.274, allocations: 4 kB / 423.6 MB, free: 77.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.929e-05/0.274, allocations: 135.6 kB / 423.8 MB, free: 77.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.274, allocations: 3.188 kB / 423.8 MB, free: 77.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002054/0.2761, allocations: 1.129 MB / 424.9 MB, free: 76.68 MB / 330.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.003492/0.2796, allocations: 1.849 MB / 426.8 MB, free: 75.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.2798, allocations: 148 kB / 426.9 MB, free: 74.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2798, allocations: 0 / 426.9 MB, free: 74.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.916e-05/0.2799, allocations: 100.3 kB / 427 MB, free: 74.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.2805, allocations: 153 kB / 427.2 MB, free: 74.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008166/0.2813, allocations: 317.8 kB / 427.5 MB, free: 74.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.175e-05/0.2814, allocations: 81.52 kB / 427.5 MB, free: 74.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.408e-05/0.2814, allocations: 14.58 kB / 427.6 MB, free: 74.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.2815, allocations: 16.5 kB / 427.6 MB, free: 74.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2815, allocations: 0 / 427.6 MB, free: 74.25 MB / 330.7 MB Notification: Performance of Templates: time 0.02952/0.311, allocations: 30.63 MB / 458.2 MB, free: 43.93 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.464576353784651]