Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.631/2.631, allocations: 287.9 MB / 302.9 MB, free: 8.285 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.001429/0.001429, allocations: 177.4 kB / 371.4 MB, free: 10.67 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.156/2.156, allocations: 205.4 MB / 0.6301 GB, free: 10.37 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.001038/0.001038, allocations: 84.84 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004718, allocations: 12.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1632, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001494/0.1647, allocations: 1.285 MB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007774/0.1655, allocations: 0.5136 MB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.1656, allocations: 0 / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.506e-05/0.1657, allocations: 7.922 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.639e-05/0.1657, allocations: 23.84 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.1659, allocations: 35.89 kB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.397e-05/0.166, allocations: 47.88 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1662, allocations: 28.22 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.1663, allocations: 27.91 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.1664, allocations: 31.84 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1664, allocations: 8 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.873e-05/0.1664, allocations: 4 kB / 0.9807 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.1665, allocations: 19.91 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.1665, allocations: 41.64 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.706e-05/0.1666, allocations: 56.11 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.523e-06/0.1666, allocations: 3.938 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.722e-06/0.1666, allocations: 0 / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.291e-06/0.1667, allocations: 0 / 0.9808 GB, free: 26.05 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004215/0.1671, allocations: 395 kB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1671, allocations: 12.02 kB / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.1672, allocations: 7.906 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1673, allocations: 198.8 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.061e-06/0.1674, allocations: 0 / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1674, allocations: 8 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.1677, allocations: 115.5 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.69e-06/0.1677, allocations: 0 / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1677, allocations: 4 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1677, allocations: 4 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.168, allocations: 99.94 kB / 0.9816 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.1686, allocations: 388.5 kB / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1688, allocations: 66.55 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.1688, allocations: 7.984 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.1689, allocations: 42.58 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 2.201e-06/0.1689, allocations: 0 / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005397/0.1694, allocations: 185.5 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.1695, allocations: 51.41 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.1696, allocations: 132.8 kB / 0.9825 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1696, allocations: 29.7 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.1697, allocations: 104.2 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.1697, allocations: 23.8 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-06/0.1697, allocations: 0 / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.1698, allocations: 322.8 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.1699, allocations: 47.97 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.1701, allocations: 43.97 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.1702, allocations: 51.91 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1702, allocations: 3.938 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.004614/0.1749, allocations: 138 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.1749, allocations: 7.953 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.175, allocations: 4 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.175, allocations: 3.984 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.1753, allocations: 23.98 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.935e-06/0.1754, allocations: 0 / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.1756, allocations: 8 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.1756, allocations: 7.984 kB / 0.9832 GB, free: 23.35 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 (6): * Single equations (assignments): 6 * 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 0.0001323/0.1758, allocations: 113.8 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/0.1759, allocations: 7.906 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000716/0.1766, allocations: 170.2 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.45e-06/0.1766, allocations: 0 / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.1767, allocations: 0 / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1767, allocations: 0 / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.1771, allocations: 209.5 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.473e-06/0.1771, allocations: 4 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.1774, allocations: 19.98 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.719e-06/0.1774, allocations: 3.984 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.1775, allocations: 4 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.596e-06/0.1775, allocations: 3.953 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.034e-06/0.1775, allocations: 0 / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/0.1782, allocations: 239.3 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.1782, allocations: 81.02 kB / 0.9841 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.1783, allocations: 4 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.1786, allocations: 15.98 kB / 0.9841 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.1787, allocations: 8.078 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.1788, allocations: 11.98 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.558e-05/0.1789, allocations: 100.7 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.077e-06/0.1789, allocations: 3.938 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006259/0.1795, allocations: 16 kB / 0.9842 GB, free: 22.26 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 (6): * Single equations (assignments): 6 * 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.0001684/0.1797, allocations: 95.25 kB / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006241/0.1804, allocations: 119.9 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.756e-06/0.1804, allocations: 0 / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.1807, allocations: 51.97 kB / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.181, allocations: 15.94 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007262/0.1818, allocations: 241.1 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.182, allocations: 0.7043 MB / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00018/0.1822, allocations: 15.97 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.1823, allocations: 15.38 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.203e-06/0.1823, allocations: 0 / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.004941/0.1873, allocations: 0.5894 MB / 0.986 GB, free: 20.36 MB / 0.6198 GB