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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7395/0.7395, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009826/0.0009825, allocations: 187.7 kB / 169.7 MB, free: 1.762 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.607/1.607, allocations: 205.1 MB / 404.5 MB, free: 1.672 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.0009078/0.0009078, allocations: 93.92 kB / 481.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.639e-05/4.641e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1952, allocations: 76.76 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.639/0.8343, allocations: 102.7 MB / 0.7284 GB, free: 10.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.8346, allocations: 73.45 kB / 0.7285 GB, free: 10.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0046/0.8392, allocations: 1.585 MB / 0.73 GB, free: 9.281 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.8392, allocations: 0 / 0.73 GB, free: 9.281 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.8392, allocations: 0 / 0.73 GB, free: 9.281 MB / 490.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.0003764/0.8396, allocations: 346.5 kB / 0.7304 GB, free: 8.898 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.8397, allocations: 12.03 kB / 0.7304 GB, free: 8.887 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.8397, allocations: 7.266 kB / 0.7304 GB, free: 8.883 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.8399, allocations: 159.1 kB / 0.7305 GB, free: 8.688 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.8399, allocations: 4 kB / 0.7305 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.8399, allocations: 0 / 0.7305 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.84, allocations: 37.5 kB / 0.7306 GB, free: 8.645 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.84, allocations: 0 / 0.7306 GB, free: 8.645 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.84, allocations: 7.938 kB / 0.7306 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.8401, allocations: 4 kB / 0.7306 GB, free: 8.633 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.8401, allocations: 7.938 kB / 0.7306 GB, free: 8.629 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.8406, allocations: 271.7 kB / 0.7309 GB, free: 8.324 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.426e-05/0.8407, allocations: 33.2 kB / 0.7309 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.8407, allocations: 12.67 kB / 0.7309 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005802/0.8413, allocations: 440.7 kB / 0.7313 GB, free: 7.754 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.8413, allocations: 34.5 kB / 0.7314 GB, free: 7.711 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8413, allocations: 4 kB / 0.7314 GB, free: 7.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001507/0.8415, allocations: 40.91 kB / 0.7314 GB, free: 7.664 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.8415, allocations: 55.34 kB / 0.7314 GB, free: 7.598 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.445e-05/0.8416, allocations: 100.6 kB / 0.7315 GB, free: 7.496 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.8416, allocations: 25.7 kB / 0.7316 GB, free: 7.465 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.8417, allocations: 80.14 kB / 0.7316 GB, free: 7.383 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.8417, allocations: 7.344 kB / 0.7317 GB, free: 7.379 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.8417, allocations: 0 / 0.7317 GB, free: 7.379 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.8419, allocations: 318.9 kB / 0.732 GB, free: 7.059 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.8419, allocations: 3.062 kB / 0.732 GB, free: 7.059 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.8419, allocations: 4 kB / 0.732 GB, free: 7.055 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.8419, allocations: 11.25 kB / 0.732 GB, free: 7.047 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8419, allocations: 0 / 0.732 GB, free: 7.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.83e-05/0.842, allocations: 45.69 kB / 0.732 GB, free: 7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.842, allocations: 4 kB / 0.732 GB, free: 6.996 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.842, allocations: 3.938 kB / 0.732 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.8421, allocations: 0 / 0.732 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.631e-05/0.8422, allocations: 16.08 kB / 0.732 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.8422, allocations: 3.953 kB / 0.732 GB, free: 6.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.8422, allocations: 12 kB / 0.7321 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.8423, allocations: 0 / 0.7321 GB, free: 6.961 MB / 490.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 () * 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 6.888e-05/0.8423, allocations: 101 kB / 0.7322 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.8424, allocations: 7.984 kB / 0.7322 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.8425, allocations: 55.5 kB / 0.7322 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.8425, allocations: 192 / 0.7322 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8425, allocations: 0 / 0.7322 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.8425, allocations: 7.938 kB / 0.7322 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.8427, allocations: 157.1 kB / 0.7324 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.8427, allocations: 0 / 0.7324 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/0.8427, allocations: 15.98 kB / 0.7324 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8428, allocations: 0 / 0.7324 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.8428, allocations: 0 / 0.7324 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.8428, allocations: 0 / 0.7324 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8428, allocations: 4.031 kB / 0.7324 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.8429, allocations: 146.1 kB / 0.7325 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.843, allocations: 77.11 kB / 0.7326 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.843, allocations: 0 / 0.7326 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.8431, allocations: 11.98 kB / 0.7326 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.8431, allocations: 0 / 0.7326 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.8431, allocations: 4.031 kB / 0.7326 GB, free: 6.309 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.037e-05/0.8432, allocations: 82.47 kB / 0.7327 GB, free: 6.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8432, allocations: 0 / 0.7327 GB, free: 6.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.8434, allocations: 27.94 kB / 0.7327 GB, free: 6.203 MB / 490.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 () * 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.0002489/0.8437, allocations: 138.2 kB / 0.7329 GB, free: 6.062 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.473e-05/0.8438, allocations: 15.88 kB / 0.7329 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8438, allocations: 0 / 0.7329 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.8438, allocations: 11.94 kB / 0.7329 GB, free: 6.039 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.844, allocations: 3.953 kB / 0.7329 GB, free: 6.035 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.8442, allocations: 61.3 kB / 0.7329 GB, free: 5.957 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.8445, allocations: 0.6811 MB / 0.7336 GB, free: 5.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.558e-05/0.8445, allocations: 4 kB / 0.7336 GB, free: 5.246 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.8445, allocations: 7.438 kB / 0.7336 GB, free: 5.238 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8445, allocations: 0 / 0.7336 GB, free: 5.238 MB / 490.7 MB Notification: Performance of Templates: time 0.002618/0.8472, allocations: 0.5566 MB / 0.7342 GB, free: 4.691 MB / 490.7 MB 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)