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.001956/0.001956, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002434/0.002434, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.533/1.533, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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.04913/0.04913, allocations: 7.531 MB / 267.3 MB, free: 9.605 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 0.002076/0.002076, allocations: 63.91 kB / 392.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1049, allocations: 54.93 MB / 447.7 MB, free: 4.621 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.02165/0.1266, allocations: 16.28 MB / 463.9 MB, free: 4.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.1446, allocations: 15.06 MB / 479 MB, free: 5.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.1447, allocations: 4 kB / 479 MB, free: 5.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008007/0.1455, allocations: 238.8 kB / 479.2 MB, free: 4.926 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005374/0.1461, allocations: 222.7 kB / 479.5 MB, free: 4.707 MB / 446.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.2386/0.3847, allocations: 7.402 MB / 486.9 MB, free: 46.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.385, allocations: 299.6 kB / 487.1 MB, free: 46.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.387e-05/0.385, allocations: 9.484 kB / 487.2 MB, free: 46.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.3852, allocations: 128.2 kB / 487.3 MB, free: 46.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3853, allocations: 72.7 kB / 487.4 MB, free: 46.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.3854, allocations: 3.25 kB / 487.4 MB, free: 46.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01313/0.3985, allocations: 7.28 MB / 494.6 MB, free: 46.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.3985, allocations: 22.47 kB / 494.7 MB, free: 46.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.3988, allocations: 66.3 kB / 494.7 MB, free: 46.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.4124, allocations: 3.8 MB / 498.5 MB, free: 46.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.4124, allocations: 0 / 498.5 MB, free: 46.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4124, allocations: 1.094 kB / 498.5 MB, free: 46.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.4124, allocations: 0 / 498.5 MB, free: 46.7 MB / 446.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.002916/0.4153, allocations: 0.9433 MB / 499.5 MB, free: 46.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4153, allocations: 10.34 kB / 499.5 MB, free: 46.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.4154, allocations: 14.38 kB / 499.5 MB, free: 46.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.4155, allocations: 130.6 kB / 499.6 MB, free: 45.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.4155, allocations: 5.156 kB / 499.6 MB, free: 45.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.4155, allocations: 3.25 kB / 499.6 MB, free: 45.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.4158, allocations: 169.4 kB / 499.8 MB, free: 45.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4158, allocations: 4.5 kB / 499.8 MB, free: 45.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4158, allocations: 8.672 kB / 499.8 MB, free: 45.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4158, allocations: 5.641 kB / 499.8 MB, free: 45.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.416, allocations: 119.3 kB / 499.9 MB, free: 45.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.4166, allocations: 469.8 kB / 0.4887 GB, free: 45.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.4167, allocations: 116.8 kB / 0.4888 GB, free: 45.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.4169, allocations: 98.03 kB / 0.4889 GB, free: 45.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1115/0.5283, allocations: 25.76 MB / 0.514 GB, free: 44.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.5284, allocations: 35.31 kB / 0.5141 GB, free: 44.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.786e-06/0.5284, allocations: 1.094 kB / 0.5141 GB, free: 44.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008229/0.5292, allocations: 380.1 kB / 0.5144 GB, free: 44.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.5292, allocations: 52.84 kB / 0.5145 GB, free: 44.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.5293, allocations: 118.5 kB / 0.5146 GB, free: 44.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.5293, allocations: 32.8 kB / 0.5146 GB, free: 44.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.5294, allocations: 91.34 kB / 0.5147 GB, free: 44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.651e-05/0.5294, allocations: 141.1 kB / 0.5148 GB, free: 43.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-05/0.5295, allocations: 40.28 kB / 0.5149 GB, free: 43.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.5296, allocations: 327.9 kB / 0.5152 GB, free: 43.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.5297, allocations: 97.08 kB / 0.5153 GB, free: 43.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.5299, allocations: 123.4 kB / 0.5154 GB, free: 43.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.5302, allocations: 236.6 kB / 0.5156 GB, free: 43.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5303, allocations: 0 / 0.5156 GB, free: 43.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004509/0.5307, allocations: 280.2 kB / 0.5159 GB, free: 43.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5307, allocations: 7.969 kB / 0.5159 GB, free: 43.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5307, allocations: 1.688 kB / 0.5159 GB, free: 43.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.5308, allocations: 6.469 kB / 0.5159 GB, free: 43.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.5308, allocations: 14.7 kB / 0.5159 GB, free: 43.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5308, allocations: 1.406 kB / 0.5159 GB, free: 43.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.531, allocations: 23.23 kB / 0.5159 GB, free: 43.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.531, allocations: 4.094 kB / 0.5159 GB, free: 43.2 MB / 446.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 8.482e-05/0.5311, allocations: 130.2 kB / 0.5161 GB, free: 43.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.5311, allocations: 18.73 kB / 0.5161 GB, free: 43.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005326/0.5316, allocations: 317.7 kB / 0.5164 GB, free: 42.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.5317, allocations: 9.094 kB / 0.5164 GB, free: 42.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5317, allocations: 0 / 0.5164 GB, free: 42.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5317, allocations: 1.172 kB / 0.5164 GB, free: 42.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.5319, allocations: 202.9 kB / 0.5166 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.5319, allocations: 4.125 kB / 0.5166 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.5319, allocations: 7.844 kB / 0.5166 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5319, allocations: 0 / 0.5166 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.532, allocations: 3.109 kB / 0.5166 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.532, allocations: 0.875 kB / 0.5166 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.532, allocations: 4.594 kB / 0.5166 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.5324, allocations: 375.9 kB / 0.517 GB, free: 42.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.5325, allocations: 34.08 kB / 0.517 GB, free: 42.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.5325, allocations: 6.609 kB / 0.517 GB, free: 42.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.5326, allocations: 5.469 kB / 0.517 GB, free: 42.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.5327, allocations: 15.09 kB / 0.517 GB, free: 42.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.5327, allocations: 2.562 kB / 0.517 GB, free: 42.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.455e-05/0.5327, allocations: 92.86 kB / 0.5171 GB, free: 42.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5327, allocations: 0 / 0.5171 GB, free: 42.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003494/0.5362, allocations: 1.13 MB / 0.5182 GB, free: 42.17 MB / 446.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.005699/0.5419, allocations: 1.687 MB / 0.5199 GB, free: 41.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006005/0.5425, allocations: 231.5 kB / 0.5201 GB, free: 41.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5425, allocations: 1.969 kB / 0.5201 GB, free: 41.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.5427, allocations: 128.7 kB / 0.5202 GB, free: 41.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009524/0.5437, allocations: 142.5 kB / 0.5204 GB, free: 41.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.5443, allocations: 349 kB / 0.5207 GB, free: 41.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.455e-05/0.5444, allocations: 110.6 kB / 0.5208 GB, free: 41.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.5445, allocations: 14.33 kB / 0.5208 GB, free: 41.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.5446, allocations: 18.94 kB / 0.5208 GB, free: 41.28 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5446, allocations: 0 / 0.5208 GB, free: 41.28 MB / 446.1 MB Notification: Performance of Templates: time 0.03816/0.5827, allocations: 30.28 MB / 0.5504 GB, free: 16.96 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.56118428602349] Failed to read output from testmodel.py, exit status != 0: 0.5912087459582835 0.6008654569999999 0.18606157 Calling exit ...