Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.388/2.388, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001533/0.001533, allocations: 187.1 kB / 325.6 MB, free: 2.844 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.473/2.473, allocations: 205.4 MB / 0.5766 GB, free: 20.83 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.001151/0.001151, allocations: 102.6 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007159/0.0007167, allocations: 14.66 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2133, allocations: 106.2 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2482/0.4616, allocations: 131.7 MB / 1.027 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.4619, allocations: 71.97 kB / 1.028 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006857/0.4688, allocations: 1.538 MB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4689, allocations: 0 / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.4689, allocations: 0 / 1.029 GB, free: 12.07 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.0005179/0.4694, allocations: 363.2 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4695, allocations: 12.03 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.4695, allocations: 0 / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.4697, allocations: 163 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4697, allocations: 8 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.4697, allocations: 0 / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.47, allocations: 57.67 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.47, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.47, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.47, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.4703, allocations: 51.89 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.4709, allocations: 268.7 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.4711, allocations: 50.59 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007946/0.4719, allocations: 441.5 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.4719, allocations: 30.56 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.605e-06/0.472, allocations: 0 / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005659/0.4725, allocations: 97.58 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.4726, allocations: 51.41 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.4727, allocations: 101.1 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.4727, allocations: 25.7 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.4728, allocations: 80.14 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.4728, allocations: 11.89 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.4728, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.473, allocations: 318.8 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.4731, allocations: 19.98 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.4733, allocations: 23.98 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.4734, allocations: 23.97 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4735, allocations: 0 / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003345/0.4738, allocations: 77.67 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.4738, allocations: 11.94 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4739, allocations: 0 / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4739, allocations: 0 / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.474, allocations: 11.98 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.474, allocations: 4.031 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.403e-05/0.4741, allocations: 12.84 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4742, allocations: 3.938 kB / 1.031 GB, free: 9.492 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 8.993e-05/0.4743, allocations: 111.3 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.4743, allocations: 0 / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.4747, allocations: 88.72 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4747, allocations: 0 / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.4747, allocations: 8 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4748, allocations: 192 / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.475, allocations: 165.5 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.475, allocations: 3.984 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.4751, allocations: 11.98 kB / 1.032 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4751, allocations: 4.031 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4751, allocations: 0 / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4751, allocations: 0 / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4751, allocations: 0 / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.4755, allocations: 179.5 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.4756, allocations: 77.11 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.4756, allocations: 0 / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.4758, allocations: 11.98 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.4758, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.4758, allocations: 3.938 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.4759, allocations: 83.28 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/0.4759, allocations: 4.031 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003553/0.4763, allocations: 27.92 kB / 1.032 GB, free: 8.629 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.0003005/0.4766, allocations: 123.2 kB / 1.032 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.4769, allocations: 43.97 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.477, allocations: 0 / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.4771, allocations: 27.98 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.4774, allocations: 18.19 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.4777, allocations: 114.5 kB / 1.032 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.478, allocations: 0.677 MB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.478, allocations: 0 / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.4781, allocations: 7.438 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/0.4781, allocations: 7.938 kB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of Templates: time 0.003521/0.4816, allocations: 0.5412 MB / 1.033 GB, free: 7.02 MB / 0.6823 GB