Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) 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(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007436/0.007436, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001802/0.001802, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.571/1.571, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5982/0.5982, allocations: 95.48 MB / 365.4 MB, free: 9.703 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.91 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1625, allocations: 69.08 MB / 0.5711 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003006/0.1656, allocations: 1.435 MB / 0.5725 GB, free: 6.879 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1668, allocations: 0.7415 MB / 0.5732 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.1669, allocations: 0 / 0.5732 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.155e-05/0.167, allocations: 3.938 kB / 0.5732 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.109e-05/0.167, allocations: 7.922 kB / 0.5732 GB, free: 6.121 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.1674, allocations: 99.66 kB / 0.5733 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.937e-05/0.1675, allocations: 27.86 kB / 0.5733 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.532e-05/0.1676, allocations: 8 kB / 0.5733 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/0.1677, allocations: 7.984 kB / 0.5733 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.1677, allocations: 11.94 kB / 0.5734 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1678, allocations: 4 kB / 0.5734 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.168, allocations: 131.8 kB / 0.5735 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.168, allocations: 7.938 kB / 0.5735 GB, free: 5.828 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.168, allocations: 19.92 kB / 0.5735 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1682, allocations: 87.83 kB / 0.5736 GB, free: 5.723 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1682, allocations: 0 / 0.5736 GB, free: 5.723 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1682, allocations: 0 / 0.5736 GB, free: 5.723 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1683, allocations: 3.984 kB / 0.5736 GB, free: 5.719 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004787/0.1687, allocations: 355.4 kB / 0.5739 GB, free: 5.324 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1688, allocations: 23.86 kB / 0.574 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1688, allocations: 8.828 kB / 0.574 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1689, allocations: 168.1 kB / 0.5741 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.169, allocations: 4 kB / 0.5741 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.169, allocations: 0 / 0.5741 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1691, allocations: 41.69 kB / 0.5742 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1692, allocations: 0 / 0.5742 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1692, allocations: 3.938 kB / 0.5742 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1692, allocations: 7.984 kB / 0.5742 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.182e-05/0.1693, allocations: 19.98 kB / 0.5742 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.1696, allocations: 252.9 kB / 0.5744 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.08e-05/0.1697, allocations: 34.56 kB / 0.5745 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.1698, allocations: 12.92 kB / 0.5745 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.1708, allocations: 1.354 MB / 0.5758 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1709, allocations: 38.5 kB / 0.5759 GB, free: 2.938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1709, allocations: 0 / 0.5759 GB, free: 2.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002603/0.1712, allocations: 65.58 kB / 0.5759 GB, free: 2.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1712, allocations: 51.41 kB / 0.576 GB, free: 2.805 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.1713, allocations: 113.8 kB / 0.5761 GB, free: 2.684 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1713, allocations: 25.7 kB / 0.5761 GB, free: 2.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.1714, allocations: 88.27 kB / 0.5762 GB, free: 2.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1714, allocations: 7.891 kB / 0.5762 GB, free: 2.555 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.1714, allocations: 17.72 kB / 0.5762 GB, free: 2.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1715, allocations: 314.8 kB / 0.5765 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-05/0.1716, allocations: 15.98 kB / 0.5765 GB, free: 2.199 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.1716, allocations: 7.938 kB / 0.5765 GB, free: 2.191 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.13e-05/0.1717, allocations: 28.91 kB / 0.5766 GB, free: 2.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1717, allocations: 0 / 0.5766 GB, free: 2.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001066/0.1718, allocations: 57.67 kB / 0.5766 GB, free: 2.098 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1719, allocations: 4 kB / 0.5766 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1719, allocations: 0 / 0.5766 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1719, allocations: 0 / 0.5766 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.049e-05/0.172, allocations: 4 kB / 0.5766 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.172, allocations: 0 / 0.5766 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.172, allocations: 7.938 kB / 0.5766 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.172, allocations: 12.02 kB / 0.5766 GB, free: 2.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/0.1721, allocations: 113.8 kB / 0.5767 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.1721, allocations: 7.844 kB / 0.5768 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.1723, allocations: 65.16 kB / 0.5768 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1723, allocations: 0 / 0.5768 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1723, allocations: 0 / 0.5768 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1723, allocations: 11.94 kB / 0.5768 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.1725, allocations: 161.5 kB / 0.577 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1725, allocations: 4.031 kB / 0.577 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.1726, allocations: 7.984 kB / 0.577 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1726, allocations: 0 / 0.577 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1726, allocations: 4 kB / 0.577 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1726, allocations: 0 / 0.577 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1726, allocations: 0 / 0.577 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.1728, allocations: 155.4 kB / 0.5771 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.1728, allocations: 89.05 kB / 0.5772 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1728, allocations: 0 / 0.5772 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.772e-05/0.1729, allocations: 0 / 0.5772 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.1729, allocations: 11.92 kB / 0.5772 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.1729, allocations: 0 / 0.5772 GB, free: 1.348 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.505e-05/0.173, allocations: 91.56 kB / 0.5773 GB, free: 1.258 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.173, allocations: 0 / 0.5773 GB, free: 1.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1733, allocations: 19.98 kB / 0.5773 GB, free: 1.238 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001652/0.1734, allocations: 111.2 kB / 0.5775 GB, free: 1.121 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1736, allocations: 27.98 kB / 0.5775 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1736, allocations: 0 / 0.5775 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.1736, allocations: 15.92 kB / 0.5775 GB, free: 1.078 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.1739, allocations: 0 / 0.5775 GB, free: 1.078 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.1742, allocations: 118.8 kB / 0.5776 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1744, allocations: 0.6808 MB / 0.5783 GB, free: 236 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.727e-05/0.1745, allocations: 4 kB / 0.5783 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.1745, allocations: 15.36 kB / 0.5783 GB, free: 216 kB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1745, allocations: 0 / 0.5783 GB, free: 216 kB / 446.1 MB Notification: Performance of Templates: time 0.002872/0.1774, allocations: 0.6517 MB / 0.5789 GB, free: 15.56 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)