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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.004729/0.004729, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04495/0.04495, allocations: 9.065 MB / 24.92 MB, free: 3.836 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 232.7 MB, free: 6.742 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009474/0.0009475, allocations: 98.81 kB / 282.6 MB, free: 4.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 12.2 kB / 342.3 MB, free: 21.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09844, allocations: 49.19 MB / 391.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.909/7.007, allocations: 2.851 GB / 3.234 GB, free: 95.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/7.008, allocations: 63.16 kB / 3.234 GB, free: 95.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7631/7.771, allocations: 177.8 MB / 3.407 GB, free: 75.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.687e-06/7.771, allocations: 0 / 3.407 GB, free: 75.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/7.771, allocations: 0 / 3.407 GB, free: 75.73 MB / 442.7 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.008637/7.78, allocations: 1.429 MB / 3.409 GB, free: 74.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/7.78, allocations: 14.59 kB / 3.409 GB, free: 74.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/7.78, allocations: 15.36 kB / 3.409 GB, free: 74.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/7.78, allocations: 180.2 kB / 3.409 GB, free: 74.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/7.78, allocations: 6.906 kB / 3.409 GB, free: 74.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/7.78, allocations: 12.66 kB / 3.409 GB, free: 74.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00093/7.781, allocations: 334 kB / 3.409 GB, free: 74.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/7.781, allocations: 10.61 kB / 3.409 GB, free: 74.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/7.781, allocations: 3.125 kB / 3.409 GB, free: 74.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/7.781, allocations: 5.469 kB / 3.409 GB, free: 74.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/7.782, allocations: 333.5 kB / 3.41 GB, free: 74.56 MB / 442.7 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.0009799/7.783, allocations: 1.056 MB / 3.411 GB, free: 73.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007672/7.784, allocations: 311 kB / 3.411 GB, free: 73.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7602/8.544, allocations: 182 MB / 3.589 GB, free: 28.78 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.506e-05/8.544, allocations: 40.28 kB / 3.589 GB, free: 28.74 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 3.787e-06/8.544, allocations: 0 / 3.589 GB, free: 28.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.002359/8.547, allocations: 0.5147 MB / 3.589 GB, free: 28.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/8.547, allocations: 107.6 kB / 3.589 GB, free: 28.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/8.547, allocations: 142.1 kB / 3.59 GB, free: 28.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/8.547, allocations: 28.39 kB / 3.59 GB, free: 28.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/8.547, allocations: 106.2 kB / 3.59 GB, free: 28.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/8.547, allocations: 48.55 kB / 3.59 GB, free: 28.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/8.547, allocations: 5.719 kB / 3.59 GB, free: 28.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/8.547, allocations: 322.3 kB / 3.59 GB, free: 28.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/8.547, allocations: 67.64 kB / 3.59 GB, free: 28.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/8.548, allocations: 119.3 kB / 3.59 GB, free: 27.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/8.548, allocations: 89.36 kB / 3.59 GB, free: 27.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/8.548, allocations: 0 / 3.59 GB, free: 27.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000588/8.549, allocations: 236.3 kB / 3.591 GB, free: 27.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/8.549, allocations: 3.875 kB / 3.591 GB, free: 27.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/8.549, allocations: 3.969 kB / 3.591 GB, free: 27.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/8.549, allocations: 224 / 3.591 GB, free: 27.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/8.549, allocations: 55.61 kB / 3.591 GB, free: 27.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/8.549, allocations: 9.719 kB / 3.591 GB, free: 27.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/8.549, allocations: 31.28 kB / 3.591 GB, free: 27.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/8.549, allocations: 10.25 kB / 3.591 GB, free: 27.91 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/8.549, allocations: 128.2 kB / 3.591 GB, free: 27.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/8.549, allocations: 16.52 kB / 3.591 GB, free: 27.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/8.551, allocations: 1.146 MB / 3.592 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/8.551, allocations: 15.36 kB / 3.592 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/8.551, allocations: 3.844 kB / 3.592 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.525e-06/8.551, allocations: 3.844 kB / 3.592 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/8.552, allocations: 0.5734 MB / 3.593 GB, free: 27.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/8.552, allocations: 3.438 kB / 3.593 GB, free: 27.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/8.552, allocations: 51.09 kB / 3.593 GB, free: 27.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/8.552, allocations: 0 / 3.593 GB, free: 27.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/8.552, allocations: 4 kB / 3.593 GB, free: 27.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/8.552, allocations: 7.047 kB / 3.593 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/8.552, allocations: 0 / 3.593 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/8.553, allocations: 0.8911 MB / 3.593 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/8.554, allocations: 140.1 kB / 3.594 GB, free: 26.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/8.554, allocations: 4 kB / 3.594 GB, free: 26.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/8.554, allocations: 27.66 kB / 3.594 GB, free: 26.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/8.554, allocations: 19.25 kB / 3.594 GB, free: 26.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/8.554, allocations: 4 kB / 3.594 GB, free: 26.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.591e-05/8.554, allocations: 109.4 kB / 3.594 GB, free: 26.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.5e-07/8.554, allocations: 0 / 3.594 GB, free: 26.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009178/8.563, allocations: 1.419 MB / 3.595 GB, free: 25.32 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01576/8.579, allocations: 1.828 MB / 3.597 GB, free: 23.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009538/8.58, allocations: 330.3 kB / 3.597 GB, free: 23.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/8.58, allocations: 0 / 3.597 GB, free: 23.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005173/8.581, allocations: 293 kB / 3.598 GB, free: 23.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/8.581, allocations: 46.58 kB / 3.598 GB, free: 23.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/8.583, allocations: 0.8983 MB / 3.598 GB, free: 22.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/8.583, allocations: 0.7988 MB / 3.599 GB, free: 22.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002521/8.583, allocations: 114.4 kB / 3.599 GB, free: 21.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/8.583, allocations: 19.44 kB / 3.599 GB, free: 21.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.472e-06/8.583, allocations: 4 kB / 3.599 GB, free: 21.92 MB / 442.7 MB Notification: Performance of Templates: time 0.05978/8.643, allocations: 33.69 MB / 3.632 GB, free: 2.777 MB / 442.7 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)