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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003854/0.003854, allocations: 99.28 kB / 15.73 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000966/0.000966, allocations: 197.1 kB / 16.68 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.1 MB / 222.5 MB, free: 4.461 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04324/0.04324, allocations: 9.091 MB / 279 MB, free: 12.04 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.89 kB / 387.4 MB, free: 8.047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2133, allocations: 48.15 MB / 435.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01335/0.2266, allocations: 13.15 MB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01878/0.2455, allocations: 17.74 MB / 466.5 MB, free: 216 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.2456, allocations: 1.188 kB / 466.5 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.2458, allocations: 56.62 kB / 466.5 MB, free: 168 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.246, allocations: 68.02 kB / 466.6 MB, free: 108 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0166/0.2626, allocations: 6.711 MB / 473.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.2628, allocations: 170.9 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.2629, allocations: 13.06 kB / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.263, allocations: 59.78 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.2631, allocations: 67.7 kB / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2632, allocations: 4 kB / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0169/0.2801, allocations: 10.81 MB / 484.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.2801, allocations: 15.84 kB / 484.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.2802, allocations: 67.67 kB / 484.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009636/0.2898, allocations: 6.063 MB / 490.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2898, allocations: 0 / 490.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2899, allocations: 0 / 490.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.2899, allocations: 0 / 490.6 MB, free: 9.648 MB / 366.1 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.003896/0.2938, allocations: 1.345 MB / 491.9 MB, free: 8.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2938, allocations: 8.031 kB / 491.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.2939, allocations: 20.83 kB / 492 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.294, allocations: 188 kB / 492.1 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.294, allocations: 8.375 kB / 492.2 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.2941, allocations: 20.12 kB / 492.2 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009173/0.295, allocations: 330.4 kB / 492.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.295, allocations: 0 / 492.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.295, allocations: 4 kB / 492.5 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2951, allocations: 7.938 kB / 492.5 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000987/0.2961, allocations: 307.6 kB / 492.8 MB, free: 7.316 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009968/0.2971, allocations: 1.063 MB / 493.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.2979, allocations: 291.6 kB / 494.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.2982, allocations: 86.52 kB / 494.2 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5503/0.8485, allocations: 184.3 MB / 0.6627 GB, free: 101.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.8486, allocations: 38.11 kB / 0.6627 GB, free: 101 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.844e-06/0.8486, allocations: 0 / 0.6627 GB, free: 101 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.00171/0.8503, allocations: 493.7 kB / 0.6632 GB, free: 100.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.8503, allocations: 108.2 kB / 0.6633 GB, free: 100.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.8504, allocations: 146.6 kB / 0.6634 GB, free: 100.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.8504, allocations: 27.23 kB / 0.6634 GB, free: 100.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.8505, allocations: 113.3 kB / 0.6635 GB, free: 100.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.8505, allocations: 42.77 kB / 0.6636 GB, free: 100.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.8506, allocations: 45.48 kB / 0.6636 GB, free: 100.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.787e-05/0.8506, allocations: 318.6 kB / 0.6639 GB, free: 99.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.8508, allocations: 58.81 kB / 0.664 GB, free: 99.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.851, allocations: 111 kB / 0.6641 GB, free: 99.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.8513, allocations: 174.4 kB / 0.6643 GB, free: 99.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8513, allocations: 0 / 0.6643 GB, free: 99.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004483/0.8518, allocations: 216.4 kB / 0.6645 GB, free: 99.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.8518, allocations: 4 kB / 0.6645 GB, free: 99.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8518, allocations: 4 kB / 0.6645 GB, free: 99.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.8518, allocations: 0 / 0.6645 GB, free: 99.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.852, allocations: 51.23 kB / 0.6645 GB, free: 99.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.8521, allocations: 0 / 0.6645 GB, free: 99.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.8522, allocations: 32.81 kB / 0.6646 GB, free: 99.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.8522, allocations: 8 kB / 0.6646 GB, free: 99.29 MB / 494.1 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 6.751e-05/0.8523, allocations: 132.7 kB / 0.6647 GB, free: 99.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.8524, allocations: 11.91 kB / 0.6647 GB, free: 99.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008534/0.8532, allocations: 1.142 MB / 0.6658 GB, free: 98.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.8532, allocations: 19.22 kB / 0.6658 GB, free: 98.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8533, allocations: 4 kB / 0.6658 GB, free: 98.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8533, allocations: 0 / 0.6658 GB, free: 98.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.8537, allocations: 0.5757 MB / 0.6664 GB, free: 97.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8537, allocations: 0 / 0.6664 GB, free: 97.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.8539, allocations: 31.97 kB / 0.6664 GB, free: 97.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.8539, allocations: 4 kB / 0.6664 GB, free: 97.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.8539, allocations: 7.625 kB / 0.6664 GB, free: 97.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.8539, allocations: 10.56 kB / 0.6665 GB, free: 97.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8539, allocations: 3.281 kB / 0.6665 GB, free: 97.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006707/0.8546, allocations: 0.8531 MB / 0.6673 GB, free: 97.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.8547, allocations: 132.3 kB / 0.6674 GB, free: 97.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.8547, allocations: 10.69 kB / 0.6674 GB, free: 97.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.8549, allocations: 15.92 kB / 0.6674 GB, free: 97.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.8549, allocations: 15.61 kB / 0.6675 GB, free: 97.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.855, allocations: 11.08 kB / 0.6675 GB, free: 97.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.303e-05/0.855, allocations: 111.4 kB / 0.6676 GB, free: 96.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.855, allocations: 4 kB / 0.6676 GB, free: 96.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00275/0.8578, allocations: 1.435 MB / 0.669 GB, free: 95.71 MB / 494.1 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.005925/0.8637, allocations: 1.686 MB / 0.6706 GB, free: 94.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005173/0.8642, allocations: 308.1 kB / 0.6709 GB, free: 94.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8642, allocations: 0 / 0.6709 GB, free: 94.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.8646, allocations: 282.7 kB / 0.6712 GB, free: 93.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.8651, allocations: 44.08 kB / 0.6712 GB, free: 93.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006764/0.8658, allocations: 0.7339 MB / 0.6719 GB, free: 93.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.866, allocations: 0.7884 MB / 0.6727 GB, free: 92.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.8661, allocations: 110.7 kB / 0.6728 GB, free: 92.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.8662, allocations: 19.44 kB / 0.6728 GB, free: 92.37 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.8662, allocations: 0 / 0.6728 GB, free: 92.37 MB / 494.1 MB Notification: Performance of Templates: time 0.04469/0.9109, allocations: 51.24 MB / 0.7229 GB, free: 41.18 MB / 494.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile (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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1)