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.001183/0.001183, 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.00115/0.00115, allocations: 192 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.526/1.526, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.3356/0.3356, allocations: 37.99 MB / 307.8 MB, free: 9.969 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.00157/0.00157, allocations: 66.41 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1553, allocations: 56.46 MB / 431.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01865/0.174, allocations: 16.43 MB / 448.2 MB, free: 6.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008208/0.1823, allocations: 5.473 MB / 453.6 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008691/0.1832, allocations: 19.88 kB / 453.6 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1844, allocations: 310 kB / 453.9 MB, free: 300 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2795/0.4639, allocations: 0.8172 MB / 454.8 MB, free: 36.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.4668, allocations: 1 MB / 455.8 MB, free: 36.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.4688, allocations: 1.784 MB / 457.6 MB, free: 36.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005909/0.4694, allocations: 459.8 kB / 458 MB, free: 36.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.4707, allocations: 0.7429 MB / 458.7 MB, free: 36.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006922/0.4714, allocations: 0.6189 MB / 459.4 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.4715, allocations: 58.84 kB / 459.4 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008189/0.4723, allocations: 340.9 kB / 459.8 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.4726, allocations: 258.7 kB / 460 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.4729, allocations: 392.2 kB / 460.4 MB, free: 36.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.4741, allocations: 1.11 MB / 461.5 MB, free: 35.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4741, allocations: 4 kB / 461.5 MB, free: 35.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4741, allocations: 0 / 461.5 MB, free: 35.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.4742, allocations: 0 / 461.5 MB, free: 35.89 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.00187/0.476, allocations: 1.043 MB / 462.5 MB, free: 35.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4761, allocations: 13.12 kB / 462.6 MB, free: 35.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.4764, allocations: 89.06 kB / 462.6 MB, free: 35.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/0.4771, allocations: 0.5083 MB / 463.2 MB, free: 34.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.4772, allocations: 101.5 kB / 463.3 MB, free: 34.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.878e-05/0.4773, allocations: 51.75 kB / 463.3 MB, free: 34.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.4783, allocations: 0.8388 MB / 464.1 MB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.4784, allocations: 0 / 464.1 MB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.916e-05/0.4784, allocations: 24.91 kB / 464.2 MB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/0.4785, allocations: 37.47 kB / 464.2 MB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.4794, allocations: 0.6462 MB / 464.8 MB, free: 34.67 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.003798/0.4832, allocations: 4.339 MB / 469.2 MB, free: 31.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.4838, allocations: 350.2 kB / 469.5 MB, free: 31.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.4841, allocations: 178.1 kB / 469.7 MB, free: 31.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/0.4856, allocations: 1.711 MB / 471.4 MB, free: 30.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.4857, allocations: 44.92 kB / 471.5 MB, free: 30.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.924e-06/0.4857, allocations: 0 / 471.5 MB, free: 30.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003288/0.489, allocations: 1.38 MB / 472.8 MB, free: 29.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.489, allocations: 138.3 kB / 473 MB, free: 29.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.4897, allocations: 0.6282 MB / 473.6 MB, free: 29.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.4898, allocations: 32.86 kB / 473.6 MB, free: 29.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.49, allocations: 399.7 kB / 474 MB, free: 28.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.4901, allocations: 142.1 kB / 474.2 MB, free: 28.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.4902, allocations: 153.4 kB / 474.3 MB, free: 28.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4904, allocations: 371.4 kB / 474.7 MB, free: 28.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.4906, allocations: 188.1 kB / 474.9 MB, free: 28.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.4911, allocations: 0.5595 MB / 475.4 MB, free: 27.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/0.492, allocations: 0.7843 MB / 476.2 MB, free: 27.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.492, allocations: 7.312 kB / 476.2 MB, free: 27.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001325/0.4933, allocations: 0.8256 MB / 477 MB, free: 26.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.4934, allocations: 9.094 kB / 477 MB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.4934, allocations: 12.12 kB / 477.1 MB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004642/0.4939, allocations: 104.6 kB / 477.2 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.4945, allocations: 183.6 kB / 477.3 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005779/0.4951, allocations: 0.6651 MB / 478 MB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.4956, allocations: 27.53 kB / 478 MB, free: 26.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.4957, allocations: 41.89 kB / 478.1 MB, free: 26.3 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.0003406/0.496, allocations: 257.3 kB / 478.3 MB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4962, allocations: 70.69 kB / 478.4 MB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/0.497, allocations: 0.5054 MB / 478.9 MB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4971, allocations: 10 kB / 478.9 MB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4971, allocations: 0 / 478.9 MB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.4971, allocations: 3.375 kB / 478.9 MB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.4988, allocations: 1.208 MB / 480.1 MB, free: 25.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4989, allocations: 3.156 kB / 480.1 MB, free: 25.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.4991, allocations: 72.94 kB / 480.2 MB, free: 25.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/0.4993, allocations: 47.28 kB / 480.2 MB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.4993, allocations: 10.5 kB / 480.2 MB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002343/0.4996, allocations: 0.5684 MB / 480.8 MB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4996, allocations: 3.25 kB / 480.8 MB, free: 24.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007718/0.5004, allocations: 0.7271 MB / 481.5 MB, free: 24.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.5006, allocations: 196.4 kB / 481.7 MB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.286e-05/0.5007, allocations: 10.56 kB / 481.7 MB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.5011, allocations: 17.69 kB / 481.8 MB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.5011, allocations: 41.39 kB / 481.8 MB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.5012, allocations: 23.53 kB / 481.8 MB, free: 23.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005308/0.5017, allocations: 471.8 kB / 482.3 MB, free: 23.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.5017, allocations: 0 / 482.3 MB, free: 23.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008574/0.5026, allocations: 206 kB / 482.5 MB, free: 23.69 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.0006929/0.5033, allocations: 234.5 kB / 482.7 MB, free: 23.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009099/0.5042, allocations: 0.5254 MB / 483.2 MB, free: 23.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5042, allocations: 2.641 kB / 483.2 MB, free: 23.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.5045, allocations: 189.6 kB / 483.4 MB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.5061, allocations: 368.3 kB / 483.8 MB, free: 23.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.5081, allocations: 1.306 MB / 485.1 MB, free: 22.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.5085, allocations: 0.9378 MB / 486 MB, free: 21.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007413/0.5092, allocations: 201.1 kB / 486.2 MB, free: 21.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.5093, allocations: 65.03 kB / 486.3 MB, free: 21.79 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5094, allocations: 0 / 486.3 MB, free: 21.79 MB / 382.1 MB Notification: Performance of Templates: time 0.02871/0.5381, allocations: 13.48 MB / 499.8 MB, free: 20.64 MB / 382.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)