Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.006762/0.006762, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001582/0.001582, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.55/1.55, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001209/0.001209, allocations: 45.94 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.112, allocations: 46.62 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02927/0.1413, allocations: 24.57 MB / 397.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.1451, allocations: 2.495 MB / 400.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006027/0.1458, allocations: 8 kB / 400.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009829/0.1468, allocations: 166.9 kB / 400.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1482, allocations: 322.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.003069/0.1513, allocations: 0.9625 MB / 401.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.1524, allocations: 0.903 MB / 402.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.1527, allocations: 112.5 kB / 402.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004899/0.1576, allocations: 2.728 MB / 405.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.1581, allocations: 266.9 kB / 405.7 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.307e-05/0.1582, allocations: 32 kB / 405.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.159, allocations: 247.6 kB / 406 MB, free: 376 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.1591, allocations: 91.72 kB / 406.1 MB, free: 284 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.1594, allocations: 191.2 kB / 406.3 MB, free: 92 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009535/0.1604, allocations: 0.5804 MB / 406.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1604, allocations: 0 / 406.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1604, allocations: 4 kB / 406.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.1604, allocations: 0 / 406.9 MB, free: 15.5 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.0009825/0.1614, allocations: 0.6199 MB / 407.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1615, allocations: 8.031 kB / 407.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/0.1619, allocations: 56.48 kB / 407.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.1624, allocations: 303.5 kB / 407.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.1624, allocations: 20.94 kB / 407.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.1625, allocations: 24.38 kB / 407.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.163, allocations: 342.3 kB / 408.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.163, allocations: 0 / 408.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.1631, allocations: 12 kB / 408.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.1631, allocations: 8 kB / 408.2 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.1634, allocations: 189.5 kB / 408.4 MB, free: 13.82 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.002114/0.1655, allocations: 2.115 MB / 410.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.1658, allocations: 186.5 kB / 410.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.166, allocations: 88.77 kB / 410.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.1662, allocations: 247.3 kB / 411.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.1662, allocations: 38.56 kB / 411.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.1662, allocations: 0 / 411.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002582/0.1688, allocations: 1.019 MB / 412.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1689, allocations: 55.41 kB / 412.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.1692, allocations: 266.5 kB / 412.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.1692, allocations: 29.7 kB / 412.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.1693, allocations: 180.2 kB / 412.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.331e-05/0.1694, allocations: 110.5 kB / 412.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1695, allocations: 73.97 kB / 412.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1696, allocations: 342.8 kB / 413.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1698, allocations: 84.7 kB / 413.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.17, allocations: 174.6 kB / 413.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.1704, allocations: 285 kB / 413.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.1704, allocations: 4 kB / 413.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005733/0.171, allocations: 377.9 kB / 414 MB, free: 7.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.171, allocations: 9.094 kB / 414.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.171, allocations: 7.938 kB / 414.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.1715, allocations: 92.78 kB / 414.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.1717, allocations: 71.78 kB / 414.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005115/0.1722, allocations: 0.6579 MB / 414.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.1724, allocations: 11.98 kB / 414.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.1725, allocations: 16 kB / 414.9 MB, free: 6.805 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.0001709/0.1727, allocations: 157.8 kB / 415.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.1727, allocations: 35.56 kB / 415.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006098/0.1734, allocations: 376.9 kB / 415.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1734, allocations: 4.062 kB / 415.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1734, allocations: 0 / 415.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005123/0.1739, allocations: 0.5474 MB / 416 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.1749, allocations: 0.7463 MB / 416.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.175, allocations: 0 / 416.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.1751, allocations: 36.05 kB / 416.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/0.1756, allocations: 104.7 kB / 416.9 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.1756, allocations: 4 kB / 416.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004685/0.1761, allocations: 0.6343 MB / 417.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1761, allocations: 8.094 kB / 417.5 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/0.1768, allocations: 495 kB / 418 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1769, allocations: 96.86 kB / 418.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.1769, allocations: 4 kB / 418.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.1771, allocations: 16.05 kB / 418.1 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.1772, allocations: 11.98 kB / 418.2 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.1772, allocations: 19.98 kB / 418.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.1774, allocations: 194 kB / 418.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1774, allocations: 3.938 kB / 418.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.1779, allocations: 112 kB / 418.5 MB, free: 2.973 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.0003366/0.1783, allocations: 147.1 kB / 418.6 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.1789, allocations: 248.1 kB / 418.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.1789, allocations: 4 kB / 418.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.1792, allocations: 119.9 kB / 419 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/0.1802, allocations: 177.2 kB / 419.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.1813, allocations: 0.6278 MB / 419.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1817, allocations: 0.7645 MB / 420.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.1819, allocations: 71.11 kB / 420.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.182, allocations: 35.42 kB / 420.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.182, allocations: 0 / 420.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Templates: time 0.01198/0.194, allocations: 7.088 MB / 427.7 MB, free: 9.629 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)