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.001471/0.001471, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001785/0.001785, allocations: 197.9 kB / 16.25 MB, free: 6.617 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.42/1.42, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.3327/0.3327, allocations: 39.93 MB / 309.4 MB, free: 9.328 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.001446/0.001446, allocations: 63.91 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.154, allocations: 56.89 MB / 434 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01949/0.1735, allocations: 16.94 MB / 450.9 MB, free: 2.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.273/0.4466, allocations: 5.534 MB / 456.5 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.4477, allocations: 25.38 kB / 456.5 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009842/0.4488, allocations: 275.7 kB / 456.8 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.4509, allocations: 0.7747 MB / 457.5 MB, free: 35.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.4538, allocations: 0.9329 MB / 458.5 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.456, allocations: 1.787 MB / 460.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.4567, allocations: 454 kB / 460.7 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.4578, allocations: 0.7465 MB / 461.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007317/0.4585, allocations: 0.6551 MB / 462.1 MB, free: 35.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.399e-05/0.4587, allocations: 58.91 kB / 462.2 MB, free: 35.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008259/0.4595, allocations: 343.1 kB / 462.5 MB, free: 35.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.4597, allocations: 266.3 kB / 462.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003637/0.4601, allocations: 398.3 kB / 463.2 MB, free: 35.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.4613, allocations: 1.104 MB / 464.3 MB, free: 35.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.4613, allocations: 0 / 464.3 MB, free: 35.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4613, allocations: 3.219 kB / 464.3 MB, free: 35.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.4613, allocations: 7.422 kB / 464.3 MB, free: 35.43 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.00171/0.463, allocations: 1.043 MB / 465.3 MB, free: 34.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4631, allocations: 13.12 kB / 465.3 MB, free: 34.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.4634, allocations: 91.7 kB / 465.4 MB, free: 34.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.464, allocations: 0.5088 MB / 465.9 MB, free: 34.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-05/0.4641, allocations: 102.4 kB / 466 MB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.4642, allocations: 46.84 kB / 466.1 MB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.4653, allocations: 0.8347 MB / 466.9 MB, free: 34.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.4653, allocations: 7.453 kB / 466.9 MB, free: 34.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.4654, allocations: 26.12 kB / 466.9 MB, free: 34.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.4654, allocations: 35.33 kB / 467 MB, free: 34.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008904/0.4663, allocations: 0.6428 MB / 467.6 MB, free: 34.17 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.004095/0.4704, allocations: 4.345 MB / 472 MB, free: 31.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.4711, allocations: 346.3 kB / 472.3 MB, free: 31.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.4714, allocations: 171.8 kB / 472.5 MB, free: 30.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/0.473, allocations: 1.706 MB / 474.2 MB, free: 29.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.473, allocations: 37.41 kB / 474.2 MB, free: 29.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.4731, allocations: 0 / 474.2 MB, free: 29.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003237/0.4763, allocations: 1.396 MB / 475.6 MB, free: 28.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.4764, allocations: 134.7 kB / 475.7 MB, free: 28.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.4769, allocations: 0.6285 MB / 476.4 MB, free: 28.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.477, allocations: 40.64 kB / 476.4 MB, free: 28.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.4772, allocations: 398.1 kB / 476.8 MB, free: 27.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.4773, allocations: 135.8 kB / 476.9 MB, free: 27.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.4774, allocations: 148.4 kB / 477.1 MB, free: 27.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.4775, allocations: 378.8 kB / 477.4 MB, free: 27.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.4778, allocations: 184.8 kB / 477.6 MB, free: 27.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.4782, allocations: 0.5503 MB / 478.2 MB, free: 26.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/0.479, allocations: 0.7869 MB / 479 MB, free: 26.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.479, allocations: 2.906 kB / 479 MB, free: 26.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001323/0.4804, allocations: 0.8345 MB / 479.8 MB, free: 25.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.4804, allocations: 9.906 kB / 479.8 MB, free: 25.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.4804, allocations: 12.84 kB / 479.8 MB, free: 25.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003823/0.4808, allocations: 97.48 kB / 479.9 MB, free: 25.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.4814, allocations: 184.5 kB / 480.1 MB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004035/0.4818, allocations: 0.6685 MB / 480.8 MB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.4823, allocations: 38.33 kB / 480.8 MB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.4824, allocations: 39.12 kB / 480.8 MB, free: 25.02 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.0002709/0.4827, allocations: 260.8 kB / 481.1 MB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/0.4828, allocations: 65.22 kB / 481.1 MB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007438/0.4835, allocations: 0.5132 MB / 481.7 MB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4835, allocations: 3.281 kB / 481.7 MB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4836, allocations: 0 / 481.7 MB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4836, allocations: 4.875 kB / 481.7 MB, free: 24.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.4851, allocations: 1.225 MB / 482.9 MB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4851, allocations: 3.281 kB / 482.9 MB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.4853, allocations: 72.36 kB / 483 MB, free: 23.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001387/0.4855, allocations: 40.48 kB / 483 MB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.4855, allocations: 15.98 kB / 483 MB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002377/0.4858, allocations: 0.5699 MB / 483.6 MB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4858, allocations: 7.125 kB / 483.6 MB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007528/0.4865, allocations: 0.7168 MB / 484.3 MB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.4868, allocations: 196.3 kB / 484.5 MB, free: 22.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.861e-05/0.4869, allocations: 17.67 kB / 484.5 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.4873, allocations: 23.09 kB / 484.6 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.4873, allocations: 39.27 kB / 484.6 MB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.4874, allocations: 20.02 kB / 484.6 MB, free: 22.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004256/0.4878, allocations: 476.2 kB / 485.1 MB, free: 22.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4878, allocations: 0 / 485.1 MB, free: 22.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007234/0.4885, allocations: 202.5 kB / 485.3 MB, free: 22.36 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.0004498/0.489, allocations: 248.1 kB / 485.5 MB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008846/0.4899, allocations: 0.5278 MB / 486 MB, free: 22.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4899, allocations: 0.9375 kB / 486 MB, free: 22.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.4902, allocations: 188.2 kB / 486.2 MB, free: 21.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.4917, allocations: 355.2 kB / 486.6 MB, free: 21.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.4935, allocations: 1.515 MB / 488.1 MB, free: 20.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.4939, allocations: 0.9377 MB / 489 MB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006828/0.4946, allocations: 205 kB / 489.2 MB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.4947, allocations: 60.67 kB / 489.3 MB, free: 20.19 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4947, allocations: 7.875 kB / 489.3 MB, free: 20.18 MB / 382.1 MB Notification: Performance of Templates: time 0.02685/0.5216, allocations: 13.4 MB / 0.4909 GB, free: 18.42 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)