Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.638/2.638, allocations: 287.9 MB / 302.9 MB, free: 8.367 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.001438/0.001437, allocations: 179.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.096/2.096, 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.001016/0.001015, allocations: 89.03 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008105/0.000811, allocations: 11.62 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2291, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001352/0.2305, allocations: 1.144 MB / 0.9799 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004511/0.2309, allocations: 248.3 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.231, allocations: 0 / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.231, allocations: 0 / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.53e-05/0.231, allocations: 0 / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.2313, allocations: 51.81 kB / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.212e-05/0.2314, allocations: 4 kB / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.71e-05/0.2315, allocations: 8 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.405e-05/0.2315, allocations: 7.969 kB / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.246e-05/0.2316, allocations: 11.94 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.888e-06/0.2316, allocations: 4 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.2317, allocations: 59.94 kB / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.2317, allocations: 7.938 kB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.2318, allocations: 25.7 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.256e-05/0.2319, allocations: 35.92 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2319, allocations: 0 / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.89e-06/0.2319, allocations: 0 / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.003e-06/0.2319, allocations: 0 / 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.0003433/0.2323, allocations: 351.5 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2323, allocations: 12.02 kB / 0.9807 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.2324, allocations: 4 kB / 0.9807 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.953e-05/0.2324, allocations: 163 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2325, allocations: 4 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2325, allocations: 4 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.2327, allocations: 53.67 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.923e-06/0.2327, allocations: 11.88 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.453e-06/0.2327, allocations: 0 / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-06/0.2327, allocations: 3.938 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.2329, allocations: 43.95 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.2332, allocations: 248.9 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.2334, allocations: 42.59 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000624/0.234, allocations: 461.5 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.234, allocations: 38.5 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.234, allocations: 0 / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003942/0.2344, allocations: 101.5 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.2345, allocations: 51.41 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.174e-05/0.2345, allocations: 97.86 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.011e-06/0.2346, allocations: 25.7 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.2346, allocations: 80.14 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.2346, allocations: 16.02 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.2346, allocations: 4 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.914e-05/0.2347, allocations: 314.8 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.837e-05/0.2348, allocations: 19.98 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.2349, allocations: 23.92 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.649e-05/0.235, allocations: 28.03 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-06/0.2351, allocations: 4 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002318/0.2353, allocations: 73.67 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2353, allocations: 4 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.004e-06/0.2353, allocations: 192 / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2354, allocations: 0 / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.2355, allocations: 11.98 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.224e-06/0.2355, allocations: 0 / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.2356, allocations: 15.97 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.2356, allocations: 0 / 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.282e-05/0.2356, allocations: 117.8 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.2357, allocations: 0 / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.236, allocations: 84.72 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.236, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.72e-06/0.236, allocations: 4.031 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.619e-06/0.236, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.2362, allocations: 169.5 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.851e-06/0.2362, allocations: 0 / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.2363, allocations: 11.98 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.278e-06/0.2363, allocations: 3.938 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.096e-06/0.2363, allocations: 4 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.127e-06/0.2363, allocations: 0 / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.97e-06/0.2363, allocations: 0 / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.2366, allocations: 184.3 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.2366, allocations: 81.02 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2366, allocations: 4 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.2367, allocations: 12.02 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.2368, allocations: 0 / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-06/0.2368, allocations: 4 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.2369, allocations: 79.28 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.53e-07/0.2369, allocations: 0 / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003195/0.2372, allocations: 20 kB / 0.9833 GB, free: 23.14 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.0001955/0.2374, allocations: 119.2 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.2377, allocations: 47.95 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2377, allocations: 4.062 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.2378, allocations: 27.92 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.238, allocations: 3.953 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.2382, allocations: 108.7 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.2384, allocations: 0.681 MB / 0.9842 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.2384, allocations: 0 / 0.9842 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.2384, allocations: 11.44 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.366e-06/0.2384, allocations: 0 / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.002904/0.2414, allocations: 0.5765 MB / 0.9848 GB, free: 21.51 MB / 0.6198 GB