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.0007787/0.0007789, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005241/0.005241, allocations: 170.6 kB / 16.27 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.532/1.532, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.3849/0.3849, allocations: 40.01 MB / 310.7 MB, free: 9.566 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.0006271/0.0006276, allocations: 20 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1492, allocations: 57.96 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02097/0.1703, allocations: 16.4 MB / 453.8 MB, free: 1.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2943/0.4647, allocations: 5.515 MB / 459.3 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.4664, allocations: 28.22 kB / 459.4 MB, free: 34.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.4679, allocations: 273.7 kB / 459.6 MB, free: 34.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003781/0.4717, allocations: 0.7902 MB / 460.4 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.4752, allocations: 0.8979 MB / 461.3 MB, free: 34.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003301/0.4785, allocations: 2.654 MB / 464 MB, free: 33.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007464/0.4792, allocations: 395.9 kB / 464.4 MB, free: 33.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.4805, allocations: 0.6533 MB / 465 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009241/0.4815, allocations: 0.645 MB / 465.7 MB, free: 33.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.349e-05/0.4816, allocations: 29.81 kB / 465.7 MB, free: 33.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.4828, allocations: 334.1 kB / 466 MB, free: 33.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003016/0.4831, allocations: 233.7 kB / 466.3 MB, free: 33.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.4836, allocations: 394.8 kB / 466.6 MB, free: 33.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.485, allocations: 1.069 MB / 467.7 MB, free: 33.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.485, allocations: 0 / 467.7 MB, free: 33.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.485, allocations: 0 / 467.7 MB, free: 33.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.485, allocations: 0 / 467.7 MB, free: 33.35 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.002143/0.4872, allocations: 0.9036 MB / 468.6 MB, free: 32.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.4873, allocations: 13.91 kB / 468.6 MB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.4876, allocations: 87.39 kB / 468.7 MB, free: 32.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007541/0.4884, allocations: 0.5111 MB / 469.2 MB, free: 32.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.4885, allocations: 102.4 kB / 469.3 MB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.506e-05/0.4886, allocations: 52.03 kB / 469.4 MB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.4898, allocations: 0.8318 MB / 470.2 MB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.4898, allocations: 7.344 kB / 470.2 MB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.501e-05/0.4899, allocations: 27.47 kB / 470.2 MB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/0.4899, allocations: 34.61 kB / 470.3 MB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009526/0.4909, allocations: 0.6448 MB / 470.9 MB, free: 32.1 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.004324/0.4952, allocations: 4.336 MB / 475.2 MB, free: 29.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/0.4958, allocations: 348.9 kB / 475.6 MB, free: 29.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.4961, allocations: 181.8 kB / 475.8 MB, free: 29.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/0.4975, allocations: 1.699 MB / 477.5 MB, free: 27.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.4976, allocations: 40.56 kB / 477.5 MB, free: 27.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.765e-06/0.4976, allocations: 4 kB / 477.5 MB, free: 27.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.00327/0.5009, allocations: 1.403 MB / 478.9 MB, free: 27.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.5009, allocations: 134.7 kB / 479 MB, free: 26.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.5017, allocations: 0.6329 MB / 479.7 MB, free: 26.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.5018, allocations: 36.27 kB / 479.7 MB, free: 26.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.5021, allocations: 391.9 kB / 480.1 MB, free: 26.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.5022, allocations: 139.3 kB / 480.2 MB, free: 26.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.5023, allocations: 63.66 kB / 480.3 MB, free: 26.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.5024, allocations: 373.6 kB / 480.7 MB, free: 26.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.5027, allocations: 190.9 kB / 480.8 MB, free: 26.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/0.5031, allocations: 0.5538 MB / 481.4 MB, free: 25.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.5039, allocations: 0.7804 MB / 482.2 MB, free: 25.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.5039, allocations: 7.062 kB / 482.2 MB, free: 25.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001214/0.5051, allocations: 0.8269 MB / 483 MB, free: 24.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.5051, allocations: 9.875 kB / 483 MB, free: 24.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.5052, allocations: 14.92 kB / 483 MB, free: 24.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004142/0.5056, allocations: 103 kB / 483.1 MB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.5062, allocations: 178.2 kB / 483.3 MB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004538/0.5067, allocations: 0.6782 MB / 484 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.5072, allocations: 41.06 kB / 484 MB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.5073, allocations: 35.72 kB / 484.1 MB, free: 24 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.0003128/0.5076, allocations: 253.5 kB / 484.3 MB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-05/0.5077, allocations: 69.59 kB / 484.4 MB, free: 23.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007943/0.5085, allocations: 0.5149 MB / 484.9 MB, free: 23.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.5085, allocations: 3.219 kB / 484.9 MB, free: 23.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5085, allocations: 4 kB / 484.9 MB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5085, allocations: 0 / 484.9 MB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.5101, allocations: 1.223 MB / 486.1 MB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5102, allocations: 3.344 kB / 486.1 MB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.5104, allocations: 73.61 kB / 486.2 MB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.5106, allocations: 42.73 kB / 486.2 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.5106, allocations: 11.69 kB / 486.3 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002504/0.5109, allocations: 0.5642 MB / 486.8 MB, free: 22.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5109, allocations: 3.25 kB / 486.8 MB, free: 22.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008184/0.5117, allocations: 0.7281 MB / 487.6 MB, free: 21.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.512, allocations: 204 kB / 487.7 MB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.291e-05/0.5121, allocations: 7.219 kB / 487.8 MB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.5125, allocations: 27.47 kB / 487.8 MB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.5125, allocations: 38.38 kB / 487.8 MB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.5126, allocations: 19.86 kB / 487.8 MB, free: 21.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004885/0.5131, allocations: 472.5 kB / 488.3 MB, free: 21.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5131, allocations: 0 / 488.3 MB, free: 21.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008211/0.5139, allocations: 193.6 kB / 488.5 MB, free: 21.34 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.0005674/0.5145, allocations: 255 kB / 488.7 MB, free: 21.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009516/0.5154, allocations: 0.4953 MB / 489.2 MB, free: 21.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.5155, allocations: 2.75 kB / 489.2 MB, free: 21.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.5158, allocations: 182.4 kB / 489.4 MB, free: 20.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.5178, allocations: 346.5 kB / 489.8 MB, free: 20.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.5197, allocations: 1.592 MB / 491.3 MB, free: 19.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.52, allocations: 0.9357 MB / 492.3 MB, free: 19.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006557/0.5207, allocations: 211.7 kB / 492.5 MB, free: 19.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.5208, allocations: 55.7 kB / 492.5 MB, free: 19.17 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5208, allocations: 3.469 kB / 492.5 MB, free: 19.17 MB / 382.1 MB Notification: Performance of Templates: time 0.02949/0.5503, allocations: 12.89 MB / 0.4936 GB, free: 17.01 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: