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.00125/0.00125, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.00127/0.00127, allocations: 169 kB / 23.27 MB, free: 1.227 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.8803/0.8803, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.02934/0.02934, allocations: 7.532 MB / 267.8 MB, free: 5.84 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 2.174e-06/2.174e-06, allocations: 0 / 339.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021e-05/1.238e-05, allocations: 2.312 kB / 339.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.01154/0.01156, allocations: 17.78 MB / 356.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.02262, allocations: 16.78 MB / 373.6 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.02267, allocations: 4 kB / 373.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004404/0.02311, allocations: 250.6 kB / 373.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.0234, allocations: 222.7 kB / 374.1 MB, free: 7.586 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.009166/0.03257, allocations: 7.504 MB / 381.6 MB, free: 44 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.03278, allocations: 318.2 kB / 381.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.03281, allocations: 9.812 kB / 381.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.033, allocations: 175.5 kB / 382.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.03306, allocations: 55.83 kB / 382.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.03308, allocations: 4 kB / 382.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006531/0.03961, allocations: 7.347 MB / 389.5 MB, free: 8.121 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.03963, allocations: 15.92 kB / 389.5 MB, free: 8.105 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.03968, allocations: 63.73 kB / 389.6 MB, free: 8.047 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004123/0.0438, allocations: 4.485 MB / 394.1 MB, free: 3.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.04381, allocations: 0 / 394.1 MB, free: 3.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.04381, allocations: 0 / 394.1 MB, free: 3.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.04381, allocations: 0 / 394.1 MB, free: 3.551 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.001011/0.04482, allocations: 1.045 MB / 395.1 MB, free: 2.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.04485, allocations: 8.625 kB / 395.1 MB, free: 2.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.04488, allocations: 19.91 kB / 395.1 MB, free: 2.438 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.797e-05/0.04496, allocations: 127.9 kB / 395.3 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.04497, allocations: 0 / 395.3 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.04498, allocations: 11.94 kB / 395.3 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.04511, allocations: 126.5 kB / 395.4 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.04512, allocations: 0 / 395.4 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.04512, allocations: 0 / 395.4 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.04513, allocations: 11.98 kB / 395.4 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.04517, allocations: 35.89 kB / 395.4 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.04549, allocations: 0.4947 MB / 395.9 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.085e-05/0.04554, allocations: 55.08 kB / 396 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.04558, allocations: 39.67 kB / 396 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1463/0.1919, allocations: 20.62 MB / 416.7 MB, free: 80.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1919, allocations: 36.42 kB / 416.7 MB, free: 80.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.725e-06/0.1919, allocations: 2.625 kB / 416.7 MB, free: 80.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002505/0.1922, allocations: 194.1 kB / 416.9 MB, free: 80.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.434e-05/0.1922, allocations: 56.83 kB / 416.9 MB, free: 80.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.1923, allocations: 187.8 kB / 417.1 MB, free: 80.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.458e-06/0.1923, allocations: 26.52 kB / 417.1 MB, free: 80.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.1923, allocations: 138.1 kB / 417.3 MB, free: 80.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.1923, allocations: 141.9 kB / 417.4 MB, free: 79.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.1924, allocations: 62.44 kB / 417.5 MB, free: 79.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.1924, allocations: 0.5064 MB / 418 MB, free: 79.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.1925, allocations: 25.88 kB / 418 MB, free: 79.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.73e-05/0.1925, allocations: 70.5 kB / 418.1 MB, free: 79.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.1926, allocations: 124.4 kB / 418.2 MB, free: 79.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1926, allocations: 0 / 418.2 MB, free: 79.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0001372/0.1927, allocations: 159.7 kB / 418.4 MB, free: 79.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1927, allocations: 5.5 kB / 418.4 MB, free: 79.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1928, allocations: 6.406 kB / 418.4 MB, free: 79.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1928, allocations: 1.375 kB / 418.4 MB, free: 79.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/0.1928, allocations: 7.75 kB / 418.4 MB, free: 79.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.1928, allocations: 1.375 kB / 418.4 MB, free: 79.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.1929, allocations: 26.8 kB / 418.4 MB, free: 79.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1929, allocations: 5.719 kB / 418.4 MB, free: 79.31 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 4.716e-05/0.1929, allocations: 164.9 kB / 418.6 MB, free: 79.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.1929, allocations: 20.11 kB / 418.6 MB, free: 79.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.1931, allocations: 201.9 kB / 418.8 MB, free: 79.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.1931, allocations: 8.812 kB / 418.8 MB, free: 79.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1931, allocations: 6.656 kB / 418.8 MB, free: 79.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1932, allocations: 0.8906 kB / 418.8 MB, free: 79.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.1933, allocations: 156.9 kB / 419 MB, free: 78.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1933, allocations: 2.5 kB / 419 MB, free: 78.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.1933, allocations: 9.328 kB / 419 MB, free: 78.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1933, allocations: 0 / 419 MB, free: 78.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1933, allocations: 5.312 kB / 419 MB, free: 78.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.1933, allocations: 1.375 kB / 419 MB, free: 78.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1933, allocations: 7.703 kB / 419 MB, free: 78.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.1934, allocations: 318.6 kB / 419.3 MB, free: 78.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.1935, allocations: 28.86 kB / 419.3 MB, free: 78.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.1935, allocations: 2.172 kB / 419.3 MB, free: 78.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.873e-05/0.1935, allocations: 3.5 kB / 419.3 MB, free: 78.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.1935, allocations: 13.53 kB / 419.3 MB, free: 78.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1936, allocations: 6.375 kB / 419.3 MB, free: 78.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.314e-05/0.1936, allocations: 133.5 kB / 419.5 MB, free: 78.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1936, allocations: 0 / 419.5 MB, free: 78.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001726/0.1953, allocations: 1.13 MB / 420.6 MB, free: 78.59 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.002596/0.1979, allocations: 1.896 MB / 422.5 MB, free: 78.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.198, allocations: 132.1 kB / 422.6 MB, free: 78.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.198, allocations: 0.7188 kB / 422.6 MB, free: 78.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.1981, allocations: 94.52 kB / 422.7 MB, free: 78.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.1985, allocations: 154.3 kB / 422.9 MB, free: 78.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.1991, allocations: 313.5 kB / 423.2 MB, free: 77.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.721e-05/0.1991, allocations: 78.58 kB / 423.3 MB, free: 77.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.879e-05/0.1992, allocations: 9.391 kB / 423.3 MB, free: 77.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.1993, allocations: 176.3 kB / 423.4 MB, free: 77.84 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1993, allocations: 0 / 423.4 MB, free: 77.84 MB / 330.7 MB Notification: Performance of Templates: time 0.02723/0.2265, allocations: 37.01 MB / 460.4 MB, free: 41.56 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.666366598103195]