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.005006/0.005006, allocations: 104.4 kB / 15.74 MB, free: 6.441 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.001056/0.001056, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.644/1.644, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4032/0.4032, allocations: 38 MB / 307.9 MB, free: 10.09 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.001504/0.001504, allocations: 71.89 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3642, allocations: 56.47 MB / 489.5 MB, free: 20.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01723/0.3814, allocations: 16.42 MB / 0.4941 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007888/0.3894, allocations: 5.484 MB / 0.4994 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.3906, allocations: 19.84 kB / 0.4994 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.3918, allocations: 319.9 kB / 0.4997 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.3941, allocations: 0.817 MB / 0.5005 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.3979, allocations: 1.008 MB / 0.5015 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00313/0.401, allocations: 1.777 MB / 0.5033 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008078/0.4018, allocations: 463.5 kB / 0.5037 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.4035, allocations: 0.7364 MB / 0.5044 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.4046, allocations: 0.6188 MB / 0.505 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.4047, allocations: 58.38 kB / 0.5051 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.4059, allocations: 351.6 kB / 0.5054 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.4062, allocations: 256.7 kB / 0.5057 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.4067, allocations: 394.4 kB / 0.506 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002641/0.4094, allocations: 1.117 MB / 0.5071 GB, free: 32 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4094, allocations: 0 / 0.5071 GB, free: 32 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.4094, allocations: 1.094 kB / 0.5071 GB, free: 32 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.4094, allocations: 0 / 0.5071 GB, free: 32 kB / 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.002577/0.412, allocations: 1.039 MB / 0.5081 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.4121, allocations: 9.969 kB / 0.5081 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004735/0.4126, allocations: 92.36 kB / 0.5082 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.4137, allocations: 0.5396 MB / 0.5088 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.4138, allocations: 104 kB / 0.5089 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.4139, allocations: 48.59 kB / 0.5089 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.4154, allocations: 0.8369 MB / 0.5097 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.4154, allocations: 5.312 kB / 0.5097 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.158e-05/0.4155, allocations: 27.8 kB / 0.5098 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-05/0.4156, allocations: 36.77 kB / 0.5098 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.4167, allocations: 0.646 MB / 0.5104 GB, free: 13.64 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.004876/0.4216, allocations: 4.332 MB / 0.5147 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.4224, allocations: 352 kB / 0.515 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.4227, allocations: 171.7 kB / 0.5152 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002117/0.4248, allocations: 1.711 MB / 0.5168 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.4249, allocations: 37.5 kB / 0.5169 GB, free: 7.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.4249, allocations: 0 / 0.5169 GB, free: 7.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.00396/0.4289, allocations: 1.389 MB / 0.5182 GB, free: 6.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.429, allocations: 136.7 kB / 0.5183 GB, free: 6.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008922/0.4299, allocations: 0.6285 MB / 0.519 GB, free: 6.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.4299, allocations: 41.14 kB / 0.519 GB, free: 6.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.4302, allocations: 397.5 kB / 0.5194 GB, free: 5.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.4303, allocations: 136.2 kB / 0.5195 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.4306, allocations: 149 kB / 0.5197 GB, free: 5.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4308, allocations: 374 kB / 0.52 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.4311, allocations: 186.5 kB / 0.5202 GB, free: 5.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.4317, allocations: 0.5536 MB / 0.5207 GB, free: 4.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009263/0.4327, allocations: 0.7821 MB / 0.5215 GB, free: 3.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.4327, allocations: 3.75 kB / 0.5215 GB, free: 3.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00159/0.4343, allocations: 0.8334 MB / 0.5223 GB, free: 3.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.4343, allocations: 9.906 kB / 0.5223 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.4344, allocations: 12.47 kB / 0.5223 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005309/0.4349, allocations: 94.67 kB / 0.5224 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/0.4356, allocations: 188.7 kB / 0.5226 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006318/0.4363, allocations: 0.6629 MB / 0.5232 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.4369, allocations: 32.05 kB / 0.5233 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.816e-05/0.437, allocations: 36.91 kB / 0.5233 GB, free: 2.641 MB / 398.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.0005137/0.4375, allocations: 259.5 kB / 0.5236 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.4377, allocations: 73.12 kB / 0.5236 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.4388, allocations: 0.4978 MB / 0.5241 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.4389, allocations: 8.828 kB / 0.5241 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.4389, allocations: 4.062 kB / 0.5241 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.4389, allocations: 7.969 kB / 0.5241 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.4413, allocations: 1.216 MB / 0.5253 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.4413, allocations: 6.969 kB / 0.5253 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.4416, allocations: 75.14 kB / 0.5254 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.4418, allocations: 35.31 kB / 0.5254 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.4419, allocations: 13.7 kB / 0.5254 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004015/0.4423, allocations: 0.5717 MB / 0.526 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4423, allocations: 3.969 kB / 0.526 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.4434, allocations: 0.723 MB / 0.5267 GB, free: 0 / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.4438, allocations: 188.2 kB / 0.5269 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.4439, allocations: 17.59 kB / 0.5269 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.4443, allocations: 13.69 kB / 0.5269 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.4444, allocations: 33.25 kB / 0.527 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.4445, allocations: 22.39 kB / 0.527 GB, free: 15.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007569/0.4452, allocations: 474.8 kB / 0.5274 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4452, allocations: 0 / 0.5274 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001057/0.4463, allocations: 211.7 kB / 0.5276 GB, free: 15.34 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.0006544/0.447, allocations: 240.6 kB / 0.5279 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.4482, allocations: 0.5059 MB / 0.5284 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.4482, allocations: 0 / 0.5284 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.4485, allocations: 179.7 kB / 0.5285 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.4502, allocations: 354.8 kB / 0.5289 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.4523, allocations: 1.301 MB / 0.5301 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.4529, allocations: 0.9415 MB / 0.5311 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007027/0.4536, allocations: 201.6 kB / 0.5312 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.4537, allocations: 67.38 kB / 0.5313 GB, free: 11.47 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4538, allocations: 0 / 0.5313 GB, free: 11.47 MB / 414.1 MB Notification: Performance of Templates: time 0.02545/0.4792, allocations: 13.63 MB / 0.5446 GB, free: 13.84 MB / 430.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)