Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007829/0.007829, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001466/0.001466, allocations: 197.6 kB / 16.68 MB, free: 5.965 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.559/1.559, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 50.61 kB / 326.6 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1172, allocations: 46.63 MB / 373.2 MB, free: 1.363 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.03122/0.1484, allocations: 24.55 MB / 397.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004257/0.1527, allocations: 2.499 MB / 400.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.1534, allocations: 4 kB / 400.3 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007553/0.1542, allocations: 163 kB / 400.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008808/0.1551, allocations: 334.2 kB / 400.8 MB, free: 5.719 MB / 334.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.typeClassSections: time 0.002581/0.1577, allocations: 1.005 MB / 401.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.1587, allocations: 0.8992 MB / 402.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.1589, allocations: 116.5 kB / 402.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005452/0.1644, allocations: 3.063 MB / 405.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007601/0.1652, allocations: 274.9 kB / 406.1 MB, free: 360 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.1653, allocations: 28 kB / 406.1 MB, free: 332 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009529/0.1663, allocations: 243.6 kB / 406.4 MB, free: 88 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.1666, allocations: 95.78 kB / 406.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.167, allocations: 191.1 kB / 406.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.1681, allocations: 0.5766 MB / 407.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1681, allocations: 0 / 407.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1681, allocations: 0 / 407.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.1681, allocations: 0 / 407.2 MB, free: 15.23 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001172/0.1693, allocations: 0.6238 MB / 407.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1694, allocations: 8.031 kB / 407.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.1698, allocations: 48.55 kB / 407.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.1704, allocations: 303.5 kB / 408.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.1705, allocations: 24.92 kB / 408.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.1705, allocations: 24.38 kB / 408.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.1711, allocations: 330.4 kB / 408.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.1712, allocations: 7.938 kB / 408.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.1712, allocations: 12 kB / 408.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1713, allocations: 8 kB / 408.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.1717, allocations: 201.5 kB / 408.8 MB, free: 13.53 MB / 350.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.002644/0.1744, allocations: 2.108 MB / 410.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.1748, allocations: 186.5 kB / 411.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.1749, allocations: 84.77 kB / 411.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002844/0.1752, allocations: 251.3 kB / 411.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.1753, allocations: 42.5 kB / 411.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.974e-06/0.1753, allocations: 0 / 411.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003087/0.1784, allocations: 1.019 MB / 412.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.1784, allocations: 55.41 kB / 412.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.1788, allocations: 266.5 kB / 412.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.1788, allocations: 33.7 kB / 412.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.179, allocations: 176.2 kB / 413 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1792, allocations: 114.5 kB / 413.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.1793, allocations: 65.98 kB / 413.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.1795, allocations: 350.7 kB / 413.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1798, allocations: 88.7 kB / 413.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.18, allocations: 170.6 kB / 413.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.1805, allocations: 289 kB / 414.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.1805, allocations: 0 / 414.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007171/0.1812, allocations: 373.8 kB / 414.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1812, allocations: 4 kB / 414.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.1812, allocations: 4.312 kB / 414.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004536/0.1817, allocations: 100.7 kB / 414.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.182, allocations: 67.91 kB / 414.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000604/0.1826, allocations: 0.6499 MB / 415.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.1828, allocations: 8 kB / 415.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.1828, allocations: 23.98 kB / 415.3 MB, free: 6.531 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.183, allocations: 153.8 kB / 415.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.1831, allocations: 35.56 kB / 415.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006676/0.1838, allocations: 372.9 kB / 415.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1838, allocations: 4 kB / 415.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1838, allocations: 0 / 415.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005656/0.1844, allocations: 0.5591 MB / 416.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.1858, allocations: 0.7425 MB / 417.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1858, allocations: 0 / 417.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.1859, allocations: 39.91 kB / 417.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/0.1864, allocations: 100.8 kB / 417.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.1865, allocations: 11.94 kB / 417.3 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005864/0.1871, allocations: 0.6382 MB / 417.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1871, allocations: 0 / 417.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008643/0.188, allocations: 499 kB / 418.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1881, allocations: 96.86 kB / 418.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/0.1882, allocations: 11.98 kB / 418.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.1884, allocations: 4 kB / 418.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.1884, allocations: 11.98 kB / 418.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.1885, allocations: 23.98 kB / 418.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002493/0.1887, allocations: 198 kB / 418.7 MB, free: 2.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1887, allocations: 0 / 418.7 MB, free: 2.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005516/0.1893, allocations: 116 kB / 418.9 MB, free: 2.688 MB / 350.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 (18): * Single equations (assignments): 17 * 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 {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003072/0.1896, allocations: 131.2 kB / 419 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005856/0.1902, allocations: 260.6 kB / 419.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.1902, allocations: 4 kB / 419.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.1906, allocations: 119.9 kB / 419.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009836/0.1916, allocations: 164.8 kB / 419.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.193, allocations: 0.6283 MB / 420.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.1935, allocations: 0.7684 MB / 420.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.1938, allocations: 67.12 kB / 421 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.1939, allocations: 39.42 kB / 421 MB, free: 468 kB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1939, allocations: 0 / 421 MB, free: 468 kB / 350.1 MB Notification: Performance of Templates: time 0.01424/0.2081, allocations: 7.085 MB / 428.1 MB, free: 9.359 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)