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.001269/0.001269, allocations: 104.7 kB / 16.41 MB, free: 6.449 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.001328/0.001328, allocations: 188.1 kB / 17.34 MB, free: 5.719 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.431/1.431, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04837/0.04837, allocations: 9.088 MB / 279.7 MB, free: 2.941 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.001485/0.001485, allocations: 68.08 kB / 388.1 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 48.18 MB / 436.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01475/0.1202, allocations: 13.14 MB / 449.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.141, allocations: 17.74 MB / 467.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.1412, allocations: 0 / 467.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.1415, allocations: 51.66 kB / 467.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.1417, allocations: 67.45 kB / 467.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02383/0.1655, allocations: 6.713 MB / 474 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.1659, allocations: 170.9 kB / 474.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.177e-05/0.166, allocations: 9.125 kB / 474.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.1662, allocations: 63.72 kB / 474.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1663, allocations: 63.77 kB / 474.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1664, allocations: 7.938 kB / 474.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0239/0.1903, allocations: 10.81 MB / 485.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.1904, allocations: 15.92 kB / 485.1 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.1905, allocations: 67.67 kB / 485.2 MB, free: 6.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0184/0.209, allocations: 6.059 MB / 491.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.209, allocations: 4 kB / 491.3 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.209, allocations: 0 / 491.3 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.209, allocations: 0 / 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.005377/0.2144, allocations: 1.345 MB / 492.6 MB, free: 15.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.2145, allocations: 11.97 kB / 492.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.2146, allocations: 12.84 kB / 492.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.2148, allocations: 188 kB / 492.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2148, allocations: 16.31 kB / 492.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.2149, allocations: 16.12 kB / 492.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.2159, allocations: 321.5 kB / 493.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2159, allocations: 8 kB / 493.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2159, allocations: 0 / 493.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.2159, allocations: 4 kB / 493.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.217, allocations: 311.6 kB / 493.5 MB, free: 14.17 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.00118/0.2182, allocations: 1.056 MB / 494.5 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/0.2191, allocations: 299.5 kB / 494.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.2194, allocations: 82.53 kB / 494.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6728/0.8922, allocations: 184.3 MB / 0.6633 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.8923, allocations: 45.66 kB / 0.6634 GB, free: 14.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.304e-06/0.8923, allocations: 0 / 0.6634 GB, free: 14.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.002115/0.8944, allocations: 488.3 kB / 0.6638 GB, free: 13.89 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.8945, allocations: 114.9 kB / 0.6639 GB, free: 13.76 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.8947, allocations: 146.2 kB / 0.6641 GB, free: 13.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.8948, allocations: 25.7 kB / 0.6641 GB, free: 13.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.8948, allocations: 112.5 kB / 0.6642 GB, free: 13.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.8949, allocations: 42.69 kB / 0.6642 GB, free: 13.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.895, allocations: 37.7 kB / 0.6643 GB, free: 13.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8951, allocations: 326.6 kB / 0.6646 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.8953, allocations: 63.89 kB / 0.6647 GB, free: 13.01 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.8956, allocations: 106.7 kB / 0.6648 GB, free: 12.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.896, allocations: 181 kB / 0.6649 GB, free: 12.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.896, allocations: 0 / 0.6649 GB, free: 12.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005405/0.8965, allocations: 210.4 kB / 0.6651 GB, free: 12.47 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.8966, allocations: 7.984 kB / 0.6651 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.8966, allocations: 4 kB / 0.6651 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.8966, allocations: 4 kB / 0.6651 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.8968, allocations: 47.91 kB / 0.6652 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.8969, allocations: 4 kB / 0.6652 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.897, allocations: 19.88 kB / 0.6652 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.8971, allocations: 15.94 kB / 0.6652 GB, free: 12.37 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.0001204/0.8972, allocations: 132.7 kB / 0.6654 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.8973, allocations: 11.91 kB / 0.6654 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.8985, allocations: 1.126 MB / 0.6665 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.8985, allocations: 27.97 kB / 0.6665 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8985, allocations: 0 / 0.6665 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8985, allocations: 0.75 kB / 0.6665 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.8992, allocations: 0.5922 MB / 0.6671 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.8993, allocations: 0 / 0.6671 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.8994, allocations: 35.91 kB / 0.6671 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.8994, allocations: 0 / 0.6671 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.8995, allocations: 5.125 kB / 0.6671 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8995, allocations: 4 kB / 0.6671 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8995, allocations: 0 / 0.6671 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.9004, allocations: 0.8576 MB / 0.668 GB, free: 9.531 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.9006, allocations: 136.4 kB / 0.6681 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.9006, allocations: 4 kB / 0.6681 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.9008, allocations: 19.92 kB / 0.6681 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.9009, allocations: 23.91 kB / 0.6681 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.9009, allocations: 7.25 kB / 0.6681 GB, free: 9.328 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.029e-05/0.901, allocations: 115.9 kB / 0.6682 GB, free: 9.215 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.901, allocations: 0 / 0.6682 GB, free: 9.215 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004336/0.9053, allocations: 1.426 MB / 0.6696 GB, free: 7.852 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.008123/0.9135, allocations: 1.687 MB / 0.6713 GB, free: 6.316 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008131/0.9143, allocations: 300.7 kB / 0.6716 GB, free: 6.027 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.9144, allocations: 4.438 kB / 0.6716 GB, free: 6.023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.9148, allocations: 280.8 kB / 0.6718 GB, free: 5.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/0.9155, allocations: 48.02 kB / 0.6719 GB, free: 5.711 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.9166, allocations: 0.7589 MB / 0.6726 GB, free: 4.906 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.917, allocations: 0.7884 MB / 0.6734 GB, free: 4.094 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.9171, allocations: 19.44 kB / 0.6734 GB, free: 4.074 MB / 478.1 MB Notification: Performance of SimCode: time 4.5e-07/0.9171, allocations: 4 kB / 0.6734 GB, free: 4.07 MB / 478.1 MB Notification: Performance of Templates: time 0.04495/0.962, allocations: 27.85 MB / 0.7006 GB, free: 8.223 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)