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.00147/0.00147, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.544/1.544, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.3554/0.3554, allocations: 39.94 MB / 309.7 MB, free: 9.305 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.001627/0.001628, allocations: 71.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1507, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02718/0.178, allocations: 16.43 MB / 450.9 MB, free: 3.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2993/0.4773, allocations: 5.465 MB / 456.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009521/0.4784, allocations: 20.78 kB / 456.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.4796, allocations: 317.2 kB / 456.7 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.4815, allocations: 0.8255 MB / 457.6 MB, free: 36.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.4844, allocations: 0.9973 MB / 458.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002256/0.4866, allocations: 1.781 MB / 460.3 MB, free: 36.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006049/0.4872, allocations: 449.9 kB / 460.8 MB, free: 36.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.4883, allocations: 0.7532 MB / 461.5 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007591/0.4891, allocations: 0.6118 MB / 462.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.4892, allocations: 59.31 kB / 462.2 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009334/0.4902, allocations: 341.7 kB / 462.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.4904, allocations: 268.7 kB / 462.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.4908, allocations: 394.5 kB / 463.2 MB, free: 36.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.492, allocations: 1.097 MB / 464.3 MB, free: 36.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.492, allocations: 0 / 464.3 MB, free: 36.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.492, allocations: 3.156 kB / 464.3 MB, free: 36.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.492, allocations: 0 / 464.3 MB, free: 36.21 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.001891/0.4939, allocations: 1.044 MB / 465.3 MB, free: 35.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.494, allocations: 9.812 kB / 465.3 MB, free: 35.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.4943, allocations: 84.66 kB / 465.4 MB, free: 35.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006595/0.495, allocations: 0.5198 MB / 465.9 MB, free: 35.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.4951, allocations: 101.6 kB / 466 MB, free: 35.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.856e-05/0.4952, allocations: 48.2 kB / 466.1 MB, free: 35.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.4963, allocations: 0.8361 MB / 466.9 MB, free: 34.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.4963, allocations: 3.938 kB / 466.9 MB, free: 34.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.4964, allocations: 29.09 kB / 467 MB, free: 34.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/0.4965, allocations: 36.83 kB / 467 MB, free: 34.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009314/0.4974, allocations: 0.6436 MB / 467.6 MB, free: 34.95 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.003662/0.5011, allocations: 4.34 MB / 472 MB, free: 31.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.5017, allocations: 354.8 kB / 472.3 MB, free: 31.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.5019, allocations: 177.2 kB / 472.5 MB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/0.5034, allocations: 1.703 MB / 474.2 MB, free: 29.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.5034, allocations: 40.47 kB / 474.2 MB, free: 29.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.5034, allocations: 0 / 474.2 MB, free: 29.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003403/0.5068, allocations: 1.394 MB / 475.6 MB, free: 29.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.5069, allocations: 138.5 kB / 475.8 MB, free: 29.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007002/0.5076, allocations: 0.6293 MB / 476.4 MB, free: 28.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.5077, allocations: 32.92 kB / 476.4 MB, free: 28.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.5079, allocations: 396.7 kB / 476.8 MB, free: 28.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/0.508, allocations: 140.7 kB / 477 MB, free: 28.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.5082, allocations: 142.3 kB / 477.1 MB, free: 28.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.5083, allocations: 378.8 kB / 477.5 MB, free: 27.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.5086, allocations: 196.6 kB / 477.7 MB, free: 27.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.5091, allocations: 0.5518 MB / 478.2 MB, free: 27.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.5098, allocations: 0.7878 MB / 479 MB, free: 26.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.5099, allocations: 3.156 kB / 479 MB, free: 26.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001176/0.511, allocations: 0.8219 MB / 479.8 MB, free: 26.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.5111, allocations: 12.38 kB / 479.8 MB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.5111, allocations: 9.469 kB / 479.8 MB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.5115, allocations: 101.3 kB / 479.9 MB, free: 26.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.5121, allocations: 180.2 kB / 480.1 MB, free: 26.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004544/0.5126, allocations: 0.6723 MB / 480.8 MB, free: 25.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.513, allocations: 28.12 kB / 480.8 MB, free: 25.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/0.5131, allocations: 43.33 kB / 480.9 MB, free: 25.59 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.0003088/0.5134, allocations: 254 kB / 481.1 MB, free: 25.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.5135, allocations: 70.66 kB / 481.2 MB, free: 25.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008595/0.5144, allocations: 0.5104 MB / 481.7 MB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5144, allocations: 3.188 kB / 481.7 MB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.5144, allocations: 3.438 kB / 481.7 MB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.5145, allocations: 6.688 kB / 481.7 MB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.5162, allocations: 1.213 MB / 482.9 MB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.5162, allocations: 7.156 kB / 482.9 MB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.5165, allocations: 69.52 kB / 483 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/0.5166, allocations: 45.53 kB / 483 MB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.5167, allocations: 11.3 kB / 483 MB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003777/0.5171, allocations: 0.562 MB / 483.6 MB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/0.5171, allocations: 13.91 kB / 483.6 MB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009619/0.5181, allocations: 0.7187 MB / 484.3 MB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.5183, allocations: 195.8 kB / 484.5 MB, free: 23.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/0.5184, allocations: 13.84 kB / 484.5 MB, free: 23.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.5188, allocations: 21.5 kB / 484.6 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.5189, allocations: 35.03 kB / 484.6 MB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.5189, allocations: 20.31 kB / 484.6 MB, free: 23.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005825/0.5195, allocations: 472.5 kB / 485.1 MB, free: 22.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5195, allocations: 0 / 485.1 MB, free: 22.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008666/0.5204, allocations: 198.2 kB / 485.3 MB, free: 22.93 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.0006488/0.521, allocations: 239.8 kB / 485.5 MB, free: 22.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.5221, allocations: 0.5223 MB / 486 MB, free: 22.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.5221, allocations: 320 / 486 MB, free: 22.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.5224, allocations: 193 kB / 486.2 MB, free: 22.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.5241, allocations: 373.6 kB / 486.6 MB, free: 22.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.5262, allocations: 1.3 MB / 487.9 MB, free: 21.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.5266, allocations: 0.9366 MB / 488.8 MB, free: 21.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007766/0.5274, allocations: 210.6 kB / 489 MB, free: 20.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.5276, allocations: 59.8 kB / 489.1 MB, free: 20.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5276, allocations: 0 / 489.1 MB, free: 20.96 MB / 382.1 MB Notification: Performance of Templates: time 0.03753/0.5651, allocations: 13.47 MB / 0.4908 GB, free: 19.19 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)