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.007616/0.007617, allocations: 99.81 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.001477/0.001477, allocations: 190 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.568/1.568, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.001419/0.001419, allocations: 53.81 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1175, allocations: 46.62 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.03081/0.1483, allocations: 24.58 MB / 397.8 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.1524, allocations: 2.488 MB / 400.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005432/0.1531, allocations: 4 kB / 400.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008663/0.1539, allocations: 163 kB / 400.4 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.1551, allocations: 322.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.003006/0.1582, allocations: 0.9586 MB / 401.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.1596, allocations: 0.907 MB / 402.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.1598, allocations: 108.5 kB / 402.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005404/0.1653, allocations: 2.724 MB / 405.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006743/0.166, allocations: 266.9 kB / 405.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.1661, allocations: 36 kB / 405.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009306/0.167, allocations: 243.6 kB / 406 MB, free: 396 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.1673, allocations: 95.72 kB / 406.1 MB, free: 300 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.1677, allocations: 191.2 kB / 406.3 MB, free: 108 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.1689, allocations: 0.584 MB / 406.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.169, allocations: 0 / 406.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.169, allocations: 0 / 406.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.51e-05/0.169, allocations: 0 / 406.9 MB, free: 15.52 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.001578/0.1706, allocations: 0.6309 MB / 407.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.1707, allocations: 11.97 kB / 407.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005217/0.1712, allocations: 48.73 kB / 407.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006112/0.1718, allocations: 307.7 kB / 407.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.1718, allocations: 16.94 kB / 407.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.1719, allocations: 24.38 kB / 407.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.1725, allocations: 346.2 kB / 408.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.1726, allocations: 0 / 408.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.1726, allocations: 16 kB / 408.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.1727, allocations: 8 kB / 408.2 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.173, 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.002535/0.1756, allocations: 2.112 MB / 410.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.176, allocations: 194.5 kB / 410.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.1761, allocations: 84.77 kB / 410.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.1763, allocations: 255.5 kB / 411.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.1764, allocations: 30.56 kB / 411.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.1764, allocations: 0 / 411.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.00288/0.1793, allocations: 1.027 MB / 412.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.1793, allocations: 63.41 kB / 412.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.1797, allocations: 262.5 kB / 412.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.1798, allocations: 33.7 kB / 412.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.18, allocations: 180.5 kB / 412.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.1801, allocations: 115 kB / 412.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.1802, allocations: 62.08 kB / 412.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.1805, allocations: 346.7 kB / 413.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.1807, allocations: 84.72 kB / 413.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.181, allocations: 170.6 kB / 413.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.1815, allocations: 297 kB / 413.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1815, allocations: 0 / 413.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000785/0.1823, allocations: 377.9 kB / 414.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.1823, allocations: 9.031 kB / 414.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.1823, allocations: 4 kB / 414.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005117/0.1829, allocations: 97.09 kB / 414.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1832, allocations: 67.91 kB / 414.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007341/0.1839, allocations: 0.6576 MB / 414.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.1842, allocations: 8 kB / 414.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/0.1842, allocations: 20 kB / 414.9 MB, free: 6.789 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.0002387/0.1845, allocations: 161.8 kB / 415.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/0.1846, allocations: 35.75 kB / 415.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000795/0.1854, allocations: 376.9 kB / 415.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.1854, allocations: 4 kB / 415.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1854, allocations: 0 / 415.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006606/0.1861, allocations: 0.5513 MB / 416 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.1874, allocations: 0.7348 MB / 416.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1874, allocations: 0 / 416.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.1876, allocations: 47.91 kB / 416.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/0.1881, allocations: 96.78 kB / 416.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.1881, allocations: 7.984 kB / 416.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005517/0.1887, allocations: 0.6422 MB / 417.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1887, allocations: 0 / 417.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007863/0.1895, allocations: 495.2 kB / 418.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.1896, allocations: 101 kB / 418.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/0.1897, allocations: 8 kB / 418.2 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.1899, allocations: 4 kB / 418.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.19, allocations: 19.97 kB / 418.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.19, allocations: 12 kB / 418.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.1903, allocations: 201.9 kB / 418.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1903, allocations: 0 / 418.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005786/0.1909, allocations: 116 kB / 418.5 MB, free: 2.949 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.0004214/0.1913, allocations: 151 kB / 418.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006199/0.192, allocations: 252 kB / 418.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.192, allocations: 4 kB / 418.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.1923, allocations: 124.6 kB / 419 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009574/0.1932, allocations: 160.5 kB / 419.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1945, allocations: 0.6348 MB / 419.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1949, allocations: 0.7684 MB / 420.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.1952, allocations: 71.11 kB / 420.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.709e-05/0.1953, allocations: 31.42 kB / 420.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1953, allocations: 0 / 420.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of Templates: time 0.01371/0.209, allocations: 7.088 MB / 427.8 MB, free: 9.602 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)