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.002672/0.002672, allocations: 354.9 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.471/1.471, allocations: 165.8 MB / 182.5 MB, free: 5.922 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.139/4.139, allocations: 410.7 MB / 0.5995 GB, free: 2.191 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001773/0.001773, allocations: 168.9 kB / 0.6662 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007974/0.0007977, allocations: 19.98 kB / 0.7423 GB, free: 28 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4053, allocations: 67.44 MB / 0.8081 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.001575/0.4069, allocations: 1.135 MB / 0.8093 GB, free: 244.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004846/0.4074, allocations: 236.1 kB / 0.8095 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.4074, allocations: 0 / 0.8095 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.4075, allocations: 5.906 kB / 0.8095 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.4075, allocations: 3.109 kB / 0.8095 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.4078, allocations: 48.47 kB / 0.8095 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.144e-05/0.4079, allocations: 18.41 kB / 0.8095 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.358e-05/0.408, allocations: 5.031 kB / 0.8096 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.408, allocations: 10.02 kB / 0.8096 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.4081, allocations: 9.172 kB / 0.8096 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.864e-06/0.4081, allocations: 1.75 kB / 0.8096 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.4082, allocations: 65.14 kB / 0.8096 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.412e-06/0.4083, allocations: 2.625 kB / 0.8096 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.4083, allocations: 27.69 kB / 0.8097 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.4084, allocations: 34.94 kB / 0.8097 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.844e-06/0.4084, allocations: 4.5 kB / 0.8097 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.87e-06/0.4085, allocations: 0 / 0.8097 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.713e-06/0.4085, allocations: 0 / 0.8097 GB, free: 244.6 MB / 0.5886 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.0003539/0.4088, allocations: 354 kB / 0.81 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.4089, allocations: 9.312 kB / 0.81 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.4089, allocations: 3.172 kB / 0.8101 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.154e-05/0.409, allocations: 166.2 kB / 0.8102 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.409, allocations: 0.9375 kB / 0.8102 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.4091, allocations: 4.938 kB / 0.8102 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.4092, allocations: 53.83 kB / 0.8103 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.751e-06/0.4093, allocations: 3.75 kB / 0.8103 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.4093, allocations: 3.953 kB / 0.8103 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-06/0.4093, allocations: 0 / 0.8103 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.4095, allocations: 50 kB / 0.8103 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.4098, allocations: 246.9 kB / 0.8106 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.41, allocations: 46.12 kB / 0.8106 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4101, allocations: 31.09 kB / 0.8106 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006604/0.4108, allocations: 456.4 kB / 0.8111 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.4108, allocations: 46.78 kB / 0.8111 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.945e-06/0.4108, allocations: 0 / 0.8111 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0004152/0.4112, allocations: 100.2 kB / 0.8112 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.4113, allocations: 53.75 kB / 0.8113 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.616e-05/0.4113, allocations: 104.6 kB / 0.8114 GB, free: 243 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.4114, allocations: 26.41 kB / 0.8114 GB, free: 243 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.4114, allocations: 83.7 kB / 0.8115 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.4114, allocations: 9.906 kB / 0.8115 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-06/0.4114, allocations: 0 / 0.8115 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.4115, allocations: 313.4 kB / 0.8118 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4116, allocations: 24.88 kB / 0.8118 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.4117, allocations: 19.17 kB / 0.8118 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.962e-05/0.4118, allocations: 25.41 kB / 0.8118 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-06/0.4118, allocations: 0 / 0.8118 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002395/0.4121, allocations: 75.94 kB / 0.8119 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4121, allocations: 9.984 kB / 0.8119 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-06/0.4121, allocations: 1.094 kB / 0.8119 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4122, allocations: 0 / 0.8119 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.4123, allocations: 19.17 kB / 0.8119 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.4123, allocations: 0 / 0.8119 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.4124, allocations: 14.56 kB / 0.812 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-06/0.4124, allocations: 2.031 kB / 0.812 GB, free: 242.5 MB / 0.5886 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 5.056e-05/0.4124, allocations: 112.4 kB / 0.8121 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.4125, allocations: 4.75 kB / 0.8121 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.4128, allocations: 87.12 kB / 0.8121 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-06/0.4128, allocations: 0 / 0.8121 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.014e-06/0.4128, allocations: 1.891 kB / 0.8122 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.652e-06/0.4128, allocations: 0.7812 kB / 0.8122 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.413, allocations: 156.2 kB / 0.8123 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-06/0.413, allocations: 1.203 kB / 0.8123 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/0.4131, allocations: 12.02 kB / 0.8123 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.704e-06/0.4131, allocations: 6.094 kB / 0.8123 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.878e-06/0.4131, allocations: 0 / 0.8123 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.251e-06/0.4131, allocations: 6.078 kB / 0.8123 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.608e-06/0.4131, allocations: 1.125 kB / 0.8123 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.4134, allocations: 171.1 kB / 0.8125 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.4134, allocations: 83.66 kB / 0.8126 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.4134, allocations: 0 / 0.8126 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4136, allocations: 10.62 kB / 0.8126 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.4136, allocations: 8.734 kB / 0.8126 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-06/0.4136, allocations: 0 / 0.8126 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.838e-05/0.4137, allocations: 84.86 kB / 0.8127 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.49e-07/0.4137, allocations: 0 / 0.8127 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003253/0.414, allocations: 14.41 kB / 0.8127 GB, free: 241.8 MB / 0.5886 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.0002013/0.4142, allocations: 117.7 kB / 0.8128 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.4145, allocations: 51.73 kB / 0.8128 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.922e-06/0.4145, allocations: 0 / 0.8128 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.4146, allocations: 26.17 kB / 0.8129 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.4149, allocations: 2.266 kB / 0.8129 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.4152, allocations: 108.8 kB / 0.813 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.4153, allocations: 0.6788 MB / 0.8136 GB, free: 240.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.4154, allocations: 4.609 kB / 0.8136 GB, free: 240.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.4154, allocations: 9.906 kB / 0.8137 GB, free: 240.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.298e-06/0.4154, allocations: 0 / 0.8137 GB, free: 240.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.003162/0.4186, allocations: 0.582 MB / 0.8142 GB, free: 240.9 MB / 0.5886 GB