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.005901/0.005901, allocations: 100.8 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.00173/0.001731, allocations: 198.7 kB / 16.68 MB, free: 5.953 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.568/1.568, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001221/0.001221, allocations: 58.81 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1062, allocations: 46.63 MB / 373.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.03156/0.1378, allocations: 24.56 MB / 397.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003707/0.1416, allocations: 2.503 MB / 400.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003821/0.142, allocations: 11.94 kB / 400.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000686/0.1427, allocations: 155 kB / 400.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008965/0.1437, allocations: 330.2 kB / 400.8 MB, free: 5.621 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.002538/0.1462, allocations: 0.9624 MB / 401.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.1475, allocations: 0.9031 MB / 402.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.1477, allocations: 116.5 kB / 402.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004811/0.1525, allocations: 2.72 MB / 405.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006842/0.1532, allocations: 274.9 kB / 405.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.1534, allocations: 28 kB / 405.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007583/0.1541, allocations: 239.7 kB / 406 MB, free: 384 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.1543, allocations: 99.7 kB / 406.1 MB, free: 284 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.1547, allocations: 195.2 kB / 406.3 MB, free: 88 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.1557, allocations: 0.5726 MB / 406.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1557, allocations: 0 / 406.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1557, allocations: 0 / 406.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.1557, allocations: 0 / 406.9 MB, free: 15.51 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.001079/0.1568, allocations: 0.6199 MB / 407.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.1569, allocations: 8.031 kB / 407.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004591/0.1573, allocations: 60.42 kB / 407.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.1579, allocations: 303.6 kB / 407.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.158, allocations: 16.94 kB / 407.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.158, allocations: 28.31 kB / 407.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.1586, allocations: 342.4 kB / 408.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.1586, allocations: 3.938 kB / 408.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.1587, allocations: 12 kB / 408.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1587, allocations: 8 kB / 408.2 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.159, allocations: 193.5 kB / 408.4 MB, free: 13.81 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.002295/0.1613, allocations: 2.115 MB / 410.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.1617, allocations: 178.6 kB / 410.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.1618, allocations: 96.75 kB / 410.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.162, allocations: 251.2 kB / 411.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.1621, allocations: 34.56 kB / 411.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.1621, allocations: 0 / 411.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002891/0.165, allocations: 1.019 MB / 412.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.1651, allocations: 55.41 kB / 412.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.1654, allocations: 258.5 kB / 412.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.1654, allocations: 33.7 kB / 412.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.1656, allocations: 180.2 kB / 412.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.794e-05/0.1657, allocations: 114.5 kB / 412.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.1658, allocations: 69.97 kB / 412.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.1661, allocations: 342.8 kB / 413.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.1663, allocations: 84.7 kB / 413.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.1665, allocations: 174.7 kB / 413.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.167, allocations: 289 kB / 413.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.167, allocations: 0 / 413.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006485/0.1676, allocations: 377.9 kB / 414.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1677, allocations: 4 kB / 414.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1677, allocations: 7.938 kB / 414.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.1681, allocations: 96.73 kB / 414.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.1684, allocations: 67.89 kB / 414.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005458/0.1689, allocations: 0.6579 MB / 414.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.1691, allocations: 12 kB / 414.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.1692, allocations: 16 kB / 414.9 MB, free: 6.809 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.0001657/0.1694, allocations: 157.8 kB / 415.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.1694, allocations: 35.56 kB / 415.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006203/0.1701, allocations: 376.9 kB / 415.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1701, allocations: 8.062 kB / 415.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1701, allocations: 0 / 415.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005689/0.1707, allocations: 0.5513 MB / 416 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.1719, allocations: 0.7386 MB / 416.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1719, allocations: 0 / 416.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.172, allocations: 39.98 kB / 416.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004727/0.1725, allocations: 100.8 kB / 416.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.1725, allocations: 8 kB / 416.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004876/0.173, allocations: 0.6304 MB / 417.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.173, allocations: 8.062 kB / 417.5 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.1738, allocations: 491 kB / 418 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.1739, allocations: 100.9 kB / 418.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.174, allocations: 8 kB / 418.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.1742, allocations: 12.05 kB / 418.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.1743, allocations: 15.92 kB / 418.2 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.1743, allocations: 20.08 kB / 418.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.1745, allocations: 197.9 kB / 418.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1745, allocations: 0 / 418.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005128/0.1751, allocations: 116 kB / 418.5 MB, free: 2.969 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.0003161/0.1754, allocations: 143.1 kB / 418.6 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00056/0.176, allocations: 256 kB / 418.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.176, allocations: 0 / 418.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.1763, allocations: 119.9 kB / 419 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.1771, allocations: 169.3 kB / 419.2 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.1785, allocations: 0.6355 MB / 419.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1789, allocations: 0.7645 MB / 420.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000274/0.1791, allocations: 67.16 kB / 420.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.1792, allocations: 31.44 kB / 420.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1792, allocations: 0 / 420.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of Templates: time 0.01313/0.1924, allocations: 7.084 MB / 427.7 MB, free: 9.637 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)