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.001204/0.001204, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001356/0.001356, allocations: 166.5 kB / 22.46 MB, free: 5.363 MB / 14.72 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.362/1.362, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.04939/0.04939, allocations: 7.517 MB / 266.7 MB, free: 9.648 MB / 254.1 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 2.174e-06/2.174e-06, allocations: 0 / 392.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.572e-05, allocations: 2.281 kB / 392.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.02019/0.02022, allocations: 16.29 MB / 408.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01759/0.03781, allocations: 15.06 MB / 423.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.03798, allocations: 0 / 423.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007331/0.03872, allocations: 246.7 kB / 423.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004935/0.03921, allocations: 214.7 kB / 424 MB, free: 10.49 MB / 350.1 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.01758/0.05678, allocations: 7.519 MB / 431.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.05719, allocations: 302.2 kB / 431.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.05723, allocations: 5.812 kB / 431.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.05753, allocations: 183.4 kB / 432 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.05765, allocations: 55.84 kB / 432.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.05766, allocations: 8 kB / 432.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/0.071, allocations: 7.339 MB / 439.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.07103, allocations: 11.94 kB / 439.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.0712, allocations: 63.84 kB / 439.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009495/0.08069, allocations: 4.489 MB / 444 MB, free: 6.488 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.0807, allocations: 0 / 444 MB, free: 6.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.0807, allocations: 0 / 444 MB, free: 6.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.0807, allocations: 0 / 444 MB, free: 6.488 MB / 366.1 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.002063/0.08277, allocations: 0.9456 MB / 444.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.0828, allocations: 8.625 kB / 444.9 MB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.08285, allocations: 19.89 kB / 445 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.08297, allocations: 121 kB / 445.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.08299, allocations: 8 kB / 445.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.083, allocations: 7.938 kB / 445.1 MB, free: 5.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.08332, allocations: 168.2 kB / 445.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.08333, allocations: 0 / 445.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.08334, allocations: 0 / 445.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.08336, allocations: 23.91 kB / 445.3 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.08362, allocations: 115.9 kB / 445.4 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.08426, allocations: 480 kB / 445.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.08447, allocations: 114.5 kB / 446 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.08465, allocations: 104.8 kB / 446.1 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2462/0.3309, allocations: 25.74 MB / 471.8 MB, free: 56.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3309, allocations: 30.56 kB / 471.8 MB, free: 56.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.954e-06/0.3309, allocations: 0 / 471.8 MB, free: 56.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0005561/0.3315, allocations: 375 kB / 472.2 MB, free: 55.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.3315, allocations: 51.41 kB / 472.3 MB, free: 55.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.3315, allocations: 126.6 kB / 472.4 MB, free: 55.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.3316, allocations: 29.7 kB / 472.4 MB, free: 55.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.3316, allocations: 86.22 kB / 472.5 MB, free: 55.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.3316, allocations: 141 kB / 472.6 MB, free: 55.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.3317, allocations: 41.7 kB / 472.7 MB, free: 55.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.777e-05/0.3317, allocations: 328 kB / 473 MB, free: 55.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3318, allocations: 87.95 kB / 473.1 MB, free: 54.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.332, allocations: 129.7 kB / 473.2 MB, free: 54.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.3322, allocations: 244.8 kB / 473.4 MB, free: 54.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3322, allocations: 3.25 kB / 473.4 MB, free: 54.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003298/0.3326, allocations: 276.8 kB / 473.7 MB, free: 54.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3326, allocations: 12.69 kB / 473.7 MB, free: 54.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3326, allocations: 0 / 473.7 MB, free: 54.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3326, allocations: 4 kB / 473.7 MB, free: 54.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.114e-05/0.3327, allocations: 11.05 kB / 473.7 MB, free: 54.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3327, allocations: 4 kB / 473.8 MB, free: 54.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.15e-05/0.3328, allocations: 26.5 kB / 473.8 MB, free: 54.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.3328, allocations: 0 / 473.8 MB, free: 54.28 MB / 366.1 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.417e-05/0.3328, allocations: 129.7 kB / 473.9 MB, free: 54.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.3329, allocations: 19.86 kB / 473.9 MB, free: 54.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.3333, allocations: 320.5 kB / 474.2 MB, free: 53.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.3333, allocations: 3.984 kB / 474.2 MB, free: 53.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3333, allocations: 4 kB / 474.2 MB, free: 53.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3333, allocations: 0 / 474.2 MB, free: 53.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.3335, allocations: 198.5 kB / 474.4 MB, free: 53.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3335, allocations: 0 / 474.4 MB, free: 53.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.3335, allocations: 13.81 kB / 474.5 MB, free: 53.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3336, allocations: 4 kB / 474.5 MB, free: 53.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3336, allocations: 0 / 474.5 MB, free: 53.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3336, allocations: 3.281 kB / 474.5 MB, free: 53.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3336, allocations: 0 / 474.5 MB, free: 53.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.3339, allocations: 374.6 kB / 474.8 MB, free: 53.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.3339, allocations: 32.34 kB / 474.9 MB, free: 53.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.334, allocations: 8 kB / 474.9 MB, free: 53.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3341, allocations: 0 / 474.9 MB, free: 53.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.3341, allocations: 11.17 kB / 474.9 MB, free: 53.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.3341, allocations: 8.625 kB / 474.9 MB, free: 53.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.729e-05/0.3341, allocations: 91.27 kB / 475 MB, free: 53.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3341, allocations: 0 / 475 MB, free: 53.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00189/0.336, allocations: 1.129 MB / 476.1 MB, free: 52.07 MB / 366.1 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.003326/0.3394, allocations: 1.842 MB / 477.9 MB, free: 50.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.3397, allocations: 240 kB / 478.2 MB, free: 50.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3397, allocations: 4 kB / 478.2 MB, free: 50.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.3399, allocations: 125.6 kB / 478.3 MB, free: 50.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008482/0.3407, allocations: 159.1 kB / 478.5 MB, free: 49.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.3412, allocations: 329.6 kB / 478.8 MB, free: 49.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.322e-05/0.3412, allocations: 111.9 kB / 478.9 MB, free: 49.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.455e-05/0.3413, allocations: 12.52 kB / 478.9 MB, free: 49.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.3413, allocations: 16.5 kB / 478.9 MB, free: 49.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3413, allocations: 0 / 478.9 MB, free: 49.39 MB / 366.1 MB Notification: Performance of Templates: time 0.03056/0.3719, allocations: 30.4 MB / 0.4974 GB, free: 19.19 MB / 366.1 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.446339774876833] Failed to read output from testmodel.py, exit status != 0: 0.3794014900922775 0.388037059 0.305079671 Calling exit ...