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.008255/0.008255, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001729/0.001729, allocations: 197 kB / 16.68 MB, free: 5.98 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.599/1.599, allocations: 205.1 MB / 222.5 MB, free: 4.406 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04535/0.04535, allocations: 9.096 MB / 279 MB, free: 11.96 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.001774/0.001774, allocations: 67.89 kB / 387.4 MB, free: 8.027 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3667, allocations: 48.16 MB / 435.6 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01681/0.3835, allocations: 13.15 MB / 448.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02362/0.4072, allocations: 17.74 MB / 466.5 MB, free: 452 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.4074, allocations: 1.344 kB / 466.5 MB, free: 452 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.4078, allocations: 51.23 kB / 466.5 MB, free: 408 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.408, allocations: 71.77 kB / 466.6 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02458/0.4326, allocations: 6.71 MB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.4329, allocations: 170.9 kB / 473.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.433, allocations: 5.125 kB / 473.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.4331, allocations: 63.77 kB / 473.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.4333, allocations: 63.72 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.4333, allocations: 4 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0258/0.4591, allocations: 10.82 MB / 484.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.4592, allocations: 15.88 kB / 484.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.4594, allocations: 67.67 kB / 484.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0264/0.4858, allocations: 6.059 MB / 490.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4859, allocations: 4 kB / 490.6 MB, free: 9.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4859, allocations: 0 / 490.6 MB, free: 9.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.4859, allocations: 0 / 490.6 MB, free: 9.816 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.005275/0.4912, allocations: 1.345 MB / 491.9 MB, free: 8.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4912, allocations: 8.031 kB / 491.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.4913, allocations: 16.83 kB / 492 MB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.4915, allocations: 192 kB / 492.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4915, allocations: 12.36 kB / 492.2 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.4915, allocations: 16.12 kB / 492.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009435/0.4925, allocations: 326.4 kB / 492.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4925, allocations: 4 kB / 492.5 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.4925, allocations: 4 kB / 492.5 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4925, allocations: 4 kB / 492.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.4935, allocations: 319.5 kB / 492.8 MB, free: 7.477 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.001061/0.4946, allocations: 1.051 MB / 493.9 MB, free: 6.312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008472/0.4955, allocations: 287.6 kB / 494.1 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.4957, allocations: 94.45 kB / 494.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7343/1.23, allocations: 184.3 MB / 0.6627 GB, free: 101.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/1.23, allocations: 41.66 kB / 0.6627 GB, free: 101.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.996e-06/1.23, allocations: 0 / 0.6627 GB, free: 101.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001952/1.232, allocations: 487.3 kB / 0.6632 GB, free: 101 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/1.232, allocations: 110.8 kB / 0.6633 GB, free: 100.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/1.232, allocations: 152.1 kB / 0.6634 GB, free: 100.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/1.232, allocations: 26.8 kB / 0.6634 GB, free: 100.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/1.232, allocations: 107 kB / 0.6635 GB, free: 100.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/1.232, allocations: 43.28 kB / 0.6636 GB, free: 100.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/1.232, allocations: 43.73 kB / 0.6636 GB, free: 100.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/1.233, allocations: 322.6 kB / 0.6639 GB, free: 100.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/1.233, allocations: 59.12 kB / 0.664 GB, free: 100.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/1.233, allocations: 109 kB / 0.6641 GB, free: 100.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/1.233, allocations: 178.7 kB / 0.6643 GB, free: 99.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/1.233, allocations: 0 / 0.6643 GB, free: 99.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004519/1.234, allocations: 214.5 kB / 0.6645 GB, free: 99.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.234, allocations: 7.594 kB / 0.6645 GB, free: 99.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.234, allocations: 4 kB / 0.6645 GB, free: 99.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.234, allocations: 0 / 0.6645 GB, free: 99.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/1.234, allocations: 51.38 kB / 0.6645 GB, free: 99.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.234, allocations: 0 / 0.6645 GB, free: 99.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/1.234, allocations: 25 kB / 0.6645 GB, free: 99.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/1.234, allocations: 11.62 kB / 0.6646 GB, free: 99.7 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 7.804e-05/1.234, allocations: 133 kB / 0.6647 GB, free: 99.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/1.234, allocations: 9.875 kB / 0.6647 GB, free: 99.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009252/1.235, allocations: 1.141 MB / 0.6658 GB, free: 98.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/1.235, allocations: 25.97 kB / 0.6658 GB, free: 98.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.235, allocations: 4 kB / 0.6658 GB, free: 98.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/1.235, allocations: 3.984 kB / 0.6658 GB, free: 98.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/1.236, allocations: 0.5774 MB / 0.6664 GB, free: 98.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.236, allocations: 4 kB / 0.6664 GB, free: 98.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/1.236, allocations: 31.53 kB / 0.6664 GB, free: 98.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.236, allocations: 4 kB / 0.6664 GB, free: 98.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.236, allocations: 3.984 kB / 0.6664 GB, free: 98.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.236, allocations: 7.938 kB / 0.6665 GB, free: 98.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.236, allocations: 4 kB / 0.6665 GB, free: 98.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/1.237, allocations: 0.8503 MB / 0.6673 GB, free: 97.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/1.237, allocations: 132.1 kB / 0.6674 GB, free: 97.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/1.237, allocations: 7.688 kB / 0.6674 GB, free: 97.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/1.237, allocations: 19.91 kB / 0.6674 GB, free: 97.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/1.237, allocations: 15.86 kB / 0.6675 GB, free: 97.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/1.237, allocations: 4 kB / 0.6675 GB, free: 97.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.202e-05/1.237, allocations: 121.3 kB / 0.6676 GB, free: 97.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.237, allocations: 3.281 kB / 0.6676 GB, free: 97.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004102/1.241, allocations: 1.431 MB / 0.669 GB, free: 96.12 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.006619/1.248, allocations: 1.681 MB / 0.6706 GB, free: 94.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000742/1.249, allocations: 300.9 kB / 0.6709 GB, free: 94.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.249, allocations: 4.062 kB / 0.6709 GB, free: 94.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/1.249, allocations: 282.4 kB / 0.6712 GB, free: 94.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/1.25, allocations: 45.55 kB / 0.6712 GB, free: 94.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007939/1.251, allocations: 0.7297 MB / 0.6719 GB, free: 93.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/1.251, allocations: 0.7884 MB / 0.6727 GB, free: 92.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/1.251, allocations: 109 kB / 0.6728 GB, free: 92.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/1.251, allocations: 27.3 kB / 0.6728 GB, free: 92.78 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/1.251, allocations: 0 / 0.6728 GB, free: 92.78 MB / 494.1 MB Notification: Performance of Templates: time 0.04881/1.3, allocations: 51.24 MB / 0.7229 GB, free: 41.6 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)