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.003824/0.003829, allocations: 354.7 kB / 16.58 MB, free: 5.578 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.478/1.478, allocations: 165.8 MB / 183.1 MB, free: 5.547 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.745/3.745, allocations: 410.8 MB / 0.6001 GB, free: 15.07 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.001766/0.001765, allocations: 191.4 kB / 0.6668 GB, free: 6.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004701, allocations: 12 kB / 0.7429 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4562, allocations: 67.45 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.6211, allocations: 98.43 MB / 0.9048 GB, free: 10.22 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.6215, allocations: 79.94 kB / 0.9049 GB, free: 10.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00688/0.6284, allocations: 1.536 MB / 0.9064 GB, free: 8.602 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6284, allocations: 0 / 0.9064 GB, free: 8.602 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.6285, allocations: 0 / 0.9064 GB, free: 8.602 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.000464/0.6289, allocations: 351.2 kB / 0.9068 GB, free: 8.211 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.629, allocations: 16.03 kB / 0.9068 GB, free: 8.195 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.629, allocations: 0 / 0.9068 GB, free: 8.195 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.6291, allocations: 159.1 kB / 0.9069 GB, free: 8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.6292, allocations: 8 kB / 0.9069 GB, free: 7.992 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.6292, allocations: 0 / 0.9069 GB, free: 7.992 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.6295, allocations: 56.67 kB / 0.907 GB, free: 7.934 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6295, allocations: 0 / 0.907 GB, free: 7.934 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.6295, allocations: 3.953 kB / 0.907 GB, free: 7.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.6295, allocations: 7.984 kB / 0.907 GB, free: 7.922 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.6298, allocations: 51.83 kB / 0.9071 GB, free: 7.871 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.6303, allocations: 268.9 kB / 0.9073 GB, free: 7.559 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.6306, allocations: 38.56 kB / 0.9073 GB, free: 7.512 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.6307, allocations: 28.91 kB / 0.9074 GB, free: 7.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007666/0.6315, allocations: 441.5 kB / 0.9078 GB, free: 6.957 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.6316, allocations: 38.45 kB / 0.9078 GB, free: 6.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.6316, allocations: 7.938 kB / 0.9078 GB, free: 6.902 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0005578/0.6321, allocations: 101.5 kB / 0.9079 GB, free: 6.797 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.6322, allocations: 51.41 kB / 0.908 GB, free: 6.734 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.6323, allocations: 106 kB / 0.9081 GB, free: 6.621 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.6323, allocations: 25.7 kB / 0.9081 GB, free: 6.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.6324, allocations: 84.14 kB / 0.9082 GB, free: 6.504 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.6324, allocations: 3.906 kB / 0.9082 GB, free: 6.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.6324, allocations: 4 kB / 0.9082 GB, free: 6.496 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6326, allocations: 310.8 kB / 0.9085 GB, free: 6.184 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.6327, allocations: 23.97 kB / 0.9085 GB, free: 6.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.6329, allocations: 23.98 kB / 0.9085 GB, free: 6.137 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.633, allocations: 23.92 kB / 0.9086 GB, free: 6.113 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6331, allocations: 0 / 0.9086 GB, free: 6.113 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003502/0.6334, allocations: 81.72 kB / 0.9086 GB, free: 6.027 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.6335, allocations: 8.734 kB / 0.9086 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6335, allocations: 0 / 0.9086 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6335, allocations: 0 / 0.9086 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.6337, allocations: 15.98 kB / 0.9087 GB, free: 6.004 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.6337, allocations: 3.984 kB / 0.9087 GB, free: 6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.6338, allocations: 8.031 kB / 0.9087 GB, free: 5.992 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.6338, allocations: 0 / 0.9087 GB, free: 5.992 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.693e-05/0.6339, allocations: 117.3 kB / 0.9088 GB, free: 5.871 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.6339, allocations: 0 / 0.9088 GB, free: 5.871 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.6343, allocations: 92.67 kB / 0.9089 GB, free: 5.777 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6344, allocations: 0 / 0.9089 GB, free: 5.777 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6344, allocations: 0 / 0.9089 GB, free: 5.777 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6344, allocations: 0 / 0.9089 GB, free: 5.777 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.6346, allocations: 153.7 kB / 0.909 GB, free: 5.578 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6346, allocations: 4 kB / 0.909 GB, free: 5.574 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.6347, allocations: 11.98 kB / 0.909 GB, free: 5.562 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.6347, allocations: 7.969 kB / 0.909 GB, free: 5.555 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.6348, allocations: 4 kB / 0.909 GB, free: 5.551 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.6348, allocations: 3.953 kB / 0.9091 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6348, allocations: 0 / 0.9091 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.6352, allocations: 179.4 kB / 0.9092 GB, free: 5.355 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.6353, allocations: 81.11 kB / 0.9093 GB, free: 5.258 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.6353, allocations: 3.984 kB / 0.9093 GB, free: 5.254 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.6354, allocations: 4 kB / 0.9093 GB, free: 5.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.6355, allocations: 11.94 kB / 0.9093 GB, free: 5.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.6355, allocations: 0 / 0.9093 GB, free: 5.238 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.6355, allocations: 79.28 kB / 0.9094 GB, free: 5.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6355, allocations: 0 / 0.9094 GB, free: 5.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003418/0.6359, allocations: 35.91 kB / 0.9094 GB, free: 5.125 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.0002919/0.6362, allocations: 123.5 kB / 0.9095 GB, free: 4.996 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003499/0.6366, allocations: 51.95 kB / 0.9096 GB, free: 4.945 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6366, allocations: 0 / 0.9096 GB, free: 4.945 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.6368, allocations: 27.92 kB / 0.9096 GB, free: 4.918 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.6371, allocations: 8.125 kB / 0.9096 GB, free: 4.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.6374, allocations: 100.7 kB / 0.9097 GB, free: 4.781 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.6377, allocations: 0.6809 MB / 0.9104 GB, free: 4.074 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.195e-05/0.6377, allocations: 0 / 0.9104 GB, free: 4.074 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.6378, allocations: 7.438 kB / 0.9104 GB, free: 4.066 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6378, allocations: 3.938 kB / 0.9104 GB, free: 4.062 MB / 458.7 MB Notification: Performance of Templates: time 0.003278/0.6411, allocations: 0.5633 MB / 0.911 GB, free: 3.504 MB / 458.7 MB