Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005324/0.005324, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001202/0.001202, allocations: 195.1 kB / 16.67 MB, free: 5.52 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.434/1.434, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.1918/0.1918, allocations: 37.99 MB / 307.9 MB, free: 6.008 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.001518/0.001518, allocations: 73.59 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1299, allocations: 56.46 MB / 489.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01807/0.148, allocations: 16.43 MB / 0.4941 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008556/0.1566, allocations: 5.469 MB / 0.4994 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000758/0.1574, allocations: 19.88 kB / 0.4994 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009361/0.1584, allocations: 318 kB / 0.4997 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.1604, allocations: 0.8471 MB / 0.5005 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.1636, allocations: 0.9935 MB / 0.5015 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002414/0.166, allocations: 1.786 MB / 0.5033 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007261/0.1667, allocations: 457.3 kB / 0.5037 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.168, allocations: 0.7513 MB / 0.5044 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007728/0.1687, allocations: 0.6227 MB / 0.505 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/0.1689, allocations: 60 kB / 0.5051 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000906/0.1698, allocations: 343.5 kB / 0.5054 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.1701, allocations: 259.2 kB / 0.5057 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.1705, allocations: 398.2 kB / 0.5061 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.172, allocations: 1.118 MB / 0.5071 GB, free: 7.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.172, allocations: 0 / 0.5071 GB, free: 7.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.172, allocations: 3.984 kB / 0.5071 GB, free: 7.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.1721, allocations: 0 / 0.5071 GB, free: 7.918 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002139/0.1742, allocations: 1.044 MB / 0.5082 GB, free: 6.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1743, allocations: 8.031 kB / 0.5082 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.1746, allocations: 88.08 kB / 0.5083 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.1755, allocations: 0.5404 MB / 0.5088 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.1756, allocations: 105 kB / 0.5089 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.475e-05/0.1757, allocations: 56.36 kB / 0.5089 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.1769, allocations: 0.8268 MB / 0.5097 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.177, allocations: 11.94 kB / 0.5098 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.177, allocations: 24 kB / 0.5098 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.575e-05/0.1771, allocations: 40.97 kB / 0.5098 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.1781, allocations: 0.6399 MB / 0.5104 GB, free: 4.355 MB / 398.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.004541/0.1827, allocations: 4.324 MB / 0.5147 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.1834, allocations: 351.8 kB / 0.515 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.1837, allocations: 181.2 kB / 0.5152 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/0.1856, allocations: 1.706 MB / 0.5168 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.1856, allocations: 38.56 kB / 0.5169 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 3.296e-06/0.1856, allocations: 4 kB / 0.5169 GB, free: 13.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.00373/0.1894, allocations: 1.386 MB / 0.5182 GB, free: 11.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.1895, allocations: 132.5 kB / 0.5184 GB, free: 11.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007567/0.1902, allocations: 0.625 MB / 0.519 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.1903, allocations: 37.7 kB / 0.519 GB, free: 10.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.1906, allocations: 402.3 kB / 0.5194 GB, free: 10.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.1908, allocations: 130.1 kB / 0.5195 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.191, allocations: 150.5 kB / 0.5197 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.1912, allocations: 374.8 kB / 0.52 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.1916, allocations: 189.9 kB / 0.5202 GB, free: 9.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/0.1921, allocations: 0.552 MB / 0.5207 GB, free: 8.941 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.1932, allocations: 0.7874 MB / 0.5215 GB, free: 7.988 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.1932, allocations: 7.938 kB / 0.5215 GB, free: 7.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00141/0.1946, allocations: 0.8258 MB / 0.5223 GB, free: 7.145 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.1946, allocations: 14.72 kB / 0.5223 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.1947, allocations: 15.98 kB / 0.5224 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.1951, allocations: 96.8 kB / 0.5224 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.1958, allocations: 175.7 kB / 0.5226 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007264/0.1965, allocations: 0.681 MB / 0.5233 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.197, allocations: 28 kB / 0.5233 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.1971, allocations: 40 kB / 0.5233 GB, free: 6.074 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003556/0.1974, allocations: 261.3 kB / 0.5236 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.1976, allocations: 71.16 kB / 0.5237 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009926/0.1986, allocations: 0.5055 MB / 0.5242 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1986, allocations: 4 kB / 0.5242 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1986, allocations: 0 / 0.5242 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1986, allocations: 4.062 kB / 0.5242 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.2006, allocations: 1.226 MB / 0.5254 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2007, allocations: 4 kB / 0.5254 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.201, allocations: 72.28 kB / 0.5254 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.2012, allocations: 44.77 kB / 0.5255 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/0.2012, allocations: 12 kB / 0.5255 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004209/0.2017, allocations: 0.564 MB / 0.526 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.2017, allocations: 7.969 kB / 0.526 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.2027, allocations: 0.7296 MB / 0.5268 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.203, allocations: 184.2 kB / 0.5269 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.2031, allocations: 12 kB / 0.5269 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.2035, allocations: 19.98 kB / 0.527 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.2036, allocations: 31.97 kB / 0.527 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.2037, allocations: 23.98 kB / 0.527 GB, free: 2.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006182/0.2043, allocations: 471 kB / 0.5275 GB, free: 1.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.829e-06/0.2043, allocations: 4 kB / 0.5275 GB, free: 1.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000841/0.2052, allocations: 203.9 kB / 0.5277 GB, free: 1.426 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005679/0.2057, allocations: 228.2 kB / 0.5279 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.2069, allocations: 0.5056 MB / 0.5284 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.2069, allocations: 0 / 0.5284 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.2073, allocations: 184.7 kB / 0.5285 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.2089, allocations: 365.8 kB / 0.5289 GB, free: 164 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2374/0.4463, allocations: 1.291 MB / 0.5302 GB, free: 50.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.4467, allocations: 0.9374 MB / 0.5311 GB, free: 49.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006885/0.4474, allocations: 203.4 kB / 0.5313 GB, free: 49.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.4476, allocations: 59.06 kB / 0.5313 GB, free: 49.79 MB / 414.1 MB Notification: Performance of SimCode: time 1.103e-06/0.4476, allocations: 3.969 kB / 0.5313 GB, free: 49.79 MB / 414.1 MB Notification: Performance of Templates: time 0.02378/0.4714, allocations: 13.64 MB / 0.5446 GB, free: 46.2 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)