Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01478/0.01478, allocations: 174.5 kB / 15.12 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.918/1.918, allocations: 194.5 MB / 210.3 MB, free: 7.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001858/0.001858, allocations: 120.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2333/0.2333, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004542, allocations: 22.59 kB / 406.2 MB, free: 51.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1312, allocations: 54.87 MB / 461 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.606/6.737, allocations: 2.627 GB / 3.077 GB, free: 42.02 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/6.737, allocations: 98.72 kB / 3.077 GB, free: 41.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.966/8.703, allocations: 0.4919 GB / 3.569 GB, free: 46.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.398e-06/8.703, allocations: 1.344 kB / 3.569 GB, free: 46.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001246/8.704, allocations: 22.33 kB / 3.569 GB, free: 46.16 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.009417/8.713, allocations: 1.835 MB / 3.571 GB, free: 45.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/8.713, allocations: 10.91 kB / 3.571 GB, free: 45.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/8.716, allocations: 319.9 kB / 3.571 GB, free: 45.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/8.717, allocations: 0.6031 MB / 3.572 GB, free: 45.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/8.718, allocations: 119.5 kB / 3.572 GB, free: 44.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/8.718, allocations: 62.42 kB / 3.572 GB, free: 44.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/8.72, allocations: 1.2 MB / 3.573 GB, free: 44.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/8.72, allocations: 8.625 kB / 3.573 GB, free: 44.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/8.72, allocations: 32.72 kB / 3.573 GB, free: 44.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/8.721, allocations: 45.28 kB / 3.573 GB, free: 44.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/8.723, allocations: 1.05 MB / 3.574 GB, free: 44.66 MB / 490.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.005841/8.729, allocations: 5.603 MB / 3.58 GB, free: 40.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/8.731, allocations: 0.7845 MB / 3.58 GB, free: 40.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03518/8.766, allocations: 18.81 MB / 3.599 GB, free: 29.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/8.766, allocations: 43.72 kB / 3.599 GB, free: 29.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.316e-06/8.766, allocations: 0 / 3.599 GB, free: 29.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.007339/8.774, allocations: 2.356 MB / 3.601 GB, free: 28.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/8.774, allocations: 162.4 kB / 3.601 GB, free: 28.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008025/8.775, allocations: 0.5269 MB / 3.602 GB, free: 28.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.459e-05/8.775, allocations: 36.98 kB / 3.602 GB, free: 28.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000258/8.775, allocations: 393 kB / 3.602 GB, free: 28.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/8.775, allocations: 180.3 kB / 3.602 GB, free: 28.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/8.775, allocations: 19.06 kB / 3.602 GB, free: 28.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/8.775, allocations: 379.5 kB / 3.603 GB, free: 27.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006335/8.776, allocations: 292 kB / 3.603 GB, free: 27.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007751/8.777, allocations: 0.6391 MB / 3.604 GB, free: 27.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/8.777, allocations: 384.1 kB / 3.604 GB, free: 27.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/8.777, allocations: 2.719 kB / 3.604 GB, free: 27.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001768/8.779, allocations: 1.004 MB / 3.605 GB, free: 27.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/8.779, allocations: 10.19 kB / 3.605 GB, free: 27.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/8.779, allocations: 10.97 kB / 3.605 GB, free: 27.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/8.78, allocations: 75.58 kB / 3.605 GB, free: 27.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/8.781, allocations: 314.7 kB / 3.605 GB, free: 27.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/8.782, allocations: 1.99 MB / 3.607 GB, free: 25.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009062/8.783, allocations: 82.22 kB / 3.607 GB, free: 25.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/8.783, allocations: 41.78 kB / 3.607 GB, free: 25.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005046/8.784, allocations: 281.4 kB / 3.608 GB, free: 25.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/8.784, allocations: 68.12 kB / 3.608 GB, free: 25.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/8.787, allocations: 2.597 MB / 3.61 GB, free: 24.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.291e-05/8.787, allocations: 38.8 kB / 3.61 GB, free: 24.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/8.787, allocations: 3.938 kB / 3.61 GB, free: 24.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/8.787, allocations: 1.375 kB / 3.61 GB, free: 24.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005027/8.792, allocations: 3.787 MB / 3.614 GB, free: 24.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/8.792, allocations: 0 / 3.614 GB, free: 24.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/8.793, allocations: 242.8 kB / 3.614 GB, free: 24.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003928/8.794, allocations: 97.72 kB / 3.614 GB, free: 24.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/8.794, allocations: 14.64 kB / 3.614 GB, free: 24.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/8.795, allocations: 2.003 MB / 3.616 GB, free: 22.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/8.795, allocations: 0 / 3.616 GB, free: 22.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/8.798, allocations: 2.38 MB / 3.619 GB, free: 21.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/8.798, allocations: 332.5 kB / 3.619 GB, free: 21.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/8.798, allocations: 11.94 kB / 3.619 GB, free: 21.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/8.799, allocations: 62.17 kB / 3.619 GB, free: 21.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/8.799, allocations: 50.27 kB / 3.619 GB, free: 21.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/8.799, allocations: 23.09 kB / 3.619 GB, free: 21.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007794/8.8, allocations: 0.5437 MB / 3.62 GB, free: 21.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/8.8, allocations: 0 / 3.62 GB, free: 21.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006215/8.806, allocations: 1.137 MB / 3.621 GB, free: 20.94 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01068/8.817, allocations: 1.55 MB / 3.622 GB, free: 20.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003009/8.82, allocations: 1.111 MB / 3.623 GB, free: 20.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/8.82, allocations: 0 / 3.623 GB, free: 20.28 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001589/8.822, allocations: 0.8061 MB / 3.624 GB, free: 19.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/8.824, allocations: 363.5 kB / 3.624 GB, free: 19.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005117/8.829, allocations: 3.025 MB / 3.627 GB, free: 18.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008122/8.83, allocations: 1.188 MB / 3.629 GB, free: 17.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001213/8.831, allocations: 447.5 kB / 3.629 GB, free: 17.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/8.831, allocations: 58.69 kB / 3.629 GB, free: 17.36 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/8.831, allocations: 0 / 3.629 GB, free: 17.36 MB / 490.7 MB Notification: Performance of Templates: time 0.05883/8.89, allocations: 40.3 MB / 3.668 GB, free: 4.086 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)