Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009122/0.00913, allocations: 99.61 kB / 15.73 MB, free: 6.055 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.001854/0.001855, allocations: 199.2 kB / 16.68 MB, free: 5.984 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2002/0.2002, allocations: 38.01 MB / 307.9 MB, free: 5.98 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.001455/0.001455, allocations: 69.78 kB / 433 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1172, allocations: 56.46 MB / 489.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.3246/0.4418, allocations: 39.05 MB / 0.5161 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02753/0.4694, allocations: 20.15 MB / 0.5358 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.4707, allocations: 16.88 kB / 0.5358 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.4725, allocations: 446.5 kB / 0.5363 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02119/0.4938, allocations: 5.13 MB / 0.5413 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.504, allocations: 2.562 MB / 0.5438 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003733/0.5077, allocations: 1.977 MB / 0.5457 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.5089, allocations: 0.4925 MB / 0.5462 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01256/0.5214, allocations: 4.172 MB / 0.5503 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01442/0.5359, allocations: 5.437 MB / 0.5556 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004595/0.5364, allocations: 73.59 kB / 0.5556 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01992/0.5563, allocations: 7.378 MB / 0.5628 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006685/0.5571, allocations: 277.7 kB / 0.5631 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.5584, allocations: 448.7 kB / 0.5635 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01619/0.5746, allocations: 5.109 MB / 0.5685 GB, free: 1.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5746, allocations: 0 / 0.5685 GB, free: 1.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5746, allocations: 0 / 0.5685 GB, free: 1.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.729e-05/0.5747, allocations: 0 / 0.5685 GB, free: 1.473 MB / 414.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.00777/0.5824, allocations: 1.687 MB / 0.5702 GB, free: 15.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.5825, allocations: 15.89 kB / 0.5702 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002696/0.5852, allocations: 291.8 kB / 0.5705 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.5868, allocations: 0.5794 MB / 0.571 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.5869, allocations: 117.3 kB / 0.5711 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.5871, allocations: 64.36 kB / 0.5712 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.5901, allocations: 1.189 MB / 0.5724 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.5901, allocations: 7.938 kB / 0.5724 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.5902, allocations: 28 kB / 0.5724 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-05/0.5903, allocations: 45.3 kB / 0.5724 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/0.5931, allocations: 1.023 MB / 0.5734 GB, free: 12.24 MB / 430.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.007474/0.6006, allocations: 5.613 MB / 0.5789 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.6029, allocations: 0.764 MB / 0.5797 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006262/0.6035, allocations: 294.2 kB / 0.5799 GB, free: 5.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03222/0.6358, allocations: 15.93 MB / 0.5955 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.929e-05/0.6359, allocations: 42.56 kB / 0.5955 GB, free: 3.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.445e-06/0.6359, allocations: 0 / 0.5955 GB, free: 3.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.007339/0.6432, allocations: 2.272 MB / 0.5978 GB, free: 1.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/0.6433, allocations: 162.6 kB / 0.5979 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008946/0.6442, allocations: 0.6094 MB / 0.5985 GB, free: 200 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.841e-05/0.6443, allocations: 37.7 kB / 0.5985 GB, free: 156 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.6447, allocations: 379.3 kB / 0.5989 GB, free: 15.78 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.6449, allocations: 181.5 kB / 0.5991 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.6451, allocations: 162.5 kB / 0.5992 GB, free: 15.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.6453, allocations: 374.8 kB / 0.5996 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006649/0.646, allocations: 281.8 kB / 0.5999 GB, free: 14.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009106/0.6469, allocations: 0.6043 MB / 0.6005 GB, free: 14.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.6485, allocations: 0.8987 MB / 0.6013 GB, free: 12.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.6485, allocations: 7.938 kB / 0.6013 GB, free: 12.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001901/0.6505, allocations: 0.9681 MB / 0.6023 GB, free: 12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.6505, allocations: 12 kB / 0.6023 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.6505, allocations: 8 kB / 0.6023 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002779/0.6508, allocations: 65.45 kB / 0.6024 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.6521, allocations: 299.6 kB / 0.6027 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.6538, allocations: 2.074 MB / 0.6047 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.6544, allocations: 48.19 kB / 0.6047 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/0.6545, allocations: 43.98 kB / 0.6048 GB, free: 9.297 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].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 (95): * Single equations (assignments): 93 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004586/0.6549, allocations: 289.1 kB / 0.605 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.6551, allocations: 75.09 kB / 0.6051 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003641/0.6588, allocations: 2.543 MB / 0.6076 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.85e-05/0.6589, allocations: 35.94 kB / 0.6076 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6589, allocations: 0 / 0.6076 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.6589, allocations: 0 / 0.6076 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/0.6647, allocations: 3.755 MB / 0.6113 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6648, allocations: 0 / 0.6113 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.6658, allocations: 227.8 kB / 0.6115 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003849/0.6662, allocations: 92.67 kB / 0.6116 GB, free: 2.191 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.6663, allocations: 12 kB / 0.6116 GB, free: 2.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.6681, allocations: 2.091 MB / 0.6137 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6681, allocations: 0 / 0.6137 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/0.6716, allocations: 2.347 MB / 0.6159 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/0.6722, allocations: 255.2 kB / 0.6162 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.6724, allocations: 40.47 kB / 0.6162 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.673, allocations: 36.03 kB / 0.6163 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.6731, allocations: 40.5 kB / 0.6163 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/0.6732, allocations: 27.98 kB / 0.6163 GB, free: 13.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009611/0.6741, allocations: 0.5537 MB / 0.6169 GB, free: 12.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6741, allocations: 4 kB / 0.6169 GB, free: 12.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00432/0.6785, allocations: 1.082 MB / 0.6179 GB, free: 11.51 MB / 478.1 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 (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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005486/0.684, allocations: 1.233 MB / 0.6191 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00262/0.6866, allocations: 1.104 MB / 0.6202 GB, free: 9.164 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6866, allocations: 4 kB / 0.6202 GB, free: 9.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00172/0.6884, allocations: 0.8168 MB / 0.621 GB, free: 8.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.6905, allocations: 407.4 kB / 0.6214 GB, free: 7.953 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.6945, allocations: 2.471 MB / 0.6238 GB, free: 5.449 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000949/0.6955, allocations: 1.157 MB / 0.6249 GB, free: 4.266 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001012/0.6965, allocations: 442.9 kB / 0.6254 GB, free: 3.828 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.6967, allocations: 67.42 kB / 0.6254 GB, free: 3.762 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6967, allocations: 0 / 0.6254 GB, free: 3.762 MB / 478.1 MB Notification: Performance of Templates: time 0.07219/0.7689, allocations: 47.04 MB / 0.6714 GB, free: 4.695 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)