Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.551/2.551, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 188.7 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.366/2.366, allocations: 205.4 MB / 0.5766 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 104.3 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007189/0.0007185, allocations: 12.94 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2978, allocations: 106.2 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2764/0.5743, allocations: 131.7 MB / 1.027 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.5746, allocations: 75.95 kB / 1.028 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007254/0.5819, allocations: 1.566 MB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.449e-06/0.5819, allocations: 8 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.5819, allocations: 3.938 kB / 1.029 GB, free: 12.44 MB / 0.6823 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.0005279/0.5825, allocations: 359.2 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.5825, allocations: 8.031 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.5826, allocations: 4 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.5828, allocations: 167 kB / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.5828, allocations: 0 / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.5828, allocations: 8 kB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.5831, allocations: 53.67 kB / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5831, allocations: 0 / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.5831, allocations: 0 / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.5831, allocations: 0 / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.5834, allocations: 47.95 kB / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.584, allocations: 276.8 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.5842, allocations: 42.56 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009338/0.5852, allocations: 441.5 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.5852, allocations: 34.56 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.535e-06/0.5852, allocations: 0 / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005924/0.5858, allocations: 105.7 kB / 1.031 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.5859, allocations: 55.44 kB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.586, allocations: 96.98 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.586, allocations: 25.7 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.5861, allocations: 80.14 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.5861, allocations: 7.906 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.5861, allocations: 0 / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5863, allocations: 318.8 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.5864, allocations: 23.97 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.5866, allocations: 25.03 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.5868, allocations: 15.98 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5868, allocations: 8.062 kB / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003584/0.5872, allocations: 81.59 kB / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.5872, allocations: 9.969 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5872, allocations: 0 / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5872, allocations: 0 / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.5874, allocations: 16.02 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5874, allocations: 3.938 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.683e-05/0.5875, allocations: 8 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.5875, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6823 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 0.0001007/0.5876, allocations: 117.8 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.5877, allocations: 0 / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.5881, allocations: 88.78 kB / 1.032 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5881, allocations: 0 / 1.032 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5881, allocations: 0 / 1.032 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5881, allocations: 3.938 kB / 1.032 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.5883, allocations: 165.5 kB / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5883, allocations: 0 / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.5885, allocations: 16.02 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5885, allocations: 0 / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5885, allocations: 4 kB / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5885, allocations: 0 / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5885, allocations: 0 / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.589, allocations: 175.5 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.589, allocations: 77.11 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.5891, allocations: 7.984 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.5892, allocations: 4 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.5892, allocations: 3.984 kB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.5893, allocations: 8.031 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.5893, allocations: 75.28 kB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5893, allocations: 0 / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003671/0.5897, allocations: 31.94 kB / 1.032 GB, free: 9.004 MB / 0.6823 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.000316/0.59, allocations: 135 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.5904, allocations: 47.95 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5904, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.5906, allocations: 28.05 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.5909, allocations: 9.5 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.5912, allocations: 104.7 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.5916, allocations: 0.6809 MB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.646e-05/0.5916, allocations: 0 / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.5917, allocations: 15.44 kB / 1.033 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/0.5917, allocations: 0 / 1.033 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.003628/0.5953, allocations: 0.547 MB / 1.034 GB, free: 7.383 MB / 0.6823 GB