Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002422/0.002422, allocations: 354.1 kB / 15.94 MB, free: 6.207 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.511/1.511, allocations: 165.8 MB / 182.5 MB, free: 5.43 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.82/3.82, allocations: 410.8 MB / 0.5995 GB, free: 15.25 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.001705/0.001705, allocations: 201.7 kB / 0.6662 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.000459, allocations: 12 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3424, allocations: 67.44 MB / 0.8081 GB, free: 28.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.001341/0.3437, allocations: 1.13 MB / 0.8093 GB, free: 27.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004422/0.3442, allocations: 231.5 kB / 0.8095 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.3443, allocations: 0 / 0.8095 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.3443, allocations: 3.938 kB / 0.8095 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.56e-05/0.3444, allocations: 3.938 kB / 0.8095 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.3447, allocations: 43.83 kB / 0.8095 GB, free: 27.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.984e-05/0.3447, allocations: 23.92 kB / 0.8095 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.506e-05/0.3448, allocations: 0 / 0.8095 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.3448, allocations: 7.984 kB / 0.8096 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.192e-05/0.3449, allocations: 8 kB / 0.8096 GB, free: 27.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.3449, allocations: 4 kB / 0.8096 GB, free: 27.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3451, allocations: 63.81 kB / 0.8096 GB, free: 27.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.864e-06/0.3451, allocations: 7.984 kB / 0.8096 GB, free: 27.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.3451, allocations: 29.7 kB / 0.8097 GB, free: 27.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.254e-05/0.3452, allocations: 31.95 kB / 0.8097 GB, free: 27.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.54e-06/0.3452, allocations: 0 / 0.8097 GB, free: 27.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.085e-06/0.3452, allocations: 0 / 0.8097 GB, free: 27.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3453, allocations: 0 / 0.8097 GB, free: 27.05 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003599/0.3456, allocations: 345.4 kB / 0.81 GB, free: 26.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3457, allocations: 8.031 kB / 0.81 GB, free: 26.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.3457, allocations: 3.984 kB / 0.81 GB, free: 26.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.3458, allocations: 163.1 kB / 0.8102 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3458, allocations: 4 kB / 0.8102 GB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.805e-06/0.3458, allocations: 0 / 0.8102 GB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.346, allocations: 61.61 kB / 0.8102 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.32e-06/0.3461, allocations: 3.938 kB / 0.8103 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3461, allocations: 3.953 kB / 0.8103 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-06/0.3461, allocations: 0 / 0.8103 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.3463, allocations: 39.97 kB / 0.8103 GB, free: 26.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.3466, allocations: 252.9 kB / 0.8105 GB, free: 26.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.3467, allocations: 42.56 kB / 0.8106 GB, free: 25.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.3468, allocations: 32.83 kB / 0.8106 GB, free: 25.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005881/0.3474, allocations: 453.5 kB / 0.811 GB, free: 25.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3475, allocations: 38.52 kB / 0.8111 GB, free: 25.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.189e-06/0.3475, allocations: 0 / 0.8111 GB, free: 25.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000401/0.3479, allocations: 101.5 kB / 0.8112 GB, free: 25.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.3479, allocations: 51.41 kB / 0.8112 GB, free: 25.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.562e-05/0.348, allocations: 110 kB / 0.8113 GB, free: 25.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.348, allocations: 25.7 kB / 0.8114 GB, free: 25.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.3481, allocations: 84.14 kB / 0.8114 GB, free: 24.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.3481, allocations: 7.891 kB / 0.8114 GB, free: 24.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-06/0.3481, allocations: 0 / 0.8114 GB, free: 24.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.3482, allocations: 318.8 kB / 0.8117 GB, free: 24.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3484, allocations: 27.97 kB / 0.8118 GB, free: 24.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/0.3485, allocations: 23.98 kB / 0.8118 GB, free: 24.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.3486, allocations: 23.92 kB / 0.8118 GB, free: 24.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.167e-06/0.3486, allocations: 0 / 0.8118 GB, free: 24.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002675/0.3489, allocations: 77.72 kB / 0.8119 GB, free: 24.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3489, allocations: 7.953 kB / 0.8119 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.928e-06/0.3489, allocations: 0 / 0.8119 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3489, allocations: 4 kB / 0.8119 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.349, allocations: 11.98 kB / 0.8119 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.242e-06/0.3491, allocations: 0 / 0.8119 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.3491, allocations: 8.031 kB / 0.8119 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-06/0.3492, allocations: 0 / 0.8119 GB, free: 24.46 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 (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.543e-05/0.3493, allocations: 113.8 kB / 0.812 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.3493, allocations: 7.922 kB / 0.812 GB, free: 24.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.3496, allocations: 88.73 kB / 0.8121 GB, free: 24.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.196e-06/0.3496, allocations: 0 / 0.8121 GB, free: 24.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.983e-06/0.3497, allocations: 0 / 0.8121 GB, free: 24.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.06e-06/0.3497, allocations: 0 / 0.8121 GB, free: 24.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.3499, allocations: 161.6 kB / 0.8123 GB, free: 24.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-06/0.3499, allocations: 0 / 0.8123 GB, free: 24.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.35, allocations: 11.98 kB / 0.8123 GB, free: 24.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.335e-06/0.35, allocations: 4.031 kB / 0.8123 GB, free: 24.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-06/0.35, allocations: 0 / 0.8123 GB, free: 24.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.274e-06/0.35, allocations: 7.953 kB / 0.8123 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.89e-06/0.35, allocations: 0 / 0.8123 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.3503, allocations: 171.5 kB / 0.8125 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.3503, allocations: 85.02 kB / 0.8125 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3503, allocations: 4 kB / 0.8125 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.3505, allocations: 7.984 kB / 0.8126 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.3505, allocations: 7.953 kB / 0.8126 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-06/0.3505, allocations: 0 / 0.8126 GB, free: 23.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.884e-05/0.3506, allocations: 83.27 kB / 0.8126 GB, free: 23.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.3506, allocations: 0 / 0.8126 GB, free: 23.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003247/0.3509, allocations: 20.03 kB / 0.8127 GB, free: 23.59 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 (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.0001903/0.3511, allocations: 115.2 kB / 0.8128 GB, free: 23.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3514, allocations: 51.97 kB / 0.8128 GB, free: 23.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.5e-06/0.3514, allocations: 0 / 0.8128 GB, free: 23.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.3515, allocations: 23.92 kB / 0.8128 GB, free: 23.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.3518, allocations: 3.984 kB / 0.8128 GB, free: 23.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.3521, allocations: 104.8 kB / 0.8129 GB, free: 23.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.3522, allocations: 0.677 MB / 0.8136 GB, free: 22.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.064e-05/0.3522, allocations: 4 kB / 0.8136 GB, free: 22.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.3523, allocations: 15.36 kB / 0.8136 GB, free: 22.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.404e-06/0.3523, allocations: 3.938 kB / 0.8136 GB, free: 22.54 MB / 378.7 MB Notification: Performance of Templates: time 0.002927/0.3552, allocations: 0.5842 MB / 0.8142 GB, free: 21.96 MB / 378.7 MB