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.01013/0.01012, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00181/0.00181, allocations: 194.8 kB / 16.67 MB, free: 5.52 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.66/1.66, allocations: 205.1 MB / 222.5 MB, free: 4.188 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.6432/0.6432, allocations: 95.48 MB / 365.4 MB, free: 9.711 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.001459/0.001459, allocations: 71.91 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1697, allocations: 69.09 MB / 0.5711 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003299/0.173, allocations: 1.424 MB / 0.5725 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1745, allocations: 0.7493 MB / 0.5732 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.1745, allocations: 0 / 0.5732 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.679e-05/0.1746, allocations: 3.938 kB / 0.5732 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.81e-05/0.1747, allocations: 3.938 kB / 0.5732 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.1751, allocations: 91.66 kB / 0.5733 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.933e-05/0.1752, allocations: 31.86 kB / 0.5733 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1753, allocations: 12 kB / 0.5733 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.1754, allocations: 11.97 kB / 0.5733 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.1755, allocations: 15.92 kB / 0.5734 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1755, allocations: 11.88 kB / 0.5734 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.1758, allocations: 123.9 kB / 0.5735 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.1758, allocations: 7.938 kB / 0.5735 GB, free: 5.828 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.1758, allocations: 11.94 kB / 0.5735 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1761, allocations: 91.81 kB / 0.5736 GB, free: 5.727 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1761, allocations: 0 / 0.5736 GB, free: 5.727 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1761, allocations: 4 kB / 0.5736 GB, free: 5.723 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1761, allocations: 0 / 0.5736 GB, free: 5.723 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.0005606/0.1767, allocations: 359.4 kB / 0.5739 GB, free: 5.324 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.1767, allocations: 11.98 kB / 0.574 GB, free: 5.312 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.1768, allocations: 12.78 kB / 0.574 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.1769, allocations: 168.1 kB / 0.5741 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1769, allocations: 0 / 0.5741 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.177, allocations: 3.984 kB / 0.5741 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1771, allocations: 49.61 kB / 0.5742 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1771, allocations: 4 kB / 0.5742 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1772, allocations: 0 / 0.5742 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1772, allocations: 0 / 0.5742 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.035e-05/0.1773, allocations: 19.98 kB / 0.5742 GB, free: 5.016 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.1777, allocations: 252.9 kB / 0.5744 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.968e-05/0.1778, allocations: 30.56 kB / 0.5745 GB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.1778, allocations: 24.84 kB / 0.5745 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.1791, allocations: 1.354 MB / 0.5758 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1791, allocations: 30.56 kB / 0.5758 GB, free: 2.945 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.1791, allocations: 4 kB / 0.5759 GB, free: 2.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002586/0.1794, allocations: 65.59 kB / 0.5759 GB, free: 2.871 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1794, allocations: 55.39 kB / 0.576 GB, free: 2.805 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/0.1795, allocations: 109.8 kB / 0.5761 GB, free: 2.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1795, allocations: 29.7 kB / 0.5761 GB, free: 2.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.1796, allocations: 84.14 kB / 0.5762 GB, free: 2.566 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.1796, allocations: 3.906 kB / 0.5762 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.1797, allocations: 21.84 kB / 0.5762 GB, free: 2.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1798, allocations: 318.8 kB / 0.5765 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.1799, allocations: 15.94 kB / 0.5765 GB, free: 2.199 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.1799, allocations: 7.984 kB / 0.5765 GB, free: 2.191 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.424e-05/0.18, allocations: 24.84 kB / 0.5766 GB, free: 2.164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.18, allocations: 0 / 0.5766 GB, free: 2.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000109/0.1801, allocations: 53.75 kB / 0.5766 GB, free: 2.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1801, allocations: 8 kB / 0.5766 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1801, allocations: 0 / 0.5766 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1802, allocations: 0 / 0.5766 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.1802, allocations: 4 kB / 0.5766 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.1803, allocations: 8.234 kB / 0.5766 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.1803, allocations: 15.88 kB / 0.5766 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1803, allocations: 4 kB / 0.5766 GB, free: 2.066 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.073e-05/0.1804, allocations: 105.8 kB / 0.5767 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.1804, allocations: 15.88 kB / 0.5768 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.1806, allocations: 65.16 kB / 0.5768 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1806, allocations: 0 / 0.5768 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1806, allocations: 0 / 0.5768 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1806, allocations: 3.938 kB / 0.5768 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1808, allocations: 165.6 kB / 0.577 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1808, allocations: 0 / 0.577 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.1809, allocations: 4 kB / 0.577 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1809, allocations: 0 / 0.577 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1809, allocations: 4.031 kB / 0.577 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1809, allocations: 0 / 0.577 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.1809, allocations: 7.984 kB / 0.577 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.1811, allocations: 151.4 kB / 0.5771 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.1811, allocations: 81.02 kB / 0.5772 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1811, allocations: 0 / 0.5772 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.1812, allocations: 8.016 kB / 0.5772 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.1812, allocations: 7.938 kB / 0.5772 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1813, allocations: 0 / 0.5772 GB, free: 1.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.581e-05/0.1813, allocations: 95.25 kB / 0.5773 GB, free: 1.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1813, allocations: 0 / 0.5773 GB, free: 1.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1815, allocations: 12 kB / 0.5773 GB, free: 1.25 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.0001711/0.1817, allocations: 119.2 kB / 0.5775 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1819, allocations: 31.92 kB / 0.5775 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1819, allocations: 0 / 0.5775 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.1819, allocations: 8 kB / 0.5775 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.1821, allocations: 0 / 0.5775 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.1824, allocations: 130 kB / 0.5776 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.1827, allocations: 0.6768 MB / 0.5783 GB, free: 240 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.3e-05/0.1827, allocations: 7.984 kB / 0.5783 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.1828, allocations: 11.56 kB / 0.5783 GB, free: 220 kB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1828, allocations: 3.938 kB / 0.5783 GB, free: 216 kB / 446.1 MB Notification: Performance of Templates: time 0.002965/0.1857, allocations: 0.6532 MB / 0.5789 GB, free: 15.55 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)