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.0007984/0.0007984, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005663/0.005663, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.368/1.368, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.3091/0.3091, allocations: 38.04 MB / 308.8 MB, free: 10.36 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.0005504/0.0005505, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1342, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2989/0.4331, allocations: 39.42 MB / 474 MB, free: 32.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02325/0.4564, allocations: 20.93 MB / 494.9 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.4579, allocations: 23.84 kB / 494.9 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.4591, allocations: 401.1 kB / 495.3 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.4739, allocations: 4.151 MB / 499.5 MB, free: 17.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007911/0.4818, allocations: 2.246 MB / 0.49 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003452/0.4853, allocations: 2.822 MB / 0.4927 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000699/0.486, allocations: 410 kB / 0.4931 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009239/0.4953, allocations: 4.029 MB / 0.4971 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01105/0.5064, allocations: 5.433 MB / 0.5024 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002696/0.5067, allocations: 34.38 kB / 0.5024 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.523, allocations: 7.129 MB / 0.5094 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006802/0.5237, allocations: 250 kB / 0.5096 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.525, allocations: 443.2 kB / 0.51 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01589/0.5409, allocations: 4.902 MB / 0.5148 GB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5409, allocations: 1.156 kB / 0.5148 GB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5409, allocations: 0 / 0.5148 GB, free: 5.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.455e-05/0.541, allocations: 0 / 0.5148 GB, free: 5.551 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.006488/0.5475, allocations: 1.463 MB / 0.5162 GB, free: 4.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5476, allocations: 13.97 kB / 0.5162 GB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.549, allocations: 223.9 kB / 0.5165 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008647/0.5499, allocations: 0.5377 MB / 0.517 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.55, allocations: 113.8 kB / 0.5171 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.5501, allocations: 54.53 kB / 0.5171 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.5521, allocations: 1.087 MB / 0.5182 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.5522, allocations: 2.844 kB / 0.5182 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/0.5523, allocations: 33.42 kB / 0.5182 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.53e-05/0.5523, allocations: 45.86 kB / 0.5183 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.5539, allocations: 0.8164 MB / 0.5191 GB, free: 2.617 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.005378/0.5592, allocations: 5.567 MB / 0.5245 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.5605, allocations: 0.531 MB / 0.525 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.5609, allocations: 212.1 kB / 0.5252 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09716/0.6581, allocations: 47.88 MB / 0.572 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.586e-05/0.6582, allocations: 47.11 kB / 0.572 GB, free: 10.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 3.426e-06/0.6582, allocations: 0 / 0.572 GB, free: 10.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.006531/0.6648, allocations: 2.136 MB / 0.5741 GB, free: 7.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.6649, allocations: 191.8 kB / 0.5743 GB, free: 7.617 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007861/0.6657, allocations: 0.6407 MB / 0.5749 GB, free: 6.969 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.6657, allocations: 33.7 kB / 0.575 GB, free: 6.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.666, allocations: 399.1 kB / 0.5754 GB, free: 6.531 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.6661, allocations: 165.8 kB / 0.5755 GB, free: 6.367 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.6662, allocations: 65.69 kB / 0.5756 GB, free: 6.297 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6664, allocations: 386.8 kB / 0.5759 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.6668, allocations: 233.8 kB / 0.5762 GB, free: 5.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.6674, allocations: 0.5868 MB / 0.5767 GB, free: 4.926 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.6684, allocations: 0.8638 MB / 0.5776 GB, free: 3.898 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6684, allocations: 7.938 kB / 0.5776 GB, free: 3.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001364/0.6698, allocations: 0.9 MB / 0.5785 GB, free: 2.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.6698, allocations: 8 kB / 0.5785 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.6698, allocations: 20.14 kB / 0.5785 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003148/0.673, allocations: 272.5 kB / 0.5788 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.6742, allocations: 287.5 kB / 0.579 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.6759, allocations: 2.019 MB / 0.581 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009088/0.6769, allocations: 55.89 kB / 0.5811 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.6769, allocations: 47.98 kB / 0.5811 GB, free: 124 kB / 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.00052/0.6775, allocations: 282 kB / 0.5814 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6776, allocations: 71.16 kB / 0.5814 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.6799, allocations: 2.013 MB / 0.5834 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/0.6799, allocations: 23.97 kB / 0.5834 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6799, allocations: 0 / 0.5834 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.68, allocations: 3.984 kB / 0.5834 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/0.6835, allocations: 2.991 MB / 0.5864 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.6835, allocations: 0 / 0.5864 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008727/0.6844, allocations: 187.7 kB / 0.5865 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/0.6862, allocations: 311.8 kB / 0.5868 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.6863, allocations: 19.92 kB / 0.5868 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.6879, allocations: 2.073 MB / 0.5889 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6879, allocations: 0 / 0.5889 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.6903, allocations: 1.944 MB / 0.5908 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000689/0.691, allocations: 291.4 kB / 0.591 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.6913, allocations: 19.98 kB / 0.5911 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006215/0.6919, allocations: 27.92 kB / 0.5911 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.692, allocations: 36.33 kB / 0.5911 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.692, allocations: 16 kB / 0.5911 GB, free: 5.539 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008725/0.6929, allocations: 0.5771 MB / 0.5917 GB, free: 4.965 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6929, allocations: 0 / 0.5917 GB, free: 4.965 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00485/0.6978, allocations: 1.082 MB / 0.5928 GB, free: 3.883 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.006881/0.7047, allocations: 1.202 MB / 0.5939 GB, free: 2.676 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.707, allocations: 0.9165 MB / 0.5948 GB, free: 1.762 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.707, allocations: 0 / 0.5948 GB, free: 1.762 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.7082, allocations: 0.6518 MB / 0.5955 GB, free: 1.109 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.7108, allocations: 386 kB / 0.5958 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.7146, allocations: 2.618 MB / 0.5984 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000774/0.7154, allocations: 1.093 MB / 0.5995 GB, free: 12.96 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008835/0.7163, allocations: 354.2 kB / 0.5998 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.7165, allocations: 67.42 kB / 0.5999 GB, free: 12.54 MB / 478.1 MB Notification: Performance of SimCode: time 1.553e-06/0.7165, allocations: 0 / 0.5999 GB, free: 12.54 MB / 478.1 MB Notification: Performance of Templates: time 0.2916/1.008, allocations: 44.51 MB / 0.6433 GB, free: 153.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: