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 4.662/4.662, allocations: 0.5623 GB / 0.5769 GB, free: 66.94 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002647/0.002647, allocations: 357 kB / 0.644 GB, free: 21.74 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.31/4.31, allocations: 410.7 MB / 1.112 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001807/0.001806, allocations: 181.9 kB / 1.225 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005245/0.0005248, allocations: 19.3 kB / 1.348 GB, free: 321.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1788, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001335/0.1802, allocations: 1.14 MB / 1.462 GB, free: 219.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004295/0.1807, allocations: 226.7 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.1807, allocations: 1.781 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.1808, allocations: 7.922 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.1808, allocations: 4 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.1811, allocations: 47.83 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.616e-05/0.1812, allocations: 16.45 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.217e-05/0.1812, allocations: 4.625 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.395e-05/0.1813, allocations: 9.656 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.335e-05/0.1813, allocations: 11.92 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.411e-06/0.1814, allocations: 0 / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1815, allocations: 67.86 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.257e-06/0.1815, allocations: 2 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.1816, allocations: 29.64 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.189e-05/0.1817, allocations: 27.95 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.487e-05/0.1817, allocations: 0 / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.695e-06/0.1817, allocations: 0 / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.917e-06/0.1817, allocations: 0 / 1.462 GB, free: 219.1 MB / 0.8073 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.000358/0.1821, allocations: 353.2 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1821, allocations: 13.66 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.1822, allocations: 0 / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.1823, allocations: 168.3 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1823, allocations: 3.938 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-06/0.1823, allocations: 4 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1825, allocations: 55.73 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.1825, allocations: 0 / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.59e-06/0.1825, allocations: 0 / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-06/0.1825, allocations: 0.8125 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.1827, allocations: 41.72 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.183, allocations: 254.8 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1832, allocations: 44.62 kB / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1833, allocations: 27.03 kB / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005867/0.1839, allocations: 462.3 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.1839, allocations: 31.84 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 2.28e-06/0.1839, allocations: 0 / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0003958/0.1843, allocations: 100.8 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.1844, allocations: 56.5 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.288e-05/0.1844, allocations: 101.8 kB / 1.464 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.725e-06/0.1845, allocations: 26.42 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.1845, allocations: 88.69 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1845, allocations: 7.906 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-06/0.1845, allocations: 0.5938 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.1846, allocations: 315.4 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.1847, allocations: 23.14 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.1848, allocations: 23.97 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.523e-05/0.1849, allocations: 27.58 kB / 1.464 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.293e-06/0.1849, allocations: 0 / 1.464 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002302/0.1852, allocations: 74.19 kB / 1.464 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1852, allocations: 5.406 kB / 1.464 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.236e-06/0.1852, allocations: 0 / 1.464 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1852, allocations: 192 / 1.464 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.1854, allocations: 12.53 kB / 1.464 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.44e-06/0.1854, allocations: 4.516 kB / 1.464 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.819e-05/0.1854, allocations: 8.625 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-06/0.1855, allocations: 0.75 kB / 1.465 GB, free: 216.5 MB / 0.8073 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.775e-05/0.1855, allocations: 123.4 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.1856, allocations: 3.984 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.1859, allocations: 83.23 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1859, allocations: 0 / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.866e-06/0.1859, allocations: 1.625 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1859, allocations: 0 / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.1861, allocations: 161.6 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-06/0.1861, allocations: 0 / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.395e-05/0.1862, allocations: 12.92 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1862, allocations: 4 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-06/0.1862, allocations: 4.875 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.593e-06/0.1862, allocations: 7.922 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1862, allocations: 0.8438 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.1865, allocations: 179.4 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.1865, allocations: 81.02 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1865, allocations: 4 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1866, allocations: 10.42 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.1867, allocations: 0 / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-06/0.1867, allocations: 4 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.824e-05/0.1868, allocations: 83.27 kB / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.15e-07/0.1868, allocations: 4 kB / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003205/0.1871, allocations: 16 kB / 1.465 GB, free: 215.7 MB / 0.8073 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.000199/0.1873, allocations: 115.8 kB / 1.465 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.1876, allocations: 50.66 kB / 1.465 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.1876, allocations: 0 / 1.465 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1877, allocations: 25.45 kB / 1.465 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.188, allocations: 8.891 kB / 1.465 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.1883, allocations: 108.7 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.1884, allocations: 0.677 MB / 1.466 GB, free: 214.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.1885, allocations: 5.719 kB / 1.466 GB, free: 214.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.1885, allocations: 7.438 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of SimCode: time 1.774e-06/0.1885, allocations: 0 / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.003042/0.1916, allocations: 0.5686 MB / 1.467 GB, free: 214.1 MB / 0.8073 GB