Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006147/0.006147, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001219/0.001219, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.471/1.471, allocations: 205.1 MB / 222.5 MB, free: 4.477 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.3431/0.3431, allocations: 39.94 MB / 309.8 MB, free: 9.352 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.001593/0.001593, allocations: 71.89 kB / 435.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.403, allocations: 56.87 MB / 492.7 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03516/0.4383, allocations: 30.08 MB / 0.5105 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009266/0.4476, allocations: 4.589 MB / 0.515 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.4489, allocations: 18.88 kB / 0.515 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.4502, allocations: 308.2 kB / 0.5153 GB, free: 9.105 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. Notification: Performance of NFTyping.typeBindings: time 0.00607/0.4563, allocations: 1.814 MB / 0.5171 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.4607, allocations: 1.551 MB / 0.5186 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003257/0.4639, allocations: 1.836 MB / 0.5204 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007582/0.4647, allocations: 483.7 kB / 0.5208 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006893/0.4716, allocations: 3.499 MB / 0.5243 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.4744, allocations: 1.388 MB / 0.5256 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.4746, allocations: 63.94 kB / 0.5257 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.4778, allocations: 1.54 MB / 0.5272 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003225/0.4782, allocations: 275.3 kB / 0.5274 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.4787, allocations: 398.1 kB / 0.5278 GB, free: 440 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.4808, allocations: 1.484 MB / 0.5293 GB, free: 14.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4808, allocations: 0 / 0.5293 GB, free: 14.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4808, allocations: 0 / 0.5293 GB, free: 14.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.4808, allocations: 0 / 0.5293 GB, free: 14.94 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002165/0.483, allocations: 1.145 MB / 0.5304 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4831, allocations: 8.031 kB / 0.5304 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.4841, allocations: 143.9 kB / 0.5305 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.4851, allocations: 0.5443 MB / 0.5311 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.4852, allocations: 104.9 kB / 0.5312 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.885e-05/0.4853, allocations: 48.38 kB / 0.5312 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.4867, allocations: 0.8356 MB / 0.532 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.4867, allocations: 3.938 kB / 0.532 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.4868, allocations: 27.98 kB / 0.5321 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.939e-05/0.4869, allocations: 36.98 kB / 0.5321 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.488, allocations: 0.6048 MB / 0.5327 GB, free: 11.27 MB / 414.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.005496/0.4935, allocations: 4.876 MB / 0.5374 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006893/0.4942, allocations: 331.9 kB / 0.5378 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.4945, allocations: 144.8 kB / 0.5379 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000505/0.495, allocations: 0.6019 MB / 0.5385 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.4951, allocations: 38.56 kB / 0.5385 GB, free: 4.715 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.4951, allocations: 0 / 0.5385 GB, free: 4.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004016/0.4991, allocations: 1.546 MB / 0.54 GB, free: 3.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.4992, allocations: 140.4 kB / 0.5402 GB, free: 2.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007957/0.5, allocations: 0.6524 MB / 0.5408 GB, free: 2.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/0.5001, allocations: 33.7 kB / 0.5408 GB, free: 2.223 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.5004, allocations: 394.6 kB / 0.5412 GB, free: 1.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.5005, allocations: 130.2 kB / 0.5413 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.5008, allocations: 146.5 kB / 0.5415 GB, free: 1.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.501, allocations: 386.7 kB / 0.5419 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.5013, allocations: 205.9 kB / 0.542 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/0.502, allocations: 0.498 MB / 0.5425 GB, free: 340 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.5031, allocations: 0.7133 MB / 0.5432 GB, free: 15.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5031, allocations: 0 / 0.5432 GB, free: 15.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001622/0.5047, allocations: 0.8947 MB / 0.5441 GB, free: 14.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.5048, allocations: 8.875 kB / 0.5441 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.5048, allocations: 12 kB / 0.5441 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.506, allocations: 289.3 kB / 0.5444 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.5064, allocations: 127.8 kB / 0.5445 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.5079, allocations: 1.401 MB / 0.5459 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.5084, allocations: 28 kB / 0.5459 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.5084, allocations: 43.98 kB / 0.546 GB, free: 12.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003441/0.5088, allocations: 249.6 kB / 0.5462 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.5089, allocations: 71.09 kB / 0.5463 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.5104, allocations: 0.6523 MB / 0.5469 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.5105, allocations: 8 kB / 0.5469 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.5105, allocations: 0 / 0.5469 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/0.5105, allocations: 3.984 kB / 0.5469 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.5126, allocations: 1.22 MB / 0.5481 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.5126, allocations: 0 / 0.5481 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.5128, allocations: 44.03 kB / 0.5481 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008306/0.5137, allocations: 209.4 kB / 0.5483 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.5137, allocations: 8 kB / 0.5484 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.5149, allocations: 1.296 MB / 0.5496 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.5149, allocations: 11.86 kB / 0.5496 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.5163, allocations: 0.8265 MB / 0.5504 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.5166, allocations: 184.3 kB / 0.5506 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.238e-05/0.5167, allocations: 8 kB / 0.5506 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.517, allocations: 15.98 kB / 0.5506 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.5171, allocations: 32.03 kB / 0.5507 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.5172, allocations: 20.11 kB / 0.5507 GB, free: 7.578 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005391/0.5177, allocations: 451 kB / 0.5511 GB, free: 7.145 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5177, allocations: 0 / 0.5511 GB, free: 7.145 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000939/0.5187, allocations: 299.9 kB / 0.5514 GB, free: 6.852 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000872/0.5195, allocations: 366.7 kB / 0.5518 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.5207, allocations: 0.5271 MB / 0.5523 GB, free: 5.953 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5207, allocations: 0 / 0.5523 GB, free: 5.953 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.5212, allocations: 227.7 kB / 0.5525 GB, free: 5.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.5227, allocations: 334.6 kB / 0.5528 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.5248, allocations: 1.257 MB / 0.554 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.5254, allocations: 0.9342 MB / 0.5549 GB, free: 3.148 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006067/0.526, allocations: 198 kB / 0.5551 GB, free: 2.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.5262, allocations: 67.41 kB / 0.5552 GB, free: 2.887 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5262, allocations: 0 / 0.5552 GB, free: 2.887 MB / 430.1 MB Notification: Performance of Templates: time 0.02918/0.5554, allocations: 16.37 MB / 0.5712 GB, free: 2.527 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)