Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.229/2.229, allocations: 253.2 MB / 260.6 MB, free: 7.527 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 176.9 kB / 319.9 MB, free: 3.047 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.041/2.041, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001076/0.001076, allocations: 101 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.084e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1921, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8624/1.055, allocations: 131.1 MB / 1.017 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.055, allocations: 74.95 kB / 1.017 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005089/1.06, allocations: 1.23 MB / 1.018 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.502e-06/1.06, allocations: 0 / 1.018 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.336e-06/1.06, allocations: 0 / 1.018 GB, free: 5.086 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003002/1.06, allocations: 330 kB / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.06, allocations: 12.02 kB / 1.018 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/1.061, allocations: 3.906 kB / 1.018 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/1.061, allocations: 167 kB / 1.019 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/1.061, allocations: 0 / 1.019 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/1.061, allocations: 4 kB / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.555e-05/1.061, allocations: 0 / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.551e-05/1.061, allocations: 25.7 kB / 1.019 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.061, allocations: 3.938 kB / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/1.061, allocations: 0.75 kB / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.061, allocations: 0 / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/1.061, allocations: 134.2 kB / 1.019 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.969e-05/1.061, allocations: 22.2 kB / 1.019 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/1.061, allocations: 4.859 kB / 1.019 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008335/1.062, allocations: 437.6 kB / 1.019 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/1.062, allocations: 42.19 kB / 1.019 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.883e-06/1.062, allocations: 0 / 1.019 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001619/1.062, allocations: 33.64 kB / 1.019 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/1.062, allocations: 55.34 kB / 1.019 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.343e-05/1.062, allocations: 85 kB / 1.019 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/1.062, allocations: 25.7 kB / 1.019 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/1.062, allocations: 80.14 kB / 1.019 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/1.062, allocations: 0 / 1.019 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/1.062, allocations: 0 / 1.019 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.063, allocations: 318.9 kB / 1.02 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/1.063, allocations: 4 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-06/1.063, allocations: 0 / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.361e-05/1.063, allocations: 0 / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.063, allocations: 0 / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.139e-05/1.063, allocations: 37.22 kB / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.063, allocations: 8 kB / 1.02 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.063, allocations: 0 / 1.02 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.063, allocations: 96 / 1.02 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/1.063, allocations: 4 kB / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/1.063, allocations: 3.938 kB / 1.02 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/1.063, allocations: 4 kB / 1.02 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/1.063, allocations: 3.984 kB / 1.02 GB, free: 3 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.781e-05/1.063, allocations: 107.5 kB / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/1.063, allocations: 3.953 kB / 1.02 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/1.063, allocations: 37.41 kB / 1.02 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.063, allocations: 0 / 1.02 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.063, allocations: 4.031 kB / 1.02 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.063, allocations: 0 / 1.02 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.98e-05/1.063, allocations: 134.2 kB / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.063, allocations: 0 / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638e-05/1.063, allocations: 0 / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.063, allocations: 0 / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/1.063, allocations: 3.953 kB / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/1.063, allocations: 6.125 kB / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.063, allocations: 0.7812 kB / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/1.064, allocations: 64.56 kB / 1.02 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/1.064, allocations: 77.11 kB / 1.02 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/1.064, allocations: 0 / 1.02 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.219e-05/1.064, allocations: 3.953 kB / 1.02 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/1.064, allocations: 4 kB / 1.02 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/1.064, allocations: 0 / 1.02 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.477e-05/1.064, allocations: 75.28 kB / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/1.064, allocations: 0 / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003037/1.064, allocations: 23.94 kB / 1.02 GB, free: 2.383 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0003445/1.064, allocations: 140.8 kB / 1.02 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.813e-05/1.064, allocations: 7.984 kB / 1.02 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.064, allocations: 0 / 1.02 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/1.065, allocations: 12 kB / 1.02 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/1.065, allocations: 0 / 1.02 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/1.065, allocations: 48 kB / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/1.065, allocations: 0.6729 MB / 1.021 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.178e-05/1.065, allocations: 4 kB / 1.021 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/1.065, allocations: 7.438 kB / 1.021 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/1.065, allocations: 0 / 1.021 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of Templates: time 0.002777/1.068, allocations: 362.9 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB