Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001387, allocations: 186.4 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7309/0.7309, allocations: 82.92 MB / 99.42 MB, free: 3.16 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.4 MB / 325.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001041, allocations: 90.91 kB / 393.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.000455, allocations: 16 kB / 471.5 MB, free: 66.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.08982, allocations: 67.44 MB / 0.5264 GB, free: 15.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.000664/0.09053, allocations: 304.3 kB / 0.5266 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004454/0.09099, allocations: 181.2 kB / 0.5268 GB, free: 14.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-06/0.09102, allocations: 0 / 0.5268 GB, free: 14.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.557e-06/0.09104, allocations: 0 / 0.5268 GB, free: 14.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.529e-06/0.09105, allocations: 0 / 0.5268 GB, free: 14.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.09137, allocations: 47.83 kB / 0.5269 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.608e-05/0.09141, allocations: 0 / 0.5269 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.958e-05/0.09145, allocations: 0 / 0.5269 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.122e-05/0.09147, allocations: 0 / 0.5269 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.254e-05/0.0915, allocations: 4 kB / 0.5269 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.8e-06/0.09152, allocations: 0 / 0.5269 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.09171, allocations: 67.86 kB / 0.5269 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-06/0.09174, allocations: 0 / 0.5269 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.09177, allocations: 25.7 kB / 0.527 GB, free: 14.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.316e-05/0.09187, allocations: 19.97 kB / 0.527 GB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.633e-06/0.09189, allocations: 4 kB / 0.527 GB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.189e-06/0.0919, allocations: 0 / 0.527 GB, free: 14.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.133e-06/0.09191, allocations: 0 / 0.527 GB, free: 14.38 MB / 378.7 MB 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.0003147/0.09224, allocations: 319.4 kB / 0.5273 GB, free: 14.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.09229, allocations: 12.03 kB / 0.5273 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.09232, allocations: 0 / 0.5273 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.09245, allocations: 159.1 kB / 0.5274 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.09247, allocations: 0 / 0.5274 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-06/0.09249, allocations: 0 / 0.5274 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.993e-05/0.09259, allocations: 37.64 kB / 0.5275 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.117e-06/0.09261, allocations: 3.938 kB / 0.5275 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.09263, allocations: 3.953 kB / 0.5275 GB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.684e-06/0.09265, allocations: 0 / 0.5275 GB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.047e-05/0.09268, allocations: 7.922 kB / 0.5275 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.09284, allocations: 149.7 kB / 0.5276 GB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4e-05/0.0929, allocations: 14.58 kB / 0.5277 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000894/0.0938, allocations: 461.5 kB / 0.5281 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.09386, allocations: 38.56 kB / 0.5281 GB, free: 12.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.153e-06/0.09388, allocations: 0 / 0.5281 GB, free: 12.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.09402, allocations: 33.64 kB / 0.5282 GB, free: 12.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.09407, allocations: 59.48 kB / 0.5282 GB, free: 12.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.274e-05/0.09414, allocations: 89.86 kB / 0.5283 GB, free: 12.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.09417, allocations: 29.69 kB / 0.5283 GB, free: 12.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.09422, allocations: 80.14 kB / 0.5284 GB, free: 12.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.09426, allocations: 7.906 kB / 0.5284 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-06/0.09427, allocations: 0 / 0.5284 GB, free: 12.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.09443, allocations: 310.8 kB / 0.5287 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.09445, allocations: 0 / 0.5287 GB, free: 12.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.09448, allocations: 8 kB / 0.5287 GB, free: 12.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.872e-05/0.09451, allocations: 8.062 kB / 0.5287 GB, free: 12.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-06/0.09452, allocations: 0 / 0.5287 GB, free: 12.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.577e-05/0.0946, allocations: 33.64 kB / 0.5288 GB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.09463, allocations: 4 kB / 0.5288 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.085e-06/0.09464, allocations: 0 / 0.5288 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.09467, allocations: 7.984 kB / 0.5288 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.81e-05/0.09472, allocations: 0 / 0.5288 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.675e-06/0.09473, allocations: 0 / 0.5288 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.09476, allocations: 3.953 kB / 0.5288 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-06/0.09477, allocations: 4.031 kB / 0.5288 GB, free: 12.23 MB / 378.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 (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 8.853e-05/0.09487, allocations: 109.8 kB / 0.5289 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.09489, allocations: 3.984 kB / 0.5289 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.339e-05/0.095, allocations: 44.75 kB / 0.5289 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-06/0.09501, allocations: 0 / 0.5289 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.09503, allocations: 0 / 0.5289 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-06/0.09504, allocations: 0 / 0.5289 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.09517, allocations: 145.6 kB / 0.5291 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-06/0.09519, allocations: 4 kB / 0.5291 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.09522, allocations: 4.031 kB / 0.5291 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.497e-06/0.09523, allocations: 0 / 0.5291 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-06/0.09525, allocations: 3.938 kB / 0.5291 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.98e-06/0.09526, allocations: 0 / 0.5291 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.765e-06/0.09527, allocations: 7.922 kB / 0.5291 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.901e-05/0.09538, allocations: 61.09 kB / 0.5292 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.09544, allocations: 77.39 kB / 0.5292 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.09546, allocations: 0 / 0.5292 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/0.09548, allocations: 4.031 kB / 0.5292 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.09551, allocations: 3.984 kB / 0.5292 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-06/0.09553, allocations: 4 kB / 0.5292 GB, free: 11.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.09557, allocations: 80.81 kB / 0.5293 GB, free: 11.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.54e-07/0.09558, allocations: 0 / 0.5293 GB, free: 11.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.09585, allocations: 12 kB / 0.5293 GB, free: 11.57 MB / 378.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 (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.0002417/0.09611, allocations: 120.9 kB / 0.5294 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.226e-05/0.09618, allocations: 7.984 kB / 0.5294 GB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.688e-06/0.0962, allocations: 0 / 0.5294 GB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.284e-05/0.09622, allocations: 4 kB / 0.5295 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.09633, allocations: 11.89 kB / 0.5295 GB, free: 11.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001637/0.09651, allocations: 70.77 kB / 0.5295 GB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.09687, allocations: 0.6772 MB / 0.5302 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.221e-05/0.09689, allocations: 4 kB / 0.5302 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.09692, allocations: 7.438 kB / 0.5302 GB, free: 10.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.264e-06/0.09693, allocations: 0 / 0.5302 GB, free: 10.61 MB / 378.7 MB Notification: Performance of Templates: time 0.00256/0.09949, allocations: 403.8 kB / 0.5306 GB, free: 10.21 MB / 378.7 MB