Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.671/2.671, allocations: 287.9 MB / 302.9 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 177.1 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 102.2 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007375/0.0007376, allocations: 11.91 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1724, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001409/0.1738, allocations: 1.172 MB / 0.9799 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008625/0.1747, allocations: 0.5642 MB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.1748, allocations: 0 / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.1748, allocations: 0 / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.164e-05/0.1749, allocations: 7.984 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.1751, allocations: 43.83 kB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.027e-05/0.1751, allocations: 15.98 kB / 0.9805 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.655e-05/0.1752, allocations: 3.984 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.25e-05/0.1753, allocations: 15.92 kB / 0.9805 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.1754, allocations: 15.92 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1754, allocations: 0 / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1755, allocations: 39.97 kB / 0.9806 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.1755, allocations: 11.98 kB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.1756, allocations: 25.7 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.1757, allocations: 43.88 kB / 0.9807 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.789e-06/0.1757, allocations: 3.938 kB / 0.9807 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.935e-06/0.1757, allocations: 0 / 0.9807 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.923e-06/0.1757, allocations: 4 kB / 0.9807 GB, free: 26.22 MB / 0.6198 GB 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.0003224/0.1761, allocations: 347.5 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1761, allocations: 12.02 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.1762, allocations: 7.906 kB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.783e-05/0.1762, allocations: 171 kB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1763, allocations: 0 / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.1763, allocations: 4 kB / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.1764, allocations: 45.67 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.058e-06/0.1765, allocations: 0 / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-06/0.1765, allocations: 0 / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.1765, allocations: 0 / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1766, allocations: 27.98 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.1769, allocations: 256.9 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.177, allocations: 38.55 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007661/0.1778, allocations: 0.4936 MB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.1778, allocations: 30.56 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.504e-06/0.1778, allocations: 0 / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002741/0.1781, allocations: 73.61 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.1782, allocations: 51.41 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.1782, allocations: 125.8 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1783, allocations: 25.7 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.1783, allocations: 88.05 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.1783, allocations: 0 / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-06/0.1783, allocations: 0 / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.1784, allocations: 322.8 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.1785, allocations: 8 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.997e-05/0.1785, allocations: 19.98 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.529e-05/0.1786, allocations: 8 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.984e-06/0.1786, allocations: 0 / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001547/0.1788, allocations: 65.47 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1788, allocations: 5.406 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.699e-06/0.1788, allocations: 0 / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1788, allocations: 4.094 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.1789, allocations: 15.98 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.268e-06/0.1789, allocations: 0 / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.179, allocations: 3.953 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.724e-06/0.179, allocations: 4 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.382e-05/0.1791, allocations: 105.8 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.1791, allocations: 7.984 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.1793, allocations: 65.22 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.383e-06/0.1794, allocations: 3.984 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.802e-06/0.1794, allocations: 3.938 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.239e-06/0.1794, allocations: 0 / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.1795, allocations: 161.5 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-06/0.1796, allocations: 4 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.1796, allocations: 11.98 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.623e-06/0.1797, allocations: 0 / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.585e-06/0.1797, allocations: 4.031 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1797, allocations: 0 / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.687e-06/0.1797, allocations: 0 / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.1799, allocations: 159.5 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.1799, allocations: 77.11 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1799, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.795e-05/0.18, allocations: 8.031 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.1801, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-06/0.1801, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.1801, allocations: 91.27 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.702e-06/0.1802, allocations: 0 / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003226/0.1805, allocations: 15.94 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.1807, allocations: 111.2 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.1809, allocations: 35.98 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.249e-06/0.1809, allocations: 7.875 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.044e-05/0.1809, allocations: 11.98 kB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.1811, allocations: 3.953 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.1814, allocations: 140.6 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.1815, allocations: 0.6848 MB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.1816, allocations: 4 kB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.1816, allocations: 11.44 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of SimCode: time 1.262e-06/0.1816, allocations: 0 / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.002907/0.1845, allocations: 0.6143 MB / 0.9851 GB, free: 21.21 MB / 0.6198 GB