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.006793/0.006793, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001113/0.001113, allocations: 196.9 kB / 16.68 MB, free: 5.969 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.549/1.549, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.00182/0.00182, allocations: 53.8 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1343, allocations: 46.63 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.02856/0.1629, allocations: 24.56 MB / 397.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003954/0.167, allocations: 2.495 MB / 400.3 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.1674, allocations: 7.938 kB / 400.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007755/0.1682, allocations: 163 kB / 400.4 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009162/0.1692, allocations: 330.2 kB / 400.8 MB, free: 5.625 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.002828/0.172, allocations: 1.002 MB / 401.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.1734, allocations: 0.903 MB / 402.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.1736, allocations: 112.5 kB / 402.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005054/0.1787, allocations: 3.063 MB / 405.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005841/0.1793, allocations: 278.9 kB / 406.1 MB, free: 264 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.1794, allocations: 28 kB / 406.1 MB, free: 236 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007104/0.1801, allocations: 243.7 kB / 406.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.1803, allocations: 91.67 kB / 406.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003083/0.1806, allocations: 195.2 kB / 406.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008883/0.1815, allocations: 0.5687 MB / 407.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1816, allocations: 0 / 407.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.1816, allocations: 0 / 407.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.1816, allocations: 3.938 kB / 407.2 MB, free: 15.14 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.001028/0.1826, allocations: 0.6199 MB / 407.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1827, allocations: 12.03 kB / 407.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004334/0.1831, allocations: 60.47 kB / 407.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.1837, allocations: 295.5 kB / 408.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.1837, allocations: 24.94 kB / 408.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.1838, allocations: 24.38 kB / 408.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.1843, allocations: 338.3 kB / 408.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1843, allocations: 8 kB / 408.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.1844, allocations: 12 kB / 408.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1844, allocations: 4 kB / 408.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.1847, allocations: 189.5 kB / 408.8 MB, free: 13.45 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.002306/0.1871, allocations: 2.115 MB / 410.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.1874, allocations: 186.5 kB / 411.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.1875, allocations: 84.77 kB / 411.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.1877, allocations: 251.3 kB / 411.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.1878, allocations: 42.56 kB / 411.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 3.457e-06/0.1878, allocations: 0 / 411.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002625/0.1904, allocations: 1.018 MB / 412.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1905, allocations: 55.41 kB / 412.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.1907, allocations: 266.5 kB / 412.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.1908, allocations: 29.7 kB / 412.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1909, allocations: 188.1 kB / 413 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.712e-05/0.191, allocations: 98.5 kB / 413.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.1911, allocations: 77.97 kB / 413.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1913, allocations: 342.8 kB / 413.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.1914, allocations: 84.72 kB / 413.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.1917, allocations: 170.6 kB / 413.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.192, allocations: 293 kB / 414 MB, free: 7.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1921, allocations: 0 / 414 MB, free: 7.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006163/0.1927, allocations: 373.8 kB / 414.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1927, allocations: 8 kB / 414.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1927, allocations: 4.297 kB / 414.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/0.1931, allocations: 100.7 kB / 414.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.1934, allocations: 67.84 kB / 414.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005934/0.194, allocations: 0.6537 MB / 415.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.1942, allocations: 12 kB / 415.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.1943, allocations: 16 kB / 415.3 MB, free: 6.438 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.0001696/0.1944, allocations: 157.8 kB / 415.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/0.1945, allocations: 35.56 kB / 415.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006495/0.1952, allocations: 376.8 kB / 415.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1952, allocations: 4 kB / 415.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1952, allocations: 0 / 415.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006164/0.1958, allocations: 0.5474 MB / 416.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.197, allocations: 0.7541 MB / 417.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.197, allocations: 4 kB / 417.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1972, allocations: 27.98 kB / 417.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004783/0.1977, allocations: 112.7 kB / 417.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.1977, allocations: 8 kB / 417.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006077/0.1983, allocations: 0.6304 MB / 417.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1983, allocations: 0 / 417.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/0.1991, allocations: 491.1 kB / 418.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1992, allocations: 104.8 kB / 418.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.1993, allocations: 4.094 kB / 418.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.1995, allocations: 11.94 kB / 418.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1996, allocations: 19.97 kB / 418.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.1996, allocations: 12.05 kB / 418.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.1998, allocations: 206 kB / 418.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1998, allocations: 0 / 418.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000492/0.2003, allocations: 108 kB / 418.8 MB, free: 2.598 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.0003887/0.2007, allocations: 151.1 kB / 419 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006195/0.2014, allocations: 244.6 kB / 419.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.2014, allocations: 4.125 kB / 419.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.2017, allocations: 127.8 kB / 419.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.2027, allocations: 172.7 kB / 419.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.2041, allocations: 0.6282 MB / 420.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.2045, allocations: 0.7684 MB / 420.9 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002878/0.2048, allocations: 63.12 kB / 421 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.2049, allocations: 35.42 kB / 421 MB, free: 364 kB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2049, allocations: 0 / 421 MB, free: 364 kB / 350.1 MB Notification: Performance of Templates: time 0.01407/0.219, allocations: 7.069 MB / 428.1 MB, free: 9.273 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)