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.004763/0.004763, allocations: 99.47 kB / 15.73 MB, free: 6.445 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.001076/0.001076, allocations: 197.5 kB / 16.67 MB, free: 6.352 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.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.3675/0.3675, allocations: 39.95 MB / 309.9 MB, free: 9.203 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.001411/0.001411, allocations: 67.91 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3713, allocations: 56.87 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03875/0.4101, allocations: 30.09 MB / 0.5105 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00839/0.4185, allocations: 4.585 MB / 0.515 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.4196, allocations: 18.09 kB / 0.515 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.4207, allocations: 300.5 kB / 0.5153 GB, free: 9.195 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.005592/0.4263, allocations: 1.822 MB / 0.5171 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004349/0.4307, allocations: 1.543 MB / 0.5186 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.4333, allocations: 1.848 MB / 0.5204 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006751/0.434, allocations: 479.7 kB / 0.5208 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006851/0.4408, allocations: 3.492 MB / 0.5243 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.4434, allocations: 1.39 MB / 0.5256 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003376/0.4438, allocations: 60 kB / 0.5257 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004405/0.4482, allocations: 1.537 MB / 0.5272 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00068/0.4489, allocations: 267.3 kB / 0.5274 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.4501, allocations: 402.1 kB / 0.5278 GB, free: 480 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.4542, allocations: 1.487 MB / 0.5293 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4543, allocations: 4 kB / 0.5293 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.4543, allocations: 3.938 kB / 0.5293 GB, free: 14.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.333e-05/0.4543, allocations: 3.938 kB / 0.5293 GB, free: 14.96 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.003514/0.4578, allocations: 1.163 MB / 0.5304 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4579, allocations: 15.95 kB / 0.5304 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.4591, allocations: 148.4 kB / 0.5306 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.4603, allocations: 0.5409 MB / 0.5311 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.4604, allocations: 101 kB / 0.5312 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.4606, allocations: 60.36 kB / 0.5312 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.4622, allocations: 0.8277 MB / 0.5321 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.4622, allocations: 4 kB / 0.5321 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.4623, allocations: 31.98 kB / 0.5321 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.664e-05/0.4624, allocations: 44.86 kB / 0.5321 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.4637, allocations: 0.6048 MB / 0.5327 GB, free: 11.25 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.005361/0.4691, allocations: 4.881 MB / 0.5375 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.4697, allocations: 322.7 kB / 0.5378 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.47, allocations: 140.8 kB / 0.5379 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000478/0.4705, allocations: 0.6097 MB / 0.5385 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.4705, allocations: 42.5 kB / 0.5386 GB, free: 4.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 4.048e-06/0.4705, allocations: 0 / 0.5386 GB, free: 4.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004085/0.4746, allocations: 1.551 MB / 0.5401 GB, free: 3.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.4747, allocations: 144.5 kB / 0.5402 GB, free: 2.891 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008302/0.4756, allocations: 0.6525 MB / 0.5409 GB, free: 2.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.4756, allocations: 33.7 kB / 0.5409 GB, free: 2.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.4759, allocations: 399.6 kB / 0.5413 GB, free: 1.797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.4761, allocations: 142.8 kB / 0.5414 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.4763, allocations: 150.6 kB / 0.5416 GB, free: 1.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4764, allocations: 374.8 kB / 0.5419 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.4768, allocations: 205.9 kB / 0.5421 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.4774, allocations: 0.498 MB / 0.5426 GB, free: 300 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009593/0.4783, allocations: 0.7171 MB / 0.5433 GB, free: 15.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4783, allocations: 4 kB / 0.5433 GB, free: 15.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001657/0.48, allocations: 0.9069 MB / 0.5442 GB, free: 14.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.48, allocations: 8 kB / 0.5442 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.4801, allocations: 8 kB / 0.5442 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.4814, allocations: 294.1 kB / 0.5445 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.4818, allocations: 127.7 kB / 0.5446 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.4832, allocations: 1.394 MB / 0.546 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/0.4838, allocations: 24 kB / 0.546 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.251e-05/0.4839, allocations: 47.98 kB / 0.546 GB, free: 12.58 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.0003891/0.4842, allocations: 245.7 kB / 0.5463 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.4844, allocations: 83.45 kB / 0.5463 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.486, allocations: 0.6462 MB / 0.547 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.486, allocations: 4 kB / 0.547 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.486, allocations: 0 / 0.547 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.486, allocations: 3.984 kB / 0.547 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.4882, allocations: 1.217 MB / 0.5482 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.4882, allocations: 4.062 kB / 0.5482 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.4884, allocations: 47.91 kB / 0.5482 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008795/0.4892, allocations: 201.5 kB / 0.5484 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.4893, allocations: 12 kB / 0.5484 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.4904, allocations: 1.311 MB / 0.5497 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4904, allocations: 3.938 kB / 0.5497 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.4918, allocations: 0.8191 MB / 0.5505 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.4921, allocations: 196.6 kB / 0.5507 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.4922, allocations: 8 kB / 0.5507 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.4926, allocations: 15.98 kB / 0.5507 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.4927, allocations: 23.97 kB / 0.5507 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.4928, allocations: 24.05 kB / 0.5508 GB, free: 7.523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000594/0.4934, allocations: 459 kB / 0.5512 GB, free: 7.082 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4934, allocations: 0 / 0.5512 GB, free: 7.082 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001013/0.4944, allocations: 291.6 kB / 0.5515 GB, free: 6.797 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.001052/0.4955, allocations: 359 kB / 0.5518 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.4967, allocations: 0.5312 MB / 0.5523 GB, free: 5.902 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.4967, allocations: 4.25 kB / 0.5523 GB, free: 5.898 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.4972, allocations: 235.7 kB / 0.5526 GB, free: 5.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.4988, allocations: 338.3 kB / 0.5529 GB, free: 5.332 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.5012, allocations: 1.27 MB / 0.5541 GB, free: 4.031 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.5018, allocations: 0.9342 MB / 0.555 GB, free: 3.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006407/0.5024, allocations: 202 kB / 0.5552 GB, free: 2.871 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.5027, allocations: 67.42 kB / 0.5553 GB, free: 2.805 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5027, allocations: 0 / 0.5553 GB, free: 2.805 MB / 430.1 MB Notification: Performance of Templates: time 0.0286/0.5313, allocations: 16.15 MB / 0.5711 GB, free: 2.668 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)