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.0008707/0.0008707, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009826/0.0009826, allocations: 173 kB / 23.5 MB, free: 1.055 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.8997/0.8997, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.03112/0.03112, allocations: 7.524 MB / 267.8 MB, free: 6.039 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.094e-06/2.094e-06, allocations: 0 / 338.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.936e-05, allocations: 2.312 kB / 338.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01019/0.01022, allocations: 13.25 MB / 351.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.02358, allocations: 17.38 MB / 369.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.0237, allocations: 0 / 369.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.02389, allocations: 43.67 kB / 369.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.02401, allocations: 75.39 kB / 369.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01226/0.03627, allocations: 6.782 MB / 376.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.03645, allocations: 182.8 kB / 376.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.0365, allocations: 9.625 kB / 376.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.03666, allocations: 91.77 kB / 376.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.03673, allocations: 47.91 kB / 376.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.03674, allocations: 4 kB / 376.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0112/0.04794, allocations: 10.35 MB / 386.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.04797, allocations: 15.92 kB / 386.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.04804, allocations: 47.91 kB / 386.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.05824, allocations: 7.78 MB / 394.7 MB, free: 3.109 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.05825, allocations: 0 / 394.7 MB, free: 3.109 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.05825, allocations: 4 kB / 394.7 MB, free: 3.105 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.05826, allocations: 3.938 kB / 394.7 MB, free: 3.102 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.002464/0.06072, allocations: 1.403 MB / 396.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.06077, allocations: 8.625 kB / 396.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.0609, allocations: 36.83 kB / 396.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.06109, allocations: 168.3 kB / 396.3 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.0611, allocations: 8.375 kB / 396.3 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.06112, allocations: 8.375 kB / 396.3 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.06165, allocations: 325.4 kB / 396.7 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.06166, allocations: 3.938 kB / 396.7 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.06167, allocations: 4 kB / 396.7 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.06168, allocations: 8 kB / 396.7 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.06207, allocations: 219.6 kB / 396.9 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.0627, allocations: 1.064 MB / 397.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.06312, allocations: 273.1 kB / 398.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.06318, allocations: 51.05 kB / 398.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3044/0.3676, allocations: 123.2 MB / 0.5093 GB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.3677, allocations: 41.39 kB / 0.5093 GB, free: 12.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.044e-06/0.3677, allocations: 0 / 0.5093 GB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001064/0.3687, allocations: 417.2 kB / 0.5097 GB, free: 12.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3688, allocations: 110.8 kB / 0.5098 GB, free: 12.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3689, allocations: 219.7 kB / 0.51 GB, free: 11.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3689, allocations: 29.7 kB / 0.51 GB, free: 11.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.369, allocations: 162.7 kB / 0.5102 GB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.369, allocations: 44.41 kB / 0.5102 GB, free: 11.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.369, allocations: 51.31 kB / 0.5103 GB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3691, allocations: 0.4962 MB / 0.5108 GB, free: 11.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.726e-05/0.3692, allocations: 12 kB / 0.5108 GB, free: 11.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.3693, allocations: 97.47 kB / 0.5109 GB, free: 10.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.3694, allocations: 129.4 kB / 0.511 GB, free: 10.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3694, allocations: 2.812 kB / 0.511 GB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001671/0.3695, allocations: 137.4 kB / 0.5111 GB, free: 10.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3696, allocations: 8.938 kB / 0.5111 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3696, allocations: 0 / 0.5111 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3696, allocations: 4 kB / 0.5111 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3697, allocations: 43.86 kB / 0.5112 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3697, allocations: 12.2 kB / 0.5112 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.3698, allocations: 19.83 kB / 0.5112 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.3698, allocations: 12 kB / 0.5112 GB, free: 10.5 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 7.818e-05/0.3699, allocations: 168.5 kB / 0.5114 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.3699, allocations: 11.95 kB / 0.5114 GB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.3705, allocations: 0.7262 MB / 0.5121 GB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.3705, allocations: 23.91 kB / 0.5121 GB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3705, allocations: 3.938 kB / 0.5121 GB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3705, allocations: 0 / 0.5121 GB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.3708, allocations: 387.1 kB / 0.5125 GB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3708, allocations: 0 / 0.5125 GB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.3709, allocations: 27.97 kB / 0.5125 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3709, allocations: 0 / 0.5125 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3709, allocations: 8 kB / 0.5125 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3709, allocations: 0 / 0.5125 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3709, allocations: 4 kB / 0.5125 GB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.3713, allocations: 0.7929 MB / 0.5133 GB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.3713, allocations: 59.5 kB / 0.5134 GB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3714, allocations: 11.61 kB / 0.5134 GB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.3714, allocations: 10.62 kB / 0.5134 GB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.3715, allocations: 19.91 kB / 0.5134 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.3715, allocations: 8 kB / 0.5134 GB, free: 8.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.667e-05/0.3716, allocations: 160.6 kB / 0.5136 GB, free: 8.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3716, allocations: 0 / 0.5136 GB, free: 8.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002573/0.3741, allocations: 1.446 MB / 0.515 GB, free: 6.586 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.003797/0.3779, allocations: 1.934 MB / 0.5169 GB, free: 4.805 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.3781, allocations: 153.4 kB / 0.517 GB, free: 4.652 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.3781, allocations: 0 / 0.517 GB, free: 4.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.3783, allocations: 140.6 kB / 0.5172 GB, free: 4.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.3786, allocations: 57.77 kB / 0.5172 GB, free: 4.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009926/0.3796, allocations: 0.7021 MB / 0.5179 GB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.779e-05/0.3797, allocations: 109.8 kB / 0.518 GB, free: 3.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.3798, allocations: 112.1 kB / 0.5181 GB, free: 3.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.3799, allocations: 20.5 kB / 0.5181 GB, free: 3.477 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3799, allocations: 3.938 kB / 0.5181 GB, free: 3.473 MB / 362.7 MB Notification: Performance of Templates: time 0.1309/0.5108, allocations: 52.74 MB / 0.5696 GB, free: 133.9 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: 4.921670060139149]