Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001804/0.001804, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.718/1.718, allocations: 194.4 MB / 202.4 MB, free: 12.96 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.001698/0.001697, allocations: 112.1 kB / 247.4 MB, free: 15.95 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.1782/0.1782, allocations: 39.95 MB / 332.2 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.902e-05, allocations: 4 kB / 393.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.299, allocations: 54.87 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.858/7.157, allocations: 2.626 GB / 3.064 GB, free: 120.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/7.157, allocations: 89.14 kB / 3.064 GB, free: 120.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.827/8.984, allocations: 497.4 MB / 3.55 GB, free: 43.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.194e-06/8.984, allocations: 0 / 3.55 GB, free: 43.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.476e-05/8.984, allocations: 16 kB / 3.55 GB, free: 43.84 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.007545/8.992, allocations: 1.716 MB / 3.551 GB, free: 42.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/8.992, allocations: 8.031 kB / 3.551 GB, free: 42.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/8.995, allocations: 331.8 kB / 3.552 GB, free: 41.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/8.996, allocations: 0.6141 MB / 3.552 GB, free: 41.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/8.996, allocations: 91.66 kB / 3.552 GB, free: 41.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/8.996, allocations: 35.95 kB / 3.552 GB, free: 41.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001348/8.998, allocations: 0.6429 MB / 3.553 GB, free: 40.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/8.999, allocations: 0.8817 MB / 3.554 GB, free: 39.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/8.999, allocations: 7.938 kB / 3.554 GB, free: 39.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/8.999, allocations: 6.844 kB / 3.554 GB, free: 39.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-05/9, allocations: 37.3 kB / 3.554 GB, free: 39.36 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.5036/9.503, allocations: 83.07 MB / 3.635 GB, free: 50.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/9.504, allocations: 360.6 kB / 3.635 GB, free: 50.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/9.504, allocations: 161.7 kB / 3.635 GB, free: 50.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06098/9.565, allocations: 33.98 MB / 3.669 GB, free: 30.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.03e-05/9.565, allocations: 37.47 kB / 3.669 GB, free: 30.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 3.887e-06/9.565, allocations: 0 / 3.669 GB, free: 30.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.006477/9.572, allocations: 1.366 MB / 3.67 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/9.572, allocations: 132.5 kB / 3.67 GB, free: 29.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009356/9.573, allocations: 492.4 kB / 3.671 GB, free: 29.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.363e-05/9.573, allocations: 30.55 kB / 3.671 GB, free: 29.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/9.573, allocations: 437.1 kB / 3.671 GB, free: 29.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/9.573, allocations: 133.4 kB / 3.671 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/9.573, allocations: 0 / 3.671 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001705/9.574, allocations: 378 kB / 3.672 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/9.574, allocations: 198.1 kB / 3.672 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/9.574, allocations: 0.5606 MB / 3.672 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007286/9.575, allocations: 315.5 kB / 3.673 GB, free: 28.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/9.575, allocations: 3.781 kB / 3.673 GB, free: 28.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001603/9.577, allocations: 0.7793 MB / 3.673 GB, free: 28.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/9.577, allocations: 11.53 kB / 3.673 GB, free: 28.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/9.577, allocations: 9.625 kB / 3.673 GB, free: 28.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/9.577, allocations: 65.94 kB / 3.673 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/9.578, allocations: 288.1 kB / 3.674 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/9.58, allocations: 1.938 MB / 3.676 GB, free: 26.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008551/9.581, allocations: 47.92 kB / 3.676 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/9.581, allocations: 44.41 kB / 3.676 GB, free: 26.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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 () * 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.000274/9.581, allocations: 141.1 kB / 3.676 GB, free: 26.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/9.581, allocations: 66.88 kB / 3.676 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/9.583, allocations: 1.597 MB / 3.677 GB, free: 26.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/9.583, allocations: 18.86 kB / 3.677 GB, free: 26.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/9.583, allocations: 4.359 kB / 3.677 GB, free: 26.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/9.583, allocations: 0 / 3.677 GB, free: 26.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/9.586, allocations: 2.433 MB / 3.68 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/9.586, allocations: 3.719 kB / 3.68 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008237/9.587, allocations: 179.9 kB / 3.68 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002313/9.588, allocations: 79.33 kB / 3.68 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/9.588, allocations: 6.594 kB / 3.68 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/9.589, allocations: 1.975 MB / 3.682 GB, free: 24.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/9.589, allocations: 7.203 kB / 3.682 GB, free: 24.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/9.59, allocations: 1.509 MB / 3.683 GB, free: 23.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/9.591, allocations: 214.9 kB / 3.684 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/9.591, allocations: 3.812 kB / 3.684 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/9.592, allocations: 42.55 kB / 3.684 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/9.592, allocations: 28.44 kB / 3.684 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/9.592, allocations: 24.36 kB / 3.684 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004906/9.592, allocations: 350.7 kB / 3.684 GB, free: 23.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.51e-07/9.592, allocations: 0 / 3.684 GB, free: 23.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005972/9.598, allocations: 1.083 MB / 3.685 GB, free: 23.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.009567/9.608, allocations: 1.642 MB / 3.687 GB, free: 23.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00209/9.61, allocations: 0.7954 MB / 3.688 GB, free: 23.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/9.61, allocations: 4.062 kB / 3.688 GB, free: 23.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/9.611, allocations: 0.5263 MB / 3.688 GB, free: 23.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/9.613, allocations: 275.4 kB / 3.688 GB, free: 23.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/9.616, allocations: 1.41 MB / 3.69 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/9.616, allocations: 1.077 MB / 3.691 GB, free: 22.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001226/9.618, allocations: 0.5026 MB / 3.691 GB, free: 22.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/9.618, allocations: 56.81 kB / 3.691 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/9.618, allocations: 0 / 3.691 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.05149/9.669, allocations: 32.93 MB / 3.723 GB, free: 20.04 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)