Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_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.2_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.001146/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001225/0.001225, allocations: 193 kB / 16.13 MB, free: 6.652 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.498/1.498, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4062/0.4062, allocations: 39.93 MB / 309.3 MB, free: 9.281 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.2. 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.00125/0.00125, allocations: 66.41 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.141, allocations: 56.89 MB / 433.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01934/0.1604, allocations: 16.96 MB / 450.8 MB, free: 3.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2916/0.4521, allocations: 5.603 MB / 456.4 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.4534, allocations: 27.06 kB / 456.4 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.4545, allocations: 272.9 kB / 456.7 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.4564, allocations: 0.7852 MB / 457.5 MB, free: 35.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.459, allocations: 0.9044 MB / 458.4 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.4615, allocations: 2.652 MB / 461 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000591/0.4621, allocations: 397.8 kB / 461.4 MB, free: 35.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.4632, allocations: 0.6592 MB / 462.1 MB, free: 35.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008342/0.464, allocations: 0.6356 MB / 462.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.4641, allocations: 35.03 kB / 462.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008726/0.465, allocations: 331.3 kB / 463.1 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.4652, allocations: 244.6 kB / 463.3 MB, free: 35.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.4656, allocations: 370.4 kB / 463.7 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.4666, allocations: 1.083 MB / 464.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4667, allocations: 2.938 kB / 464.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4667, allocations: 0 / 464.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.4667, allocations: 0 / 464.7 MB, free: 35.16 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002148/0.4688, allocations: 1.046 MB / 465.8 MB, free: 34.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/0.4689, allocations: 9.625 kB / 465.8 MB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/0.4693, allocations: 86.59 kB / 465.9 MB, free: 34.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007007/0.47, allocations: 0.5047 MB / 466.4 MB, free: 34.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.4701, allocations: 103.2 kB / 466.5 MB, free: 34.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.092e-05/0.4702, allocations: 51.31 kB / 466.5 MB, free: 34.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.4714, allocations: 0.8379 MB / 467.4 MB, free: 33.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.4714, allocations: 3.281 kB / 467.4 MB, free: 33.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.4715, allocations: 25.22 kB / 467.4 MB, free: 33.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.748e-05/0.4716, allocations: 43.56 kB / 467.4 MB, free: 33.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008977/0.4725, allocations: 0.6389 MB / 468.1 MB, free: 33.89 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.003738/0.4762, allocations: 4.341 MB / 472.4 MB, free: 30.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.4768, allocations: 352 kB / 472.8 MB, free: 30.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.4771, allocations: 177.4 kB / 472.9 MB, free: 30.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/0.4786, allocations: 1.7 MB / 474.6 MB, free: 29.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.4786, allocations: 49.06 kB / 474.7 MB, free: 29.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.4786, allocations: 0 / 474.7 MB, free: 29.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003487/0.4821, allocations: 1.388 MB / 476.1 MB, free: 28.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.4822, allocations: 135.1 kB / 476.2 MB, free: 28.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000702/0.4829, allocations: 0.6325 MB / 476.8 MB, free: 28.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.483, allocations: 32.73 kB / 476.9 MB, free: 27.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.4832, allocations: 397.8 kB / 477.3 MB, free: 27.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/0.4833, allocations: 136.2 kB / 477.4 MB, free: 27.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.4835, allocations: 142.5 kB / 477.5 MB, free: 27.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.4836, allocations: 374.8 kB / 477.9 MB, free: 27.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.4839, allocations: 193.1 kB / 478.1 MB, free: 27.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.4844, allocations: 0.5529 MB / 478.6 MB, free: 26.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/0.4852, allocations: 0.787 MB / 479.4 MB, free: 25.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4852, allocations: 7.156 kB / 479.4 MB, free: 25.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001222/0.4864, allocations: 0.8271 MB / 480.3 MB, free: 25.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.4864, allocations: 9.5 kB / 480.3 MB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.4865, allocations: 12.78 kB / 480.3 MB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.4869, allocations: 99.02 kB / 480.4 MB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.4876, allocations: 179.5 kB / 480.6 MB, free: 25.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004494/0.488, allocations: 0.6687 MB / 481.2 MB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.4885, allocations: 45.08 kB / 481.3 MB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.4886, allocations: 45.64 kB / 481.3 MB, free: 24.86 MB / 382.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.0002705/0.4889, allocations: 257.4 kB / 481.6 MB, free: 24.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.489, allocations: 62.75 kB / 481.6 MB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007523/0.4898, allocations: 0.5171 MB / 482.1 MB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4898, allocations: 9.875 kB / 482.2 MB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4898, allocations: 7.25 kB / 482.2 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4898, allocations: 0 / 482.2 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.4913, allocations: 1.211 MB / 483.4 MB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4913, allocations: 2.969 kB / 483.4 MB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.4916, allocations: 71.31 kB / 483.4 MB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.4917, allocations: 42.39 kB / 483.5 MB, free: 23.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.4918, allocations: 17.72 kB / 483.5 MB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002316/0.492, allocations: 0.5696 MB / 484.1 MB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.492, allocations: 3.312 kB / 484.1 MB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007742/0.4928, allocations: 0.7204 MB / 484.8 MB, free: 22.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.493, allocations: 195.1 kB / 485 MB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.4931, allocations: 14.12 kB / 485 MB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.4936, allocations: 30.58 kB / 485 MB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.4936, allocations: 38.05 kB / 485.1 MB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.4937, allocations: 21.5 kB / 485.1 MB, free: 22.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005227/0.4942, allocations: 469.5 kB / 485.6 MB, free: 22.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4942, allocations: 2.844 kB / 485.6 MB, free: 22.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007616/0.495, allocations: 198.1 kB / 485.7 MB, free: 22.2 MB / 382.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.0005222/0.4955, allocations: 250 kB / 486 MB, free: 22.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008412/0.4964, allocations: 0.4913 MB / 486.5 MB, free: 21.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4964, allocations: 3.094 kB / 486.5 MB, free: 21.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.4967, allocations: 186.5 kB / 486.7 MB, free: 21.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.4982, allocations: 338.2 kB / 487 MB, free: 21.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.5001, allocations: 1.523 MB / 488.5 MB, free: 20.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.5004, allocations: 0.9344 MB / 489.5 MB, free: 20.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00066/0.5011, allocations: 212.1 kB / 489.7 MB, free: 20.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.5012, allocations: 54 kB / 489.7 MB, free: 20.04 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5012, allocations: 0 / 489.7 MB, free: 20.04 MB / 382.1 MB Notification: Performance of Templates: time 0.02652/0.5277, allocations: 12.96 MB / 0.4909 GB, free: 18.3 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)