Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.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.001852/0.001852, allocations: 84.08 kB / 19.44 MB, free: 332 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.002071/0.002071, allocations: 165.7 kB / 22.76 MB, free: 1.648 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.578/1.578, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.05932/0.05932, allocations: 7.505 MB / 267.1 MB, free: 6.047 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.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.859e-05, allocations: 2.312 kB / 337.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.02203/0.02206, allocations: 13.2 MB / 351.1 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04463/0.06669, allocations: 17.38 MB / 368.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.06687, allocations: 0 / 368.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.0672, allocations: 55.61 kB / 368.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005391/0.06774, allocations: 71.33 kB / 368.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02234/0.09008, allocations: 6.786 MB / 375.4 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.09039, allocations: 182.8 kB / 375.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.09044, allocations: 5.688 kB / 375.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.09067, allocations: 99.66 kB / 375.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.09078, allocations: 47.89 kB / 375.7 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.0908, allocations: 4 kB / 375.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02163/0.1124, allocations: 10.34 MB / 386.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.1125, allocations: 15.92 kB / 386.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1126, allocations: 47.92 kB / 386.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01787/0.1305, allocations: 7.796 MB / 393.9 MB, free: 3.152 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1305, allocations: 4 kB / 393.9 MB, free: 3.148 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1305, allocations: 0 / 393.9 MB, free: 3.148 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1305, allocations: 4 kB / 393.9 MB, free: 3.145 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.004464/0.1349, allocations: 1.41 MB / 395.3 MB, free: 1.691 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.135, allocations: 8.625 kB / 395.3 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.1352, allocations: 32.84 kB / 395.4 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1355, allocations: 168.4 kB / 395.5 MB, free: 1.461 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.1355, allocations: 8.375 kB / 395.6 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.1355, allocations: 12.36 kB / 395.6 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000982/0.1365, allocations: 324.7 kB / 395.9 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1365, allocations: 3.938 kB / 395.9 MB, free: 1.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.1365, allocations: 4 kB / 395.9 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1365, allocations: 4 kB / 395.9 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009556/0.1375, allocations: 291.6 kB / 396.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.1388, allocations: 1.08 MB / 397.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.1399, allocations: 309.1 kB / 397.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.1401, allocations: 82.97 kB / 397.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.546/0.6862, allocations: 123.2 MB / 0.5087 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.6862, allocations: 41.39 kB / 0.5087 GB, free: 12.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.6862, allocations: 0 / 0.5087 GB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001962/0.6882, allocations: 485.9 kB / 0.5092 GB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/0.6883, allocations: 110.7 kB / 0.5093 GB, free: 11.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.6885, allocations: 231.8 kB / 0.5095 GB, free: 11.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.6885, allocations: 25.7 kB / 0.5095 GB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.6887, allocations: 159.5 kB / 0.5097 GB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.6887, allocations: 51.11 kB / 0.5097 GB, free: 11.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-05/0.6888, allocations: 47.36 kB / 0.5098 GB, free: 11.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005226/0.6893, allocations: 0.4962 MB / 0.5102 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.6895, allocations: 43.97 kB / 0.5103 GB, free: 10.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.6897, allocations: 130.9 kB / 0.5104 GB, free: 10.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.6901, allocations: 174.4 kB / 0.5106 GB, free: 10.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6901, allocations: 0 / 0.5106 GB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005176/0.6907, allocations: 195.8 kB / 0.5108 GB, free: 10.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6907, allocations: 8 kB / 0.5108 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6907, allocations: 0 / 0.5108 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.6907, allocations: 4 kB / 0.5108 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.6909, allocations: 47.84 kB / 0.5108 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.6909, allocations: 0 / 0.5108 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.691, allocations: 19.89 kB / 0.5108 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.6911, allocations: 15.98 kB / 0.5108 GB, free: 10.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001543/0.6912, allocations: 168.5 kB / 0.511 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.645e-05/0.6913, allocations: 19.98 kB / 0.511 GB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.6924, allocations: 0.7132 MB / 0.5117 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.6924, allocations: 11.98 kB / 0.5117 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.6924, allocations: 7.922 kB / 0.5117 GB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6924, allocations: 0 / 0.5117 GB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.693, allocations: 379.6 kB / 0.5121 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.693, allocations: 4 kB / 0.5121 GB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.6932, allocations: 31.92 kB / 0.5121 GB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.6932, allocations: 4 kB / 0.5121 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.6932, allocations: 3.984 kB / 0.5121 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.6932, allocations: 4 kB / 0.5122 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6932, allocations: 0 / 0.5122 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009995/0.6942, allocations: 0.8202 MB / 0.513 GB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.6943, allocations: 63.5 kB / 0.513 GB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.6943, allocations: 4 kB / 0.513 GB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.6945, allocations: 15.98 kB / 0.513 GB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.6946, allocations: 19.91 kB / 0.5131 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.6946, allocations: 7.562 kB / 0.5131 GB, free: 7.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.6947, allocations: 168.6 kB / 0.5132 GB, free: 7.766 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6947, allocations: 0 / 0.5132 GB, free: 7.766 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004139/0.6989, allocations: 1.454 MB / 0.5146 GB, free: 6.309 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.007256/0.7061, allocations: 1.921 MB / 0.5165 GB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006292/0.7068, allocations: 205 kB / 0.5167 GB, free: 4.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7068, allocations: 0 / 0.5167 GB, free: 4.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.7071, allocations: 159.1 kB / 0.5169 GB, free: 4.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/0.7078, allocations: 52.42 kB / 0.5169 GB, free: 4.133 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.7091, allocations: 0.6906 MB / 0.5176 GB, free: 3.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.7094, allocations: 186.3 kB / 0.5178 GB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.7096, allocations: 118 kB / 0.5179 GB, free: 3.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.7097, allocations: 28.48 kB / 0.5179 GB, free: 3.066 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7097, allocations: 0 / 0.5179 GB, free: 3.066 MB / 362.7 MB Notification: Performance of Templates: time 0.1916/0.9013, allocations: 52.74 MB / 0.5694 GB, free: 133.2 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.758424850995652]