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.001045/0.001045, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001112/0.001112, allocations: 187 kB / 17.34 MB, free: 5.766 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.357/1.357, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04459/0.04459, allocations: 9.086 MB / 279.7 MB, free: 2.969 MB / 222.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.001414/0.001414, allocations: 70.8 kB / 388.1 MB, free: 47.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08848/0.08991, allocations: 48.18 MB / 436.3 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01384/0.1038, allocations: 13.14 MB / 449.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0192/0.123, allocations: 17.74 MB / 467.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.1232, allocations: 4 kB / 467.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.1235, allocations: 63.62 kB / 467.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.1237, allocations: 59.47 kB / 467.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01739/0.1411, allocations: 6.714 MB / 474 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.1414, allocations: 167 kB / 474.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.1414, allocations: 17.11 kB / 474.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1415, allocations: 63.77 kB / 474.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.675e-05/0.1417, allocations: 59.72 kB / 474.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1417, allocations: 4 kB / 474.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02024/0.1619, allocations: 10.82 MB / 485.1 MB, free: 6.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.162, allocations: 15.92 kB / 485.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1621, allocations: 67.66 kB / 485.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.1776, allocations: 6.059 MB / 491.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1777, allocations: 0 / 491.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1777, allocations: 0 / 491.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1777, allocations: 0 / 491.3 MB, free: 0.6367 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.004464/0.1822, allocations: 1.341 MB / 492.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.1822, allocations: 16.03 kB / 492.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.1823, allocations: 16.78 kB / 492.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.1825, allocations: 188 kB / 492.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1825, allocations: 12.36 kB / 492.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1825, allocations: 16.12 kB / 492.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009666/0.1835, allocations: 325.5 kB / 493.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1836, allocations: 3.938 kB / 493.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.1836, allocations: 0 / 493.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.1836, allocations: 4 kB / 493.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.1846, allocations: 307.6 kB / 493.5 MB, free: 14.32 MB / 382.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.0009838/0.1856, allocations: 1.052 MB / 494.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008875/0.1865, allocations: 295.6 kB / 494.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.1867, allocations: 90.45 kB / 494.9 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6521/0.8389, allocations: 184.3 MB / 0.6633 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.839, allocations: 36.44 kB / 0.6634 GB, free: 14.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.465e-06/0.839, allocations: 0 / 0.6634 GB, free: 14.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.002025/0.841, allocations: 493.3 kB / 0.6638 GB, free: 14.06 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.8411, allocations: 110.8 kB / 0.6639 GB, free: 13.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.8413, allocations: 148.5 kB / 0.6641 GB, free: 13.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.8413, allocations: 29.7 kB / 0.6641 GB, free: 13.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.8414, allocations: 107.8 kB / 0.6642 GB, free: 13.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.8415, allocations: 53.3 kB / 0.6643 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.8415, allocations: 37.7 kB / 0.6643 GB, free: 13.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8417, allocations: 322.6 kB / 0.6646 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.8419, allocations: 60.88 kB / 0.6647 GB, free: 13.17 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.8421, allocations: 113.3 kB / 0.6648 GB, free: 13.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.8426, allocations: 179.9 kB / 0.6649 GB, free: 12.85 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8426, allocations: 4 kB / 0.6649 GB, free: 12.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006073/0.8432, allocations: 205.7 kB / 0.6651 GB, free: 12.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.8432, allocations: 4 kB / 0.6651 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.8433, allocations: 4.219 kB / 0.6651 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.8433, allocations: 11.8 kB / 0.6652 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.8435, allocations: 51.89 kB / 0.6652 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.8435, allocations: 4 kB / 0.6652 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.8437, allocations: 19.89 kB / 0.6652 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.8437, allocations: 11.94 kB / 0.6652 GB, free: 12.54 MB / 478.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 0.0001201/0.8438, allocations: 128.6 kB / 0.6654 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-05/0.8439, allocations: 21.52 kB / 0.6654 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.8452, allocations: 1.127 MB / 0.6665 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.8452, allocations: 19.97 kB / 0.6665 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8452, allocations: 0 / 0.6665 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.8452, allocations: 0 / 0.6665 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006592/0.8459, allocations: 0.5893 MB / 0.6671 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.8459, allocations: 0 / 0.6671 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.8461, allocations: 39.89 kB / 0.6671 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8461, allocations: 0 / 0.6671 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.8461, allocations: 8 kB / 0.6671 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8461, allocations: 0 / 0.6671 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8461, allocations: 0 / 0.6671 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.8471, allocations: 0.855 MB / 0.668 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.8472, allocations: 134.3 kB / 0.6681 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.8473, allocations: 7.984 kB / 0.6681 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.8475, allocations: 15.98 kB / 0.6681 GB, free: 9.527 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.8476, allocations: 23.86 kB / 0.6681 GB, free: 9.504 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.8476, allocations: 4 kB / 0.6681 GB, free: 9.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.338e-05/0.8477, allocations: 115.9 kB / 0.6682 GB, free: 9.387 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8477, allocations: 0 / 0.6682 GB, free: 9.387 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004169/0.8518, allocations: 1.428 MB / 0.6696 GB, free: 8.023 MB / 478.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.007338/0.8592, allocations: 1.686 MB / 0.6713 GB, free: 6.492 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007758/0.86, allocations: 299.7 kB / 0.6716 GB, free: 6.203 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.86, allocations: 4 kB / 0.6716 GB, free: 6.199 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.8604, allocations: 285.3 kB / 0.6718 GB, free: 5.922 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.8611, allocations: 43.03 kB / 0.6719 GB, free: 5.887 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.8621, allocations: 0.7589 MB / 0.6726 GB, free: 5.082 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.8626, allocations: 0.7884 MB / 0.6734 GB, free: 4.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.8626, allocations: 19.44 kB / 0.6734 GB, free: 4.25 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.8626, allocations: 0 / 0.6734 GB, free: 4.25 MB / 478.1 MB Notification: Performance of Templates: time 0.04057/0.9032, allocations: 27.82 MB / 0.7006 GB, free: 8.422 MB / 0.4981 GB 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)