Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.749/2.749, allocations: 287.9 MB / 302.9 MB, free: 8.277 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.001403/0.001403, allocations: 185.2 kB / 371.4 MB, free: 10.69 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.122/2.122, 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.001029/0.001029, allocations: 92.69 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004981, allocations: 13.75 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1583, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006159/0.159, allocations: 325.8 kB / 0.9791 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001708/0.1592, allocations: 33.62 kB / 0.9791 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.834e-05/0.1592, allocations: 0 / 0.9791 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.1592, allocations: 0 / 0.9791 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.217e-05/0.1593, allocations: 3.938 kB / 0.9791 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.1594, allocations: 11.92 kB / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.021e-05/0.1595, allocations: 8 kB / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.1595, allocations: 4 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.771e-05/0.1596, allocations: 3.984 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.488e-05/0.1596, allocations: 4 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1596, allocations: 0 / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.1597, allocations: 15.98 kB / 0.9792 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.1597, allocations: 0 / 0.9792 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.1598, allocations: 37.62 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.194e-05/0.1598, allocations: 11.98 kB / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.918e-06/0.1598, allocations: 0 / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.239e-06/0.1599, allocations: 0 / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.1599, allocations: 0 / 0.9792 GB, free: 27.71 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002132/0.1601, allocations: 349.1 kB / 0.9795 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1601, allocations: 8.031 kB / 0.9795 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.1602, allocations: 11.89 kB / 0.9796 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.892e-05/0.1602, allocations: 167.2 kB / 0.9797 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1603, allocations: 0 / 0.9797 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.1603, allocations: 4 kB / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1604, allocations: 53.69 kB / 0.9798 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.1605, allocations: 0 / 0.9798 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1605, allocations: 3.984 kB / 0.9798 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.1605, allocations: 8 kB / 0.9798 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/0.1606, allocations: 27.92 kB / 0.9798 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.1609, allocations: 264.8 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.273e-05/0.1609, allocations: 18.58 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.015e-06/0.1609, allocations: 0 / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.161, allocations: 30.56 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.957e-06/0.161, allocations: 4.062 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000165/0.1612, allocations: 79.28 kB / 0.9802 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.1612, allocations: 77.11 kB / 0.9803 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.1613, allocations: 109.8 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.002e-06/0.1613, allocations: 25.7 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.1613, allocations: 107.8 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.069e-06/0.1614, allocations: 3.906 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-06/0.1614, allocations: 4 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.1614, allocations: 319 kB / 0.9808 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.1615, allocations: 11.98 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-05/0.1615, allocations: 58.8 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.488e-05/0.1616, allocations: 49.69 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1616, allocations: 0 / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001792/0.1618, allocations: 123.1 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.1618, allocations: 33.7 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.973e-06/0.1619, allocations: 256 / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1619, allocations: 8 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.162, allocations: 15.98 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.899e-06/0.162, allocations: 7.953 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.49e-05/0.1621, allocations: 11.84 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1621, allocations: 11.94 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 7.203e-05/0.1622, allocations: 143.5 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.1622, allocations: 4 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.369e-05/0.1623, allocations: 11.5 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.1623, allocations: 4 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.546e-06/0.1623, allocations: 0 / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.204e-06/0.1623, allocations: 3.953 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.1624, allocations: 153.7 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1625, allocations: 4 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-06/0.1625, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1625, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.1625, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.808e-06/0.1625, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-06/0.1625, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.1626, allocations: 173.1 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.1627, allocations: 85.02 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1627, allocations: 0 / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.738e-05/0.1628, allocations: 0 / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.1628, allocations: 0 / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.315e-06/0.1628, allocations: 4 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.1629, allocations: 95.8 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.8e-07/0.1629, allocations: 0 / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003272/0.1632, allocations: 12.03 kB / 0.9818 GB, free: 24.69 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001426/0.1634, allocations: 117.3 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.1635, allocations: 83.33 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/0.1635, allocations: 0 / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.582e-05/0.1636, allocations: 55.41 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.1637, allocations: 4.562 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002136/0.164, allocations: 114.6 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.1641, allocations: 0.6862 MB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.222e-05/0.1642, allocations: 8.172 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.153e-05/0.1642, allocations: 11.44 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of SimCode: time 1.347e-06/0.1642, allocations: 3.938 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of Templates: time 0.002803/0.167, allocations: 498 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB