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.001096/0.001096, allocations: 172.1 kB / 16.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0468/0.0468, allocations: 9.072 MB / 25.94 MB, free: 3.48 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.382/1.382, allocations: 205.4 MB / 233.7 MB, free: 12.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008024/0.0008025, allocations: 90.33 kB / 283.7 MB, free: 14.65 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003727, allocations: 16 kB / 343.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2507, allocations: 49.18 MB / 392.7 MB, free: 37.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.721/6.971, allocations: 2.852 GB / 3.235 GB, free: 130.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/6.972, allocations: 70.09 kB / 3.235 GB, free: 130.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7291/7.701, allocations: 177.9 MB / 3.409 GB, free: 76.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.017e-06/7.701, allocations: 4 kB / 3.409 GB, free: 76.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/7.701, allocations: 3.844 kB / 3.409 GB, free: 76.91 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.007883/7.709, allocations: 1.419 MB / 3.41 GB, free: 76.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/7.709, allocations: 11.59 kB / 3.41 GB, free: 76.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.606e-05/7.709, allocations: 12.5 kB / 3.41 GB, free: 76.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/7.709, allocations: 194.3 kB / 3.411 GB, free: 76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/7.709, allocations: 8.938 kB / 3.411 GB, free: 76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/7.709, allocations: 11.66 kB / 3.411 GB, free: 76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/7.71, allocations: 340.2 kB / 3.411 GB, free: 75.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/7.71, allocations: 2.531 kB / 3.411 GB, free: 75.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/7.71, allocations: 7.188 kB / 3.411 GB, free: 75.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/7.71, allocations: 3.5 kB / 3.411 GB, free: 75.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009526/7.711, allocations: 337.9 kB / 3.411 GB, free: 75.9 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.001022/7.712, allocations: 1.055 MB / 3.412 GB, free: 74.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008307/7.713, allocations: 309.5 kB / 3.413 GB, free: 74.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/7.713, allocations: 101.7 kB / 3.413 GB, free: 74.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7225/8.436, allocations: 182 MB / 3.591 GB, free: 66.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.081e-05/8.436, allocations: 36.56 kB / 3.591 GB, free: 66.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 5.36e-06/8.436, allocations: 0 / 3.591 GB, free: 66.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.002308/8.438, allocations: 0.5228 MB / 3.591 GB, free: 66.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/8.438, allocations: 105.3 kB / 3.591 GB, free: 66.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/8.439, allocations: 154.2 kB / 3.591 GB, free: 65.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/8.439, allocations: 33.58 kB / 3.591 GB, free: 65.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/8.439, allocations: 109.5 kB / 3.591 GB, free: 65.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/8.439, allocations: 41.48 kB / 3.591 GB, free: 65.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/8.439, allocations: 6.719 kB / 3.591 GB, free: 65.78 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.727e-05/8.439, allocations: 321.6 kB / 3.592 GB, free: 65.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/8.439, allocations: 69.3 kB / 3.592 GB, free: 65.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/8.439, allocations: 129.5 kB / 3.592 GB, free: 65.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/8.44, allocations: 198.4 kB / 3.592 GB, free: 65.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/8.44, allocations: 3 kB / 3.592 GB, free: 65.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005254/8.44, allocations: 232.4 kB / 3.592 GB, free: 65.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/8.44, allocations: 13.58 kB / 3.592 GB, free: 65.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/8.44, allocations: 3.875 kB / 3.592 GB, free: 65.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/8.44, allocations: 3.906 kB / 3.592 GB, free: 65.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/8.441, allocations: 55.2 kB / 3.592 GB, free: 65.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/8.441, allocations: 0 / 3.592 GB, free: 65.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/8.441, allocations: 36.14 kB / 3.593 GB, free: 65.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/8.441, allocations: 11.44 kB / 3.593 GB, free: 65.27 MB / 458.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.0001234/8.441, allocations: 127.6 kB / 3.593 GB, free: 65.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/8.441, allocations: 18.56 kB / 3.593 GB, free: 65.15 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/8.442, allocations: 1.135 MB / 3.594 GB, free: 65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/8.442, allocations: 20.44 kB / 3.594 GB, free: 65 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/8.442, allocations: 0 / 3.594 GB, free: 65 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/8.442, allocations: 3.938 kB / 3.594 GB, free: 65 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/8.443, allocations: 0.5902 MB / 3.594 GB, free: 64.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/8.443, allocations: 0 / 3.594 GB, free: 64.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/8.443, allocations: 38.73 kB / 3.594 GB, free: 64.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/8.443, allocations: 3.531 kB / 3.594 GB, free: 64.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/8.443, allocations: 3.938 kB / 3.594 GB, free: 64.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/8.443, allocations: 3.594 kB / 3.594 GB, free: 64.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/8.443, allocations: 0 / 3.594 GB, free: 64.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009151/8.444, allocations: 0.8753 MB / 3.595 GB, free: 64.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/8.444, allocations: 129.2 kB / 3.595 GB, free: 64.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/8.444, allocations: 7.719 kB / 3.595 GB, free: 64.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/8.445, allocations: 26.66 kB / 3.595 GB, free: 64.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/8.445, allocations: 23.53 kB / 3.595 GB, free: 64.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/8.445, allocations: 3.812 kB / 3.595 GB, free: 64.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.519e-05/8.445, allocations: 111 kB / 3.596 GB, free: 64.24 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/8.445, allocations: 0 / 3.596 GB, free: 64.24 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007804/8.453, allocations: 1.425 MB / 3.597 GB, free: 64.2 MB / 458.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.01354/8.466, allocations: 1.84 MB / 3.599 GB, free: 63.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008953/8.467, allocations: 320.7 kB / 3.599 GB, free: 63.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/8.467, allocations: 0 / 3.599 GB, free: 63.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004778/8.468, allocations: 294.6 kB / 3.599 GB, free: 63.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/8.469, allocations: 54.03 kB / 3.599 GB, free: 63.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/8.47, allocations: 0.895 MB / 3.6 GB, free: 63.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/8.47, allocations: 0.7903 MB / 3.601 GB, free: 62.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002347/8.47, allocations: 116.1 kB / 3.601 GB, free: 62.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/8.47, allocations: 25.83 kB / 3.601 GB, free: 62.68 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/8.47, allocations: 0 / 3.601 GB, free: 62.68 MB / 458.7 MB Notification: Performance of Templates: time 0.05828/8.529, allocations: 36.7 MB / 3.637 GB, free: 52.55 MB / 458.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)