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.001825/0.001825, allocations: 93.47 kB / 19.44 MB, free: 336 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.002022/0.002022, allocations: 169.6 kB / 22.76 MB, free: 1.66 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.07226/0.07226, allocations: 7.515 MB / 267.1 MB, free: 6.039 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.793e-06/1.793e-06, allocations: 0 / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.311e-05, allocations: 2.312 kB / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.01795/0.01797, allocations: 18 MB / 355.9 MB, free: 9.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02242/0.04039, allocations: 17.1 MB / 373 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.04053, allocations: 0 / 373 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007602/0.04129, allocations: 254.6 kB / 373.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005598/0.04185, allocations: 222.7 kB / 373.5 MB, free: 7.66 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.01875/0.0606, allocations: 7.511 MB / 381 MB, free: 112 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.06104, allocations: 306.2 kB / 381.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.06109, allocations: 9.797 kB / 381.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.0614, allocations: 179.5 kB / 381.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.06151, allocations: 51.92 kB / 381.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.06153, allocations: 3.938 kB / 381.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/0.07668, allocations: 7.335 MB / 388.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.07672, allocations: 19.86 kB / 388.9 MB, free: 8.195 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.07689, allocations: 55.92 kB / 388.9 MB, free: 8.141 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.08879, allocations: 4.5 MB / 393.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.0888, allocations: 4 kB / 393.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.0888, allocations: 0 / 393.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.0888, allocations: 0 / 393.4 MB, free: 3.625 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.002406/0.09121, allocations: 1.033 MB / 394.5 MB, free: 2.551 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.09125, allocations: 12.56 kB / 394.5 MB, free: 2.539 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.09132, allocations: 19.91 kB / 394.5 MB, free: 2.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.09148, allocations: 135.8 kB / 394.6 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.09149, allocations: 8 kB / 394.6 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.09151, allocations: 7.938 kB / 394.6 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.09178, allocations: 125.8 kB / 394.8 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.09179, allocations: 0 / 394.8 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.0918, allocations: 0 / 394.8 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.09182, allocations: 11.98 kB / 394.8 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.09199, allocations: 51.97 kB / 394.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/0.09272, allocations: 0.5137 MB / 395.3 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.09288, allocations: 67.05 kB / 395.4 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.093, allocations: 55.67 kB / 395.5 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2307/0.3237, allocations: 24.66 MB / 420.1 MB, free: 83.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3237, allocations: 37.2 kB / 420.2 MB, free: 83.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.734e-06/0.3237, allocations: 2 kB / 420.2 MB, free: 83.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004939/0.3242, allocations: 244.1 kB / 420.4 MB, free: 83.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.3243, allocations: 59.83 kB / 420.5 MB, free: 83.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.3243, allocations: 182 kB / 420.6 MB, free: 82.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.3243, allocations: 29.2 kB / 420.7 MB, free: 82.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.3244, allocations: 139.8 kB / 420.8 MB, free: 82.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.175e-05/0.3244, allocations: 146 kB / 420.9 MB, free: 82.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.3245, allocations: 49.73 kB / 421 MB, free: 82.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.3246, allocations: 0.5078 MB / 421.5 MB, free: 82.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.3247, allocations: 42.77 kB / 421.5 MB, free: 82.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3248, allocations: 89.2 kB / 421.6 MB, free: 81.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.3249, allocations: 167.3 kB / 421.8 MB, free: 81.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.325, allocations: 0 / 421.8 MB, free: 81.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002781/0.3252, allocations: 200 kB / 422 MB, free: 81.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.3253, allocations: 13.81 kB / 422 MB, free: 81.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.3253, allocations: 0 / 422 MB, free: 81.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3253, allocations: 4 kB / 422 MB, free: 81.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.3254, allocations: 7.984 kB / 422 MB, free: 81.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3254, allocations: 4 kB / 422 MB, free: 81.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.3254, allocations: 21.09 kB / 422 MB, free: 81.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.3255, allocations: 4 kB / 422 MB, free: 81.59 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 7.7e-05/0.3255, allocations: 168.6 kB / 422.2 MB, free: 81.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.3256, allocations: 23.83 kB / 422.2 MB, free: 81.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.326, allocations: 236 kB / 422.5 MB, free: 81.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.326, allocations: 7.984 kB / 422.5 MB, free: 81.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.326, allocations: 0 / 422.5 MB, free: 81.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.326, allocations: 0 / 422.5 MB, free: 81.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.3261, allocations: 185.4 kB / 422.6 MB, free: 80.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3262, allocations: 0 / 422.6 MB, free: 80.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.3262, allocations: 4 kB / 422.6 MB, free: 80.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3262, allocations: 0 / 422.6 MB, free: 80.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3262, allocations: 11.94 kB / 422.7 MB, free: 80.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3262, allocations: 0 / 422.7 MB, free: 80.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3262, allocations: 2.156 kB / 422.7 MB, free: 80.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.3265, allocations: 349.3 kB / 423 MB, free: 80.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.3265, allocations: 32.77 kB / 423 MB, free: 80.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3266, allocations: 11.12 kB / 423 MB, free: 80.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.3267, allocations: 4 kB / 423.1 MB, free: 80.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.3267, allocations: 11.94 kB / 423.1 MB, free: 80.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.3267, allocations: 4 kB / 423.1 MB, free: 80.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.713e-05/0.3268, allocations: 142.9 kB / 423.2 MB, free: 80.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3268, allocations: 0 / 423.2 MB, free: 80.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002098/0.3289, allocations: 1.136 MB / 424.3 MB, free: 79.39 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.00412/0.333, allocations: 1.848 MB / 426.2 MB, free: 77.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.3334, allocations: 169.2 kB / 426.4 MB, free: 77.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3334, allocations: 0 / 426.4 MB, free: 77.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3335, allocations: 108.9 kB / 426.5 MB, free: 77.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.3345, allocations: 152.4 kB / 426.6 MB, free: 77.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.3349, allocations: 302.4 kB / 426.9 MB, free: 76.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.093e-05/0.335, allocations: 115.9 kB / 427 MB, free: 76.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.279e-05/0.3351, allocations: 7.328 kB / 427 MB, free: 76.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.3351, allocations: 16.5 kB / 427 MB, free: 76.8 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3351, allocations: 0 / 427 MB, free: 76.8 MB / 330.7 MB Notification: Performance of Templates: time 0.03443/0.3695, allocations: 30.62 MB / 457.7 MB, free: 46.39 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: 7.868012531893328]