Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.529/2.529, allocations: 287.9 MB / 302.9 MB, free: 8.266 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.001427/0.001427, allocations: 171.1 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.119/2.119, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001014/0.001014, allocations: 91.33 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008014/0.0008017, allocations: 13.31 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1745, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0005792/0.1751, allocations: 321.8 kB / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002138/0.1753, allocations: 85.5 kB / 0.9792 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.286e-05/0.1753, allocations: 4 kB / 0.9792 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.473e-06/0.1754, allocations: 0 / 0.9792 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.508e-05/0.1754, allocations: 0 / 0.9792 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.1756, allocations: 11.98 kB / 0.9792 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.704e-05/0.1756, allocations: 7.922 kB / 0.9792 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.1757, allocations: 7.984 kB / 0.9792 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.435e-05/0.1757, allocations: 0 / 0.9792 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.448e-05/0.1758, allocations: 8 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.661e-06/0.1758, allocations: 3.938 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.872e-05/0.1758, allocations: 11.98 kB / 0.9792 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.158e-06/0.1759, allocations: 0 / 0.9792 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.1759, allocations: 29.7 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.137e-05/0.176, allocations: 7.984 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.057e-06/0.176, allocations: 0 / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.838e-06/0.176, allocations: 0 / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.138e-06/0.176, allocations: 0 / 0.9792 GB, free: 27.68 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.0002281/0.1762, allocations: 315.4 kB / 0.9795 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1763, allocations: 16.02 kB / 0.9796 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.1765, allocations: 11.98 kB / 0.9796 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.35e-05/0.1765, allocations: 167 kB / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1766, allocations: 4 kB / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-06/0.1766, allocations: 0 / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.1767, allocations: 37.69 kB / 0.9798 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1767, allocations: 0 / 0.9798 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1767, allocations: 0 / 0.9798 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-06/0.1767, allocations: 0 / 0.9798 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.81e-05/0.1768, allocations: 15.98 kB / 0.9798 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.177, allocations: 157.9 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1771, allocations: 38.61 kB / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1772, allocations: 7.984 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1772, allocations: 38.66 kB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.87e-06/0.1772, allocations: 3.984 kB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002081/0.1774, allocations: 53.67 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/0.1775, allocations: 51.41 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.095e-05/0.1775, allocations: 93.8 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.379e-06/0.1775, allocations: 29.64 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.341e-05/0.1775, allocations: 80.14 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.1776, allocations: 23.73 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-06/0.1776, allocations: 4 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.1776, allocations: 310.8 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.387e-05/0.1777, allocations: 7.938 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.785e-05/0.1778, allocations: 11.98 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.1778, allocations: 4 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-06/0.1778, allocations: 0 / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001337/0.178, allocations: 53.62 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.178, allocations: 4 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.273e-06/0.178, allocations: 4 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.178, allocations: 0 / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.1784, allocations: 39.94 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.1796, allocations: 1.314 MB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.1796, allocations: 8.031 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-06/0.1796, allocations: 0 / 0.9821 GB, free: 24.46 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.1797, allocations: 109.8 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.1797, allocations: 4 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.1798, allocations: 3.5 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-06/0.1798, allocations: 3.938 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1798, allocations: 3.984 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.641e-06/0.1798, allocations: 4.062 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.146e-05/0.1799, allocations: 149.7 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-06/0.1799, allocations: 3.953 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.1803, allocations: 43.92 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.1803, allocations: 4 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.047e-06/0.1803, allocations: 8 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.1814, allocations: 1.318 MB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.24e-06/0.1814, allocations: 0 / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.1815, allocations: 65.16 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.1816, allocations: 93.23 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9e-06/0.1816, allocations: 0 / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.508e-05/0.1816, allocations: 0 / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.1817, allocations: 4 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-06/0.1817, allocations: 4 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.497e-05/0.1817, allocations: 75.28 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.26e-07/0.1817, allocations: 0 / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002623/0.182, allocations: 4 kB / 0.9839 GB, free: 22.34 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001089/0.1821, allocations: 111.2 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.1826, allocations: 59.86 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.481e-06/0.1826, allocations: 3.938 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.1829, allocations: 39.95 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.183, allocations: 1.547 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.1833, allocations: 94.97 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.1834, allocations: 0.677 MB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.532e-05/0.1834, allocations: 7.953 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.1835, allocations: 11.44 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of SimCode: time 2.385e-06/0.1835, allocations: 0 / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of Templates: time 0.002351/0.1859, allocations: 381 kB / 0.9852 GB, free: 20.91 MB / 0.6198 GB