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.001922/0.001922, allocations: 115.6 kB / 16.37 MB, free: 5.539 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.00192/0.00192, allocations: 187.5 kB / 17.3 MB, free: 5.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05024/0.05024, allocations: 9.089 MB / 279.6 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.00232/0.002321, allocations: 63.91 kB / 339.5 MB, free: 7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.5004, allocations: 48.15 MB / 387.6 MB, free: 51.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.02446/0.5249, allocations: 13.14 MB / 400.8 MB, free: 42.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02622/0.5513, allocations: 17.75 MB / 418.5 MB, free: 28.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.5518, allocations: 1 kB / 418.5 MB, free: 28.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.5522, allocations: 52.59 kB / 418.6 MB, free: 28.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.5525, allocations: 75.14 kB / 418.6 MB, free: 28.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03288/0.5854, allocations: 6.706 MB / 425.4 MB, free: 21.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004887/0.5859, allocations: 162.9 kB / 425.5 MB, free: 21.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.586, allocations: 13.12 kB / 425.5 MB, free: 21.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.5863, allocations: 67.72 kB / 425.6 MB, free: 21.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.5864, allocations: 59.77 kB / 425.6 MB, free: 21.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.5865, allocations: 4 kB / 425.7 MB, free: 21.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02876/0.6152, allocations: 10.81 MB / 436.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.6154, allocations: 27.84 kB / 436.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.6156, allocations: 59.67 kB / 436.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02875/0.6444, allocations: 6.067 MB / 442.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.891e-05/0.6445, allocations: 0 / 442.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.6445, allocations: 0 / 442.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.6445, allocations: 0 / 442.6 MB, free: 4.406 MB / 318.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.008122/0.6527, allocations: 1.345 MB / 444 MB, free: 3.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.831e-05/0.6528, allocations: 12.03 kB / 444 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.653, allocations: 16.75 kB / 444 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.6532, allocations: 184.7 kB / 444.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.6533, allocations: 16.38 kB / 444.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.6533, allocations: 8.125 kB / 444.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.6545, allocations: 326 kB / 444.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.6545, allocations: 0 / 444.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.6545, allocations: 12 kB / 444.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.6546, allocations: 0 / 444.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009489/0.6555, allocations: 309.1 kB / 444.8 MB, free: 2.09 MB / 318.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.0012/0.6567, allocations: 1.056 MB / 445.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008567/0.6576, allocations: 303.6 kB / 446.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.6578, allocations: 86.52 kB / 446.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8522/1.51, allocations: 184.3 MB / 0.6158 GB, free: 45.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.186e-05/1.51, allocations: 38.55 kB / 0.6158 GB, free: 45.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 4.068e-06/1.51, allocations: 0 / 0.6158 GB, free: 45.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.002409/1.513, allocations: 492.6 kB / 0.6163 GB, free: 45.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/1.513, allocations: 106.8 kB / 0.6164 GB, free: 45.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/1.513, allocations: 165.1 kB / 0.6166 GB, free: 45.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/1.513, allocations: 25.7 kB / 0.6166 GB, free: 45.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/1.513, allocations: 114.4 kB / 0.6167 GB, free: 45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/1.513, allocations: 43.28 kB / 0.6167 GB, free: 44.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/1.513, allocations: 45.61 kB / 0.6168 GB, free: 44.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/1.513, allocations: 314.8 kB / 0.6171 GB, free: 44.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/1.514, allocations: 59.5 kB / 0.6171 GB, free: 44.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/1.514, allocations: 112.5 kB / 0.6172 GB, free: 44.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/1.514, allocations: 174.7 kB / 0.6174 GB, free: 44.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.514, allocations: 4 kB / 0.6174 GB, free: 44.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005671/1.515, allocations: 202.8 kB / 0.6176 GB, free: 44.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/1.515, allocations: 11.75 kB / 0.6176 GB, free: 44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.515, allocations: 0 / 0.6176 GB, free: 44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/1.515, allocations: 4 kB / 0.6176 GB, free: 44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/1.515, allocations: 52.11 kB / 0.6177 GB, free: 43.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/1.515, allocations: 9.125 kB / 0.6177 GB, free: 43.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/1.516, allocations: 26.56 kB / 0.6177 GB, free: 43.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/1.516, allocations: 7.984 kB / 0.6177 GB, free: 43.91 MB / 414.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.0001535/1.516, allocations: 127.9 kB / 0.6178 GB, free: 43.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/1.516, allocations: 23.69 kB / 0.6179 GB, free: 43.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/1.517, allocations: 1.131 MB / 0.619 GB, free: 42.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/1.517, allocations: 19.97 kB / 0.619 GB, free: 42.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.517, allocations: 2.344 kB / 0.619 GB, free: 42.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/1.517, allocations: 0 / 0.619 GB, free: 42.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008534/1.518, allocations: 0.5824 MB / 0.6196 GB, free: 41.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.518, allocations: 2.578 kB / 0.6196 GB, free: 41.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/1.518, allocations: 43.91 kB / 0.6196 GB, free: 41.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/1.518, allocations: 3.938 kB / 0.6196 GB, free: 41.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/1.518, allocations: 4 kB / 0.6196 GB, free: 41.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.518, allocations: 0 / 0.6196 GB, free: 41.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.518, allocations: 0 / 0.6196 GB, free: 41.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.519, allocations: 0.8493 MB / 0.6204 GB, free: 41.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/1.52, allocations: 144.3 kB / 0.6206 GB, free: 40.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/1.52, allocations: 4 kB / 0.6206 GB, free: 40.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/1.52, allocations: 15.98 kB / 0.6206 GB, free: 40.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/1.52, allocations: 15.97 kB / 0.6206 GB, free: 40.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/1.52, allocations: 5.688 kB / 0.6206 GB, free: 40.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.809e-05/1.52, allocations: 115.3 kB / 0.6207 GB, free: 40.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.52, allocations: 0 / 0.6207 GB, free: 40.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00647/1.527, allocations: 1.426 MB / 0.6221 GB, free: 39.44 MB / 414.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.01146/1.538, allocations: 1.684 MB / 0.6238 GB, free: 37.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/1.539, allocations: 310.6 kB / 0.6241 GB, free: 37.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.539, allocations: 0 / 0.6241 GB, free: 37.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00052/1.54, allocations: 281.5 kB / 0.6243 GB, free: 37.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/1.541, allocations: 55.66 kB / 0.6244 GB, free: 37.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/1.542, allocations: 0.7172 MB / 0.6251 GB, free: 36.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/1.543, allocations: 0.7923 MB / 0.6259 GB, free: 35.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002404/1.543, allocations: 115.1 kB / 0.626 GB, free: 35.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.733e-05/1.543, allocations: 23.44 kB / 0.626 GB, free: 35.59 MB / 414.1 MB Notification: Performance of SimCode: time 1.332e-06/1.543, allocations: 0 / 0.626 GB, free: 35.59 MB / 414.1 MB Notification: Performance of Templates: time 0.07463/1.618, allocations: 51.18 MB / 0.676 GB, free: 456 kB / 430.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 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1)