Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008017/0.008017, allocations: 102 kB / 15.73 MB, free: 6.035 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.00169/0.00169, allocations: 187.9 kB / 16.67 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.552/1.552, 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.001202/0.001202, allocations: 52.64 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1141, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02767/0.1419, allocations: 24.56 MB / 397.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003557/0.1455, allocations: 2.503 MB / 400.3 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.1458, allocations: 7.938 kB / 400.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.1464, allocations: 155 kB / 400.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006479/0.1471, allocations: 326.2 kB / 400.8 MB, free: 5.637 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.002512/0.1496, allocations: 0.9625 MB / 401.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.1507, allocations: 0.8992 MB / 402.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.1509, allocations: 112.5 kB / 402.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004944/0.1558, allocations: 2.72 MB / 405.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005348/0.1564, allocations: 266.9 kB / 405.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.576e-05/0.1565, allocations: 32 kB / 405.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006999/0.1572, allocations: 239.7 kB / 406 MB, free: 412 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.1573, allocations: 95.7 kB / 406.1 MB, free: 316 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.1575, allocations: 199.2 kB / 406.3 MB, free: 116 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007938/0.1583, allocations: 0.5726 MB / 406.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1583, allocations: 0 / 406.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1584, allocations: 0 / 406.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1584, allocations: 0 / 406.8 MB, free: 15.54 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.0009721/0.1594, allocations: 0.6238 MB / 407.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1594, allocations: 8.031 kB / 407.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003927/0.1598, allocations: 48.55 kB / 407.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.1603, allocations: 303.5 kB / 407.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.1604, allocations: 20.94 kB / 407.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.1604, allocations: 24.38 kB / 407.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.161, allocations: 342.4 kB / 408.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.161, allocations: 3.938 kB / 408.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.1611, allocations: 12 kB / 408.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1611, allocations: 8 kB / 408.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.1614, allocations: 189.5 kB / 408.4 MB, free: 13.85 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.002394/0.1638, allocations: 2.119 MB / 410.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.1641, allocations: 178.6 kB / 410.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.1643, allocations: 96.77 kB / 410.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.1645, allocations: 243.3 kB / 411 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1646, allocations: 42.5 kB / 411.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.963e-06/0.1646, allocations: 0 / 411.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002901/0.1675, allocations: 1.019 MB / 412.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1675, allocations: 55.34 kB / 412.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.1678, allocations: 262.5 kB / 412.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.1679, allocations: 33.7 kB / 412.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.168, allocations: 184.2 kB / 412.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.641e-05/0.1681, allocations: 106.5 kB / 412.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.1683, allocations: 73.97 kB / 412.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1684, allocations: 342.8 kB / 413.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.1686, allocations: 84.7 kB / 413.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.1688, allocations: 174.6 kB / 413.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.1692, allocations: 285 kB / 413.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1693, allocations: 4 kB / 413.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000594/0.1699, allocations: 373.9 kB / 414 MB, free: 7.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1699, allocations: 4 kB / 414 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1699, allocations: 4 kB / 414 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004391/0.1704, allocations: 108.6 kB / 414.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.1706, allocations: 63.91 kB / 414.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006722/0.1713, allocations: 0.6617 MB / 414.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.1715, allocations: 12 kB / 414.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.1715, allocations: 19.98 kB / 414.9 MB, free: 6.832 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.0001849/0.1717, allocations: 153.8 kB / 415 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.1718, allocations: 31.56 kB / 415.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006705/0.1725, allocations: 376.8 kB / 415.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1725, allocations: 4.062 kB / 415.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1725, allocations: 4.094 kB / 415.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000691/0.1732, allocations: 0.5551 MB / 416 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.1744, allocations: 0.7386 MB / 416.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1744, allocations: 4 kB / 416.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.1746, allocations: 39.98 kB / 416.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004846/0.1751, allocations: 100.8 kB / 416.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.1751, allocations: 4 kB / 416.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005112/0.1756, allocations: 0.6382 MB / 417.5 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1756, allocations: 3.984 kB / 417.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007189/0.1764, allocations: 487 kB / 418 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.013e-05/0.1765, allocations: 100.9 kB / 418.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.1765, allocations: 8.125 kB / 418.1 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.1768, allocations: 11.98 kB / 418.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.1768, allocations: 15.92 kB / 418.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.1768, allocations: 19.98 kB / 418.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002377/0.1771, allocations: 194 kB / 418.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1771, allocations: 0 / 418.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005109/0.1776, allocations: 116 kB / 418.5 MB, free: 3 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.0003607/0.178, allocations: 143.2 kB / 418.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005518/0.1785, allocations: 248 kB / 418.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1786, allocations: 4 kB / 418.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.1788, allocations: 119.9 kB / 419 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009754/0.1798, allocations: 173.4 kB / 419.1 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.1813, allocations: 0.6394 MB / 419.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.1817, allocations: 0.7606 MB / 420.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002605/0.1819, allocations: 67.17 kB / 420.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.182, allocations: 31.42 kB / 420.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.182, allocations: 3.938 kB / 420.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of Templates: time 0.01246/0.1945, allocations: 7.088 MB / 427.7 MB, free: 9.656 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)