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.0009826/0.0009826, 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.001555/0.001555, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.992/0.992, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.04087/0.04087, allocations: 7.517 MB / 267.5 MB, free: 6.012 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 1.874e-06/1.874e-06, allocations: 0 / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.318e-05, allocations: 2.312 kB / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.01225/0.01227, allocations: 18.03 MB / 356.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.02553, allocations: 17.1 MB / 373.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.02564, allocations: 4 kB / 373.8 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.02617, allocations: 246.6 kB / 374 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.02653, 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.01216/0.03869, allocations: 7.508 MB / 381.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.03897, allocations: 306.2 kB / 382 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.03902, allocations: 9.812 kB / 382.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.03922, allocations: 175.5 kB / 382.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.6e-05/0.0393, allocations: 59.83 kB / 382.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.03931, allocations: 4 kB / 382.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008769/0.04808, allocations: 7.351 MB / 389.6 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/0.04811, allocations: 11.94 kB / 389.7 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.04822, allocations: 67.73 kB / 389.7 MB, free: 7.742 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009267/0.05749, allocations: 4.477 MB / 394.2 MB, free: 3.254 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.0575, allocations: 4 kB / 394.2 MB, free: 3.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.0575, allocations: 4 kB / 394.2 MB, free: 3.246 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.05751, allocations: 0 / 394.2 MB, free: 3.246 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.002555/0.06006, allocations: 1.037 MB / 395.2 MB, free: 2.168 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.06011, allocations: 16.61 kB / 395.3 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.0602, allocations: 19.91 kB / 395.3 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.06034, allocations: 119.9 kB / 395.4 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.06035, allocations: 4 kB / 395.4 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.06037, allocations: 11.88 kB / 395.4 MB, free: 1.973 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.06064, allocations: 130.6 kB / 395.5 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.06065, allocations: 4 kB / 395.5 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.06066, allocations: 0 / 395.5 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.06068, allocations: 7.984 kB / 395.6 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.06076, allocations: 43.88 kB / 395.6 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/0.0614, allocations: 0.5177 MB / 396.1 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.06151, allocations: 59.06 kB / 396.2 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.06158, allocations: 51.62 kB / 396.2 MB, free: 1.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2147/0.2763, allocations: 24.65 MB / 420.9 MB, free: 55.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2764, allocations: 38.36 kB / 420.9 MB, free: 55.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.484e-06/0.2764, allocations: 0 / 420.9 MB, free: 55.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004464/0.2768, allocations: 220.8 kB / 421.1 MB, free: 55.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.2768, allocations: 56.94 kB / 421.2 MB, free: 55.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.2769, allocations: 177.5 kB / 421.4 MB, free: 55.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.2769, allocations: 28.95 kB / 421.4 MB, free: 55.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.277, allocations: 138.2 kB / 421.5 MB, free: 55.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/0.277, allocations: 142.8 kB / 421.7 MB, free: 55.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.2771, allocations: 54.11 kB / 421.7 MB, free: 55.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.2772, allocations: 0.5076 MB / 422.2 MB, free: 54.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.2772, allocations: 30.48 kB / 422.2 MB, free: 54.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.751e-05/0.2773, allocations: 82.98 kB / 422.3 MB, free: 54.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.2775, allocations: 132.5 kB / 422.5 MB, free: 54.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2775, allocations: 0 / 422.5 MB, free: 54.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00028/0.2778, allocations: 184.7 kB / 422.6 MB, free: 54.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.2778, allocations: 2.875 kB / 422.6 MB, free: 54.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.2778, allocations: 2.062 kB / 422.6 MB, free: 54.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.2778, allocations: 9.125 kB / 422.6 MB, free: 54.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.2779, allocations: 7.219 kB / 422.7 MB, free: 54.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2779, allocations: 3 kB / 422.7 MB, free: 54.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/0.278, allocations: 25.3 kB / 422.7 MB, free: 54.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.278, allocations: 3.938 kB / 422.7 MB, free: 54.7 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.759e-05/0.278, allocations: 161.7 kB / 422.8 MB, free: 54.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.2781, allocations: 22.77 kB / 422.9 MB, free: 54.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.2784, allocations: 210.9 kB / 423.1 MB, free: 54.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.2784, allocations: 10.91 kB / 423.1 MB, free: 54.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2784, allocations: 0 / 423.1 MB, free: 54.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2784, allocations: 0 / 423.1 MB, free: 54.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.2785, allocations: 182.2 kB / 423.3 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.2785, allocations: 6.344 kB / 423.3 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.2786, allocations: 7.281 kB / 423.3 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2786, allocations: 3.188 kB / 423.3 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.2786, allocations: 0 / 423.3 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2786, allocations: 3.969 kB / 423.3 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2786, allocations: 5.422 kB / 423.3 MB, free: 54.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.2788, allocations: 335.4 kB / 423.6 MB, free: 54.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.2788, allocations: 31.67 kB / 423.6 MB, free: 54.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.2789, allocations: 0 / 423.6 MB, free: 54.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.2789, allocations: 7.406 kB / 423.7 MB, free: 54.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.279, allocations: 11.09 kB / 423.7 MB, free: 54.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.279, allocations: 0 / 423.7 MB, free: 54.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.229e-05/0.279, allocations: 138.7 kB / 423.8 MB, free: 53.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.279, allocations: 0 / 423.8 MB, free: 53.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002291/0.2813, allocations: 1.129 MB / 424.9 MB, free: 53.98 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.003894/0.2852, allocations: 1.849 MB / 426.8 MB, free: 53.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.2855, allocations: 152.5 kB / 426.9 MB, free: 53.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2855, allocations: 0 / 426.9 MB, free: 53.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.13e-05/0.2855, allocations: 95.91 kB / 427 MB, free: 53.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.2862, allocations: 150.8 kB / 427.2 MB, free: 53.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008366/0.287, allocations: 314.9 kB / 427.5 MB, free: 53.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.2871, allocations: 79.17 kB / 427.6 MB, free: 53.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.942e-05/0.2872, allocations: 11.25 kB / 427.6 MB, free: 53.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.2872, allocations: 18.5 kB / 427.6 MB, free: 53.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2872, allocations: 0 / 427.6 MB, free: 53.22 MB / 330.7 MB Notification: Performance of Templates: time 0.03922/0.3264, allocations: 38.84 MB / 466.4 MB, free: 19.88 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: 4.997044663876295]