Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7061/0.7061, allocations: 117.9 MB / 133.9 MB, free: 9.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 183.7 kB / 161.7 MB, free: 14 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.4 MB / 394.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008074/0.0008074, allocations: 89.5 kB / 470.1 MB, free: 29.05 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003832, allocations: 12 kB / 0.5423 GB, free: 9.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1603, allocations: 74.54 MB / 0.6151 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4587/0.619, allocations: 101.6 MB / 0.7144 GB, free: 31.59 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.6193, allocations: 72.91 kB / 0.7145 GB, free: 31.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004139/0.6234, allocations: 1.589 MB / 0.716 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.504e-06/0.6235, allocations: 0 / 0.716 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.6235, allocations: 0 / 0.716 GB, free: 30.54 MB / 0.4948 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.0003604/0.6239, allocations: 366.3 kB / 0.7164 GB, free: 30.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.6239, allocations: 12.03 kB / 0.7164 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.6239, allocations: 0.9375 kB / 0.7164 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.672e-05/0.624, allocations: 165.6 kB / 0.7165 GB, free: 29.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.6241, allocations: 1.797 kB / 0.7165 GB, free: 29.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.6241, allocations: 4.375 kB / 0.7165 GB, free: 29.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.6243, allocations: 52.16 kB / 0.7166 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6243, allocations: 4.797 kB / 0.7166 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.6243, allocations: 7.875 kB / 0.7166 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6243, allocations: 0 / 0.7166 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.6245, allocations: 41.58 kB / 0.7166 GB, free: 29.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.6249, allocations: 271 kB / 0.7169 GB, free: 29.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.625, allocations: 42.36 kB / 0.7169 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.6251, allocations: 34.83 kB / 0.717 GB, free: 29.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004464/0.6256, allocations: 441.2 kB / 0.7174 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.6256, allocations: 30.56 kB / 0.7174 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.6256, allocations: 4 kB / 0.7174 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003276/0.626, allocations: 104 kB / 0.7175 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.626, allocations: 52.09 kB / 0.7176 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/0.6261, allocations: 100.2 kB / 0.7177 GB, free: 28.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.6261, allocations: 28.95 kB / 0.7177 GB, free: 28.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.6261, allocations: 84.7 kB / 0.7178 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.6261, allocations: 4.562 kB / 0.7178 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.6261, allocations: 0 / 0.7178 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.165e-05/0.6262, allocations: 316 kB / 0.7181 GB, free: 28.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.511e-05/0.6263, allocations: 24.88 kB / 0.7181 GB, free: 28.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.6263, allocations: 20 kB / 0.7181 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.6265, allocations: 50.36 kB / 0.7182 GB, free: 28.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6265, allocations: 0 / 0.7182 GB, free: 28.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001751/0.6267, allocations: 79.55 kB / 0.7182 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.6267, allocations: 8.75 kB / 0.7183 GB, free: 28.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6267, allocations: 0 / 0.7183 GB, free: 28.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.6267, allocations: 4.031 kB / 0.7183 GB, free: 28.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.6268, allocations: 14.02 kB / 0.7183 GB, free: 28.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.6268, allocations: 1.062 kB / 0.7183 GB, free: 28.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.6269, allocations: 10.77 kB / 0.7183 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.6269, allocations: 3.562 kB / 0.7183 GB, free: 28.09 MB / 0.4948 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.066e-05/0.627, allocations: 110.4 kB / 0.7184 GB, free: 27.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.627, allocations: 8 kB / 0.7184 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.6272, allocations: 85.89 kB / 0.7185 GB, free: 27.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6272, allocations: 4.688 kB / 0.7185 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6272, allocations: 0 / 0.7185 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6272, allocations: 0.7031 kB / 0.7185 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.6274, allocations: 162.5 kB / 0.7186 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6274, allocations: 3.938 kB / 0.7186 GB, free: 27.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.6275, allocations: 11.81 kB / 0.7187 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6275, allocations: 0 / 0.7187 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.6275, allocations: 0 / 0.7187 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.6275, allocations: 4.562 kB / 0.7187 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6275, allocations: 3.125 kB / 0.7187 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.6277, allocations: 177.8 kB / 0.7188 GB, free: 27.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.6278, allocations: 78.38 kB / 0.7189 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.6278, allocations: 0 / 0.7189 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.6279, allocations: 10.86 kB / 0.7189 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.6279, allocations: 13.31 kB / 0.7189 GB, free: 27.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.6279, allocations: 0 / 0.7189 GB, free: 27.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.871e-05/0.6279, allocations: 80.73 kB / 0.719 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6279, allocations: 0 / 0.719 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002428/0.6282, allocations: 24.64 kB / 0.719 GB, free: 27.3 MB / 0.4948 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.0002496/0.6285, allocations: 143 kB / 0.7192 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.6287, allocations: 45.92 kB / 0.7192 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6287, allocations: 0 / 0.7192 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.688e-05/0.6288, allocations: 25.08 kB / 0.7192 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.629, allocations: 7.953 kB / 0.7192 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.6294, allocations: 105.4 kB / 0.7193 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.6295, allocations: 0.6762 MB / 0.72 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.6295, allocations: 9.359 kB / 0.72 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.6296, allocations: 11.44 kB / 0.72 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of SimCode: time 3.6e-07/0.6296, allocations: 0 / 0.72 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.002801/0.6324, allocations: 0.56 MB / 0.7206 GB, free: 25.95 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)