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.001026/0.001026, allocations: 112.1 kB / 16.42 MB, free: 6.453 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.0009784/0.0009784, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.314/1.314, 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.04598/0.04598, allocations: 9.088 MB / 279.7 MB, free: 2.953 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.001449/0.001449, allocations: 74.42 kB / 388.1 MB, free: 47.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07833/0.07979, allocations: 48.17 MB / 436.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01242/0.09225, allocations: 13.14 MB / 449.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0183/0.1106, allocations: 17.74 MB / 467.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.1108, allocations: 0 / 467.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.1111, allocations: 59.64 kB / 467.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.1112, allocations: 71.39 kB / 467.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01671/0.1279, allocations: 6.709 MB / 474 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1282, allocations: 167 kB / 474.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.1283, allocations: 17.09 kB / 474.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.1284, allocations: 63.72 kB / 474.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1285, allocations: 59.77 kB / 474.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1285, allocations: 8 kB / 474.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01918/0.1477, allocations: 10.82 MB / 485.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.1478, allocations: 15.92 kB / 485.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1479, allocations: 67.66 kB / 485.2 MB, free: 6.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.1611, allocations: 6.055 MB / 491.3 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.1611, allocations: 0 / 491.3 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1611, allocations: 3.938 kB / 491.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.1611, allocations: 4 kB / 491.3 MB, free: 0.4961 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.004282/0.1654, allocations: 1.345 MB / 492.6 MB, free: 15.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1655, allocations: 8.031 kB / 492.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.1655, allocations: 16.78 kB / 492.7 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1657, allocations: 188 kB / 492.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1657, allocations: 8.375 kB / 492.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1657, allocations: 20.11 kB / 492.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009036/0.1666, allocations: 329.5 kB / 493.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1667, allocations: 0 / 493.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.1667, allocations: 0 / 493.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1667, allocations: 4 kB / 493.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009736/0.1677, allocations: 311.6 kB / 493.5 MB, free: 14.18 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.0009195/0.1686, allocations: 1.048 MB / 494.5 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.1695, allocations: 299.6 kB / 494.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.1697, allocations: 86.52 kB / 494.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.663/0.8327, allocations: 184.3 MB / 0.6633 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.8328, allocations: 34.56 kB / 0.6634 GB, free: 14.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.565e-06/0.8328, allocations: 0 / 0.6634 GB, free: 14.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.002068/0.8349, allocations: 495.4 kB / 0.6638 GB, free: 13.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.835, allocations: 106.8 kB / 0.6639 GB, free: 13.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.8351, allocations: 151.8 kB / 0.6641 GB, free: 13.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.8351, allocations: 25.7 kB / 0.6641 GB, free: 13.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.8352, allocations: 115.9 kB / 0.6642 GB, free: 13.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.8353, allocations: 53.16 kB / 0.6643 GB, free: 13.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.8353, allocations: 33.7 kB / 0.6643 GB, free: 13.42 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8355, allocations: 326.6 kB / 0.6646 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.8357, allocations: 55.95 kB / 0.6647 GB, free: 13.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.836, allocations: 110.7 kB / 0.6648 GB, free: 12.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.8364, allocations: 179.8 kB / 0.6649 GB, free: 12.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8364, allocations: 0 / 0.6649 GB, free: 12.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005429/0.8369, allocations: 215 kB / 0.6651 GB, free: 12.51 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.837, allocations: 4 kB / 0.6651 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.837, allocations: 4 kB / 0.6651 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.837, allocations: 3.797 kB / 0.6652 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.8372, allocations: 56.12 kB / 0.6652 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.8373, allocations: 0 / 0.6652 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.8374, allocations: 25.7 kB / 0.6652 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.8374, allocations: 12 kB / 0.6652 GB, free: 12.41 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.0001087/0.8376, allocations: 131.4 kB / 0.6654 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.8377, allocations: 7.906 kB / 0.6654 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.8388, allocations: 1.137 MB / 0.6665 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.8389, allocations: 0 / 0.6665 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.8389, allocations: 7.984 kB / 0.6665 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.839, allocations: 129.9 kB / 0.6666 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.839, allocations: 7.938 kB / 0.6666 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.8393, allocations: 23.97 kB / 0.6666 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.8393, allocations: 23.86 kB / 0.6667 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001002/0.8404, allocations: 0.7881 MB / 0.6674 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008739/0.8412, allocations: 0.8437 MB / 0.6683 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003686/0.8416, allocations: 268.8 kB / 0.6685 GB, free: 9.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.738e-05/0.8417, allocations: 107.9 kB / 0.6686 GB, free: 8.914 MB / 478.1 MB Notification: Performance of Backend: time 3.61e-07/0.8417, allocations: 0 / 0.6686 GB, free: 8.914 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008416/0.8501, allocations: 2.193 MB / 0.6708 GB, free: 7.008 MB / 478.1 MB Notification: Performance of SimCode: time 0.0008983/0.851, allocations: 0.9057 MB / 0.6716 GB, free: 6.055 MB / 478.1 MB Notification: Performance of Templates: time 0.228/1.079, allocations: 58.49 MB / 0.7288 GB, free: 180.7 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)