Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.614/2.614, allocations: 287.9 MB / 302.9 MB, free: 8.371 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: 182.1 kB / 371.4 MB, free: 10.66 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.102/2.102, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001024/0.001023, allocations: 86.98 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004601, allocations: 20.22 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1661, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00204/0.1682, allocations: 1.144 MB / 0.9799 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004331/0.1686, allocations: 232.2 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.1687, allocations: 0 / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.1687, allocations: 7.938 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.493e-05/0.1688, allocations: 4 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.169, allocations: 35.89 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.554e-05/0.1691, allocations: 11.98 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.873e-05/0.1692, allocations: 11.94 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.1692, allocations: 11.98 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.197e-05/0.1693, allocations: 7.984 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.255e-06/0.1693, allocations: 0 / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1694, allocations: 59.89 kB / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.129e-06/0.1695, allocations: 3.984 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.1695, allocations: 29.7 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.354e-05/0.1696, allocations: 27.94 kB / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.612e-06/0.1696, allocations: 0 / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1696, allocations: 4 kB / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.1696, allocations: 4 kB / 0.9803 GB, free: 26.57 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.0003643/0.17, allocations: 347.5 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.17, allocations: 16.02 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.1701, allocations: 0 / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/0.1702, allocations: 171 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1702, allocations: 4 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1702, allocations: 4 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1704, allocations: 53.67 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.599e-06/0.1704, allocations: 0 / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.265e-06/0.1704, allocations: 0 / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.349e-06/0.1705, allocations: 0 / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.1707, allocations: 43.97 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.1709, allocations: 252.9 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.1711, allocations: 50.5 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/0.1717, allocations: 453.5 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.1717, allocations: 38.56 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.39e-06/0.1717, allocations: 0 / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003955/0.1721, allocations: 109.4 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.1722, allocations: 51.41 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.128e-05/0.1722, allocations: 97.98 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.684e-06/0.1722, allocations: 29.7 kB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.1723, allocations: 84.14 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.1723, allocations: 3.906 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-06/0.1723, allocations: 0 / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.1724, allocations: 326.7 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.684e-05/0.1725, allocations: 19.98 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.1726, allocations: 23.98 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.201e-05/0.1727, allocations: 19.98 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.066e-06/0.1727, allocations: 0 / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002324/0.1729, allocations: 77.72 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.173, allocations: 4 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.102e-06/0.173, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.173, allocations: 4 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.1731, allocations: 15.92 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.474e-06/0.1731, allocations: 0 / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.1732, allocations: 12.02 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-06/0.1732, allocations: 4 kB / 0.9825 GB, free: 24 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.517e-05/0.1733, allocations: 113.8 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.1733, allocations: 0 / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.1736, allocations: 84.78 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.582e-06/0.1736, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.486e-06/0.1736, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1736, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.1738, allocations: 169.5 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-06/0.1738, allocations: 0 / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.1739, allocations: 11.98 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.1739, allocations: 7.969 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-06/0.1739, allocations: 0 / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.446e-06/0.174, allocations: 0 / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.947e-06/0.174, allocations: 0 / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.1742, allocations: 175.5 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.1743, allocations: 81.02 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1743, allocations: 0 / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1744, allocations: 15.92 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.1744, allocations: 4 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-06/0.1745, allocations: 0 / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.681e-05/0.1745, allocations: 79.28 kB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.41e-07/0.1745, allocations: 0 / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003238/0.1748, allocations: 20.03 kB / 0.9832 GB, free: 23.15 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.0001912/0.175, allocations: 115.2 kB / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.1753, allocations: 59.89 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.62e-06/0.1753, allocations: 0 / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1754, allocations: 19.98 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.1756, allocations: 11.89 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.1759, allocations: 109.8 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.176, allocations: 0.6809 MB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.1761, allocations: 4 kB / 0.9842 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.1761, allocations: 7.438 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.368e-06/0.1761, allocations: 0 / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.002871/0.179, allocations: 0.5715 MB / 0.9848 GB, free: 21.53 MB / 0.6198 GB