Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00721/0.00721, allocations: 100.1 kB / 15.73 MB, free: 6.449 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.001603/0.001603, allocations: 201.6 kB / 16.68 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.557/1.557, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.00122/0.00122, allocations: 51.06 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1118, allocations: 46.63 MB / 373.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.02769/0.1395, allocations: 24.55 MB / 397.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003608/0.1431, allocations: 2.499 MB / 400.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.1434, allocations: 7.938 kB / 400.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.1441, allocations: 155 kB / 400.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006534/0.1447, allocations: 334.2 kB / 400.8 MB, free: 5.633 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.002545/0.1473, allocations: 1.009 MB / 401.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.1483, allocations: 0.9031 MB / 402.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.1485, allocations: 116.4 kB / 402.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004978/0.1535, allocations: 3.063 MB / 405.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.154, allocations: 274.9 kB / 406.1 MB, free: 264 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.489e-05/0.154, allocations: 32 kB / 406.1 MB, free: 232 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005638/0.1546, allocations: 235.8 kB / 406.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1547, allocations: 95.66 kB / 406.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.1549, allocations: 195.2 kB / 406.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006554/0.1556, allocations: 0.5649 MB / 407.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1556, allocations: 0 / 407.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1556, allocations: 3.938 kB / 407.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1556, allocations: 4 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.0008862/0.1565, allocations: 0.6199 MB / 407.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1566, allocations: 15.89 kB / 407.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/0.157, allocations: 52.55 kB / 407.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.1575, allocations: 291.7 kB / 408.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.1575, allocations: 24.94 kB / 408.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.1576, allocations: 24.38 kB / 408.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.1581, allocations: 342.3 kB / 408.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.1581, allocations: 4 kB / 408.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.1582, allocations: 12 kB / 408.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.1582, allocations: 8 kB / 408.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.1585, 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.002182/0.1607, allocations: 2.115 MB / 410.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.161, allocations: 186.4 kB / 411.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.1613, allocations: 88.77 kB / 411.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.1614, allocations: 255.5 kB / 411.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.1615, allocations: 42.56 kB / 411.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.432e-06/0.1615, allocations: 3.938 kB / 411.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002568/0.1641, allocations: 1.014 MB / 412.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.1641, allocations: 55.41 kB / 412.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.1644, allocations: 262.5 kB / 412.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.1645, allocations: 29.7 kB / 412.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.1646, allocations: 188.1 kB / 413 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1647, allocations: 98.5 kB / 413.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1648, allocations: 77.97 kB / 413.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.165, allocations: 342.8 kB / 413.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.1651, allocations: 92.64 kB / 413.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.1653, allocations: 162.7 kB / 413.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.1657, allocations: 293 kB / 414 MB, free: 7.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1657, allocations: 0 / 414 MB, free: 7.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005614/0.1663, allocations: 373.8 kB / 414.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1663, allocations: 8 kB / 414.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1664, allocations: 4.312 kB / 414.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000405/0.1668, allocations: 96.73 kB / 414.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.167, allocations: 67.89 kB / 414.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005323/0.1676, allocations: 0.6576 MB / 415.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1677, allocations: 8 kB / 415.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.1678, allocations: 20 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.0001557/0.1679, allocations: 157.8 kB / 415.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-05/0.168, allocations: 35.56 kB / 415.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006229/0.1687, allocations: 376.9 kB / 415.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1687, allocations: 0 / 415.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1687, allocations: 0 / 415.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005116/0.1692, allocations: 0.5552 MB / 416.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.1703, allocations: 0.7503 MB / 417.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1703, allocations: 0 / 417.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.1704, allocations: 35.92 kB / 417.2 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/0.1709, allocations: 104.8 kB / 417.3 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1709, allocations: 8 kB / 417.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005416/0.1715, allocations: 0.6304 MB / 417.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1715, allocations: 4.031 kB / 417.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/0.1722, allocations: 495.1 kB / 418.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1723, allocations: 100.8 kB / 418.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.1724, allocations: 0 / 418.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.1726, allocations: 11.98 kB / 418.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.1727, allocations: 15.98 kB / 418.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.1727, allocations: 16.05 kB / 418.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.1729, allocations: 202 kB / 418.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1729, allocations: 0 / 418.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.1734, allocations: 112.1 kB / 418.8 MB, free: 2.602 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.000284/0.1737, allocations: 155.1 kB / 419 MB, free: 2.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000559/0.1742, allocations: 244.6 kB / 419.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1743, allocations: 4.125 kB / 419.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.1745, 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.0009305/0.1755, allocations: 164.7 kB / 419.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.1767, allocations: 0.6282 MB / 420.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.1771, allocations: 0.7684 MB / 420.9 MB, free: 464 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.1774, allocations: 67.11 kB / 421 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.1775, allocations: 31.44 kB / 421 MB, free: 372 kB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1775, allocations: 0 / 421 MB, free: 372 kB / 350.1 MB Notification: Performance of Templates: time 0.01308/0.1906, allocations: 7.077 MB / 428.1 MB, free: 9.273 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)