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.0009641/0.0009641, allocations: 93.06 kB / 19.65 MB, free: 280 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.001056/0.001056, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9792/0.9792, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.03989/0.03989, allocations: 7.523 MB / 267.5 MB, free: 5.992 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 1.603e-06/1.603e-06, allocations: 0 / 338.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.942e-05, allocations: 2.312 kB / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.03518/0.0352, allocations: 13.28 MB / 351.9 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01933/0.05452, allocations: 17.42 MB / 369.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.05468, allocations: 4 kB / 369.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.05489, allocations: 51.67 kB / 369.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.05501, allocations: 67.39 kB / 369.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01327/0.06828, allocations: 6.786 MB / 376.2 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.06849, allocations: 182.8 kB / 376.4 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.06853, allocations: 9.625 kB / 376.4 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.0687, allocations: 91.78 kB / 376.5 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.06878, allocations: 47.91 kB / 376.6 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.0688, allocations: 7.938 kB / 376.6 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01353/0.08233, allocations: 10.35 MB / 386.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.08237, allocations: 15.92 kB / 386.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.12e-05/0.08246, allocations: 47.86 kB / 387 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.09541, allocations: 7.788 MB / 394.8 MB, free: 2.688 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.09542, allocations: 0 / 394.8 MB, free: 2.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09542, allocations: 7.938 kB / 394.8 MB, free: 2.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.09542, allocations: 0 / 394.8 MB, free: 2.68 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.003265/0.09869, allocations: 1.399 MB / 396.2 MB, free: 1.238 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.09874, allocations: 8.625 kB / 396.2 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.0989, allocations: 36.83 kB / 396.2 MB, free: 1.195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.0991, allocations: 179.2 kB / 396.4 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.09911, allocations: 4.375 kB / 396.4 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.09913, allocations: 8.375 kB / 396.4 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.09971, allocations: 332.7 kB / 396.7 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.09972, allocations: 3.938 kB / 396.7 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.09974, allocations: 0 / 396.7 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.09975, allocations: 7.938 kB / 396.7 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.1001, allocations: 215.7 kB / 397 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/0.1008, allocations: 1.056 MB / 398 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.1013, allocations: 269.1 kB / 398.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.1014, allocations: 59.03 kB / 398.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3333/0.4347, allocations: 123.2 MB / 0.5093 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.4347, allocations: 36.95 kB / 0.5094 GB, free: 13.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.104e-06/0.4347, allocations: 0 / 0.5094 GB, free: 13.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001052/0.4358, allocations: 427.6 kB / 0.5098 GB, free: 13.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.4358, allocations: 106.8 kB / 0.5099 GB, free: 12.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4359, allocations: 214.1 kB / 0.5101 GB, free: 12.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.4359, allocations: 25.7 kB / 0.5101 GB, free: 12.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.436, allocations: 163 kB / 0.5102 GB, free: 12.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.436, allocations: 43.94 kB / 0.5103 GB, free: 12.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.4361, allocations: 58.75 kB / 0.5103 GB, free: 12.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4362, allocations: 0.4923 MB / 0.5108 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.4363, allocations: 23.55 kB / 0.5108 GB, free: 11.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.402e-05/0.4363, allocations: 96.77 kB / 0.5109 GB, free: 11.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.4365, allocations: 120.2 kB / 0.5111 GB, free: 11.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4365, allocations: 8 kB / 0.5111 GB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001874/0.4367, allocations: 138.1 kB / 0.5112 GB, free: 11.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4367, allocations: 7.938 kB / 0.5112 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4367, allocations: 4 kB / 0.5112 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4367, allocations: 0 / 0.5112 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.4368, allocations: 46.03 kB / 0.5112 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4368, allocations: 4.219 kB / 0.5113 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.4369, allocations: 27.88 kB / 0.5113 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.4369, allocations: 4 kB / 0.5113 GB, free: 11.41 MB / 378.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 9.417e-05/0.437, allocations: 167.9 kB / 0.5114 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.4371, allocations: 19.91 kB / 0.5115 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/0.4377, allocations: 0.7259 MB / 0.5122 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.4377, allocations: 15.98 kB / 0.5122 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.4378, allocations: 7.984 kB / 0.5122 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4378, allocations: 0 / 0.5122 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.4381, allocations: 382.8 kB / 0.5126 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4381, allocations: 4 kB / 0.5126 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.004e-05/0.4382, allocations: 23.98 kB / 0.5126 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.4382, allocations: 0 / 0.5126 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4382, allocations: 7.984 kB / 0.5126 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.4382, allocations: 9.188 kB / 0.5126 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4382, allocations: 0 / 0.5126 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.4387, allocations: 0.7968 MB / 0.5134 GB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.4388, allocations: 59.45 kB / 0.5134 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.4388, allocations: 8 kB / 0.5134 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.4389, allocations: 14.8 kB / 0.5135 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.4389, allocations: 23.16 kB / 0.5135 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.4389, allocations: 4 kB / 0.5135 GB, free: 9.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.956e-05/0.439, allocations: 153.8 kB / 0.5136 GB, free: 8.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.439, allocations: 0 / 0.5136 GB, free: 8.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003118/0.4421, allocations: 1.446 MB / 0.515 GB, free: 7.512 MB / 378.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.004559/0.4467, allocations: 1.932 MB / 0.5169 GB, free: 5.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.4469, allocations: 152.6 kB / 0.5171 GB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4469, allocations: 0 / 0.5171 GB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.447, allocations: 138.5 kB / 0.5172 GB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.4474, allocations: 52.44 kB / 0.5173 GB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.4485, allocations: 0.701 MB / 0.5179 GB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.22e-05/0.4486, allocations: 109.8 kB / 0.518 GB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.4487, allocations: 108.3 kB / 0.5182 GB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.4487, allocations: 24.5 kB / 0.5182 GB, free: 4.434 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.4487, allocations: 0 / 0.5182 GB, free: 4.434 MB / 378.7 MB Notification: Performance of Templates: time 0.1565/0.6052, allocations: 52.74 MB / 0.5697 GB, free: 129.6 MB / 410.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: 5.589472951833159]