Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002598/0.002603, allocations: 354.4 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.554/1.554, allocations: 165.8 MB / 183.1 MB, free: 5.453 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.753/3.753, allocations: 410.8 MB / 0.6001 GB, free: 15.09 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001853/0.001852, allocations: 197.4 kB / 0.6668 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006253/0.000626, allocations: 16 kB / 0.7429 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4104, allocations: 67.44 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.5738, allocations: 98.46 MB / 0.9049 GB, free: 10.21 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5741, allocations: 79.95 kB / 0.905 GB, free: 10.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007142/0.5812, allocations: 1.56 MB / 0.9065 GB, free: 8.574 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5813, allocations: 0 / 0.9065 GB, free: 8.574 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.5813, allocations: 0 / 0.9065 GB, free: 8.574 MB / 458.7 MB 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.0004889/0.5818, allocations: 362.2 kB / 0.9068 GB, free: 8.176 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5819, allocations: 12.03 kB / 0.9068 GB, free: 8.164 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.5819, allocations: 4 kB / 0.9068 GB, free: 8.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.5821, allocations: 171 kB / 0.907 GB, free: 7.953 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.5821, allocations: 4 kB / 0.907 GB, free: 7.949 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.5821, allocations: 0 / 0.907 GB, free: 7.949 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.5824, allocations: 61.61 kB / 0.9071 GB, free: 7.883 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5824, allocations: 0 / 0.9071 GB, free: 7.883 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.5824, allocations: 3.953 kB / 0.9071 GB, free: 7.879 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5824, allocations: 0 / 0.9071 GB, free: 7.879 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.5827, allocations: 43.91 kB / 0.9071 GB, free: 7.836 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.5833, allocations: 268.9 kB / 0.9074 GB, free: 7.523 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.5835, allocations: 46.5 kB / 0.9074 GB, free: 7.469 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.5837, allocations: 32.89 kB / 0.9074 GB, free: 7.434 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008907/0.5846, allocations: 445.5 kB / 0.9079 GB, free: 6.906 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.5846, allocations: 38.52 kB / 0.9079 GB, free: 6.859 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 2.043e-06/0.5847, allocations: 0 / 0.9079 GB, free: 6.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0006131/0.5853, allocations: 101.6 kB / 0.908 GB, free: 6.754 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.5853, allocations: 51.41 kB / 0.908 GB, free: 6.691 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.5854, allocations: 101.8 kB / 0.9081 GB, free: 6.582 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.5855, allocations: 29.69 kB / 0.9082 GB, free: 6.547 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.5855, allocations: 84.14 kB / 0.9083 GB, free: 6.461 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.5856, allocations: 7.906 kB / 0.9083 GB, free: 6.453 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.5856, allocations: 0 / 0.9083 GB, free: 6.453 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5857, allocations: 310.8 kB / 0.9086 GB, free: 6.141 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.5859, allocations: 27.95 kB / 0.9086 GB, free: 6.113 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.586, allocations: 23.97 kB / 0.9086 GB, free: 6.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.5862, allocations: 23.98 kB / 0.9086 GB, free: 6.066 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.5862, allocations: 4.062 kB / 0.9086 GB, free: 6.062 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003458/0.5866, allocations: 69.67 kB / 0.9087 GB, free: 5.988 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.5866, allocations: 14.59 kB / 0.9087 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5866, allocations: 0 / 0.9087 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5866, allocations: 0 / 0.9087 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.5868, allocations: 12.03 kB / 0.9087 GB, free: 5.965 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.5868, allocations: 0 / 0.9087 GB, free: 5.965 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.5869, allocations: 15.92 kB / 0.9087 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.5869, allocations: 0 / 0.9087 GB, free: 5.949 MB / 458.7 MB 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 9.952e-05/0.587, allocations: 113.8 kB / 0.9088 GB, free: 5.828 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.5871, allocations: 0 / 0.9088 GB, free: 5.828 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.5875, allocations: 88.72 kB / 0.9089 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5875, allocations: 0 / 0.9089 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5875, allocations: 0 / 0.9089 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5875, allocations: 0 / 0.9089 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.5877, allocations: 153.7 kB / 0.9091 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.5877, allocations: 0 / 0.9091 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.5878, allocations: 16.02 kB / 0.9091 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5879, allocations: 7.938 kB / 0.9091 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.5879, allocations: 0 / 0.9091 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.5879, allocations: 3.953 kB / 0.9091 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5879, allocations: 0 / 0.9091 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.5883, allocations: 179.4 kB / 0.9093 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.5884, allocations: 77.11 kB / 0.9094 GB, free: 5.227 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.5884, allocations: 8 kB / 0.9094 GB, free: 5.219 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.5885, allocations: 7.984 kB / 0.9094 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.5886, allocations: 7.953 kB / 0.9094 GB, free: 5.203 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.5886, allocations: 4.031 kB / 0.9094 GB, free: 5.199 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.473e-05/0.5887, allocations: 87.27 kB / 0.9095 GB, free: 5.113 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5887, allocations: 0 / 0.9095 GB, free: 5.113 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003575/0.5891, allocations: 27.94 kB / 0.9095 GB, free: 5.086 MB / 458.7 MB 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.0003599/0.5894, allocations: 127.2 kB / 0.9096 GB, free: 4.953 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.5898, allocations: 47.89 kB / 0.9097 GB, free: 4.906 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5898, allocations: 0 / 0.9097 GB, free: 4.906 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.59, allocations: 28.05 kB / 0.9097 GB, free: 4.879 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.5903, allocations: 4 kB / 0.9097 GB, free: 4.875 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.5907, allocations: 100.7 kB / 0.9098 GB, free: 4.746 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.5909, allocations: 0.6886 MB / 0.9105 GB, free: 4.031 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.711e-05/0.591, allocations: 0 / 0.9105 GB, free: 4.031 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.591, allocations: 11.5 kB / 0.9105 GB, free: 4.02 MB / 458.7 MB Notification: Performance of SimCode: time 1.263e-06/0.591, allocations: 0 / 0.9105 GB, free: 4.02 MB / 458.7 MB Notification: Performance of Templates: time 0.003477/0.5945, allocations: 0.5638 MB / 0.911 GB, free: 3.461 MB / 458.7 MB