Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.00127, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001656/0.001656, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.597/1.597, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2905/0.2905, allocations: 37.98 MB / 307.4 MB, free: 10.1 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 68.12 kB / 374.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1317, allocations: 56.46 MB / 431.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2879/0.4196, allocations: 39.49 MB / 470.7 MB, free: 33.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02561/0.4453, allocations: 20.28 MB / 491 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.4468, allocations: 27.31 kB / 491 MB, free: 20.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.4481, allocations: 396.8 kB / 491.4 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01406/0.4622, allocations: 4.535 MB / 495.9 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008064/0.4703, allocations: 2.34 MB / 498.3 MB, free: 16.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002916/0.4732, allocations: 1.974 MB / 0.4885 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006883/0.4739, allocations: 485.6 kB / 0.489 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009314/0.4833, allocations: 4.129 MB / 0.493 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009937/0.4932, allocations: 5.462 MB / 0.4984 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002841/0.4936, allocations: 67.38 kB / 0.4984 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02119/0.5148, allocations: 7.136 MB / 0.5054 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006761/0.5155, allocations: 274.2 kB / 0.5056 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00095/0.5164, allocations: 455.3 kB / 0.5061 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01771/0.5342, allocations: 4.969 MB / 0.5109 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5342, allocations: 0 / 0.5109 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5342, allocations: 0 / 0.5109 GB, free: 6.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.5342, allocations: 0 / 0.5109 GB, free: 6.449 MB / 382.1 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.005987/0.5402, allocations: 1.638 MB / 0.5125 GB, free: 5.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.5403, allocations: 13.11 kB / 0.5125 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.5418, allocations: 223.8 kB / 0.5128 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/0.5427, allocations: 0.5261 MB / 0.5133 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.5428, allocations: 113.5 kB / 0.5134 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.5429, allocations: 63.06 kB / 0.5134 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.5448, allocations: 1.076 MB / 0.5145 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.5449, allocations: 2.25 kB / 0.5145 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.933e-05/0.545, allocations: 38.14 kB / 0.5145 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.418e-05/0.545, allocations: 48.86 kB / 0.5146 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.5466, allocations: 0.8215 MB / 0.5154 GB, free: 3.402 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.005402/0.552, allocations: 5.553 MB / 0.5208 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.5532, allocations: 0.5379 MB / 0.5213 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.5536, allocations: 211.4 kB / 0.5215 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09406/0.6476, allocations: 47.46 MB / 0.5679 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.696e-05/0.6477, allocations: 43.12 kB / 0.5679 GB, free: 11.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 3.356e-06/0.6477, allocations: 3.984 kB / 0.5679 GB, free: 11.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.006634/0.6544, allocations: 2.129 MB / 0.57 GB, free: 9.172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.975e-05/0.6545, allocations: 191.9 kB / 0.5702 GB, free: 8.941 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009978/0.6555, allocations: 0.6444 MB / 0.5708 GB, free: 8.289 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.6556, allocations: 37.7 kB / 0.5708 GB, free: 8.246 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.6559, allocations: 395.2 kB / 0.5712 GB, free: 7.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.656, allocations: 173.7 kB / 0.5714 GB, free: 7.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.6563, allocations: 154.5 kB / 0.5715 GB, free: 7.523 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.6565, allocations: 382.8 kB / 0.5719 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.6568, allocations: 225.9 kB / 0.5721 GB, free: 6.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.6575, allocations: 0.5945 MB / 0.5727 GB, free: 6.152 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.6586, allocations: 0.856 MB / 0.5735 GB, free: 5.133 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.6586, allocations: 4 kB / 0.5735 GB, free: 5.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001423/0.66, allocations: 0.9078 MB / 0.5744 GB, free: 4.211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.66, allocations: 12 kB / 0.5744 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.6601, allocations: 8 kB / 0.5744 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003374/0.6634, allocations: 268.5 kB / 0.5747 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.6646, allocations: 289.4 kB / 0.575 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.6663, allocations: 2.109 MB / 0.577 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/0.6671, allocations: 52.09 kB / 0.5771 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/0.6672, allocations: 47.98 kB / 0.5771 GB, free: 1.273 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004938/0.6677, allocations: 281.9 kB / 0.5774 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.6679, allocations: 71.16 kB / 0.5775 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.6703, allocations: 2.014 MB / 0.5794 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/0.6704, allocations: 27.91 kB / 0.5795 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6704, allocations: 0 / 0.5795 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.6704, allocations: 4.078 kB / 0.5795 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.6742, allocations: 2.998 MB / 0.5824 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.6742, allocations: 4.062 kB / 0.5824 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009382/0.6752, allocations: 187.7 kB / 0.5826 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.677, allocations: 299.9 kB / 0.5829 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.677, allocations: 15.98 kB / 0.5829 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.6789, allocations: 2.172 MB / 0.585 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6789, allocations: 0 / 0.585 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.6811, allocations: 1.947 MB / 0.5869 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/0.6816, allocations: 231.6 kB / 0.5871 GB, free: 6.734 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.6817, allocations: 27.69 kB / 0.5871 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.6822, allocations: 35.88 kB / 0.5872 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.6823, allocations: 28.47 kB / 0.5872 GB, free: 6.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.6823, allocations: 19.98 kB / 0.5872 GB, free: 6.625 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008231/0.6832, allocations: 0.5771 MB / 0.5878 GB, free: 6.051 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6832, allocations: 0 / 0.5878 GB, free: 6.051 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00558/0.6887, allocations: 1.089 MB / 0.5889 GB, free: 4.961 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008535/0.6973, allocations: 1.199 MB / 0.59 GB, free: 3.758 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.7003, allocations: 0.9944 MB / 0.591 GB, free: 2.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.7003, allocations: 7.938 kB / 0.591 GB, free: 2.758 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.7017, allocations: 0.6443 MB / 0.5916 GB, free: 2.113 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.7044, allocations: 406 kB / 0.592 GB, free: 1.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/0.7093, allocations: 2.547 MB / 0.5945 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.7108, allocations: 1.097 MB / 0.5956 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001209/0.712, allocations: 350.2 kB / 0.5959 GB, free: 13.67 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.7122, allocations: 63.42 kB / 0.596 GB, free: 13.61 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7123, allocations: 0 / 0.596 GB, free: 13.61 MB / 478.1 MB Notification: Performance of Templates: time 0.2774/0.9897, allocations: 45.28 MB / 0.6402 GB, free: 157.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)