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.802/0.802, allocations: 127.4 MB / 134.9 MB, free: 3.445 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.001049/0.001049, allocations: 185.8 kB / 164.6 MB, free: 11.61 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.322/1.322, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0008524/0.0008523, allocations: 89.7 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.177e-05, allocations: 5.656 kB / 0.5466 GB, free: 95.39 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1365, allocations: 76.77 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.2625, allocations: 102 MB / 0.7211 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.2628, allocations: 71.95 kB / 0.7212 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004929/0.2678, allocations: 1.574 MB / 0.7227 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2678, allocations: 4 kB / 0.7227 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.2678, allocations: 4 kB / 0.7228 GB, free: 3.316 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.0004146/0.2682, allocations: 350.4 kB / 0.7231 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2683, allocations: 8.031 kB / 0.7231 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.2683, allocations: 3.953 kB / 0.7231 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2685, allocations: 163.1 kB / 0.7233 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2685, allocations: 0 / 0.7233 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.2685, allocations: 0 / 0.7233 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.21e-05/0.2686, allocations: 19.94 kB / 0.7233 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.166e-05/0.2687, allocations: 37.69 kB / 0.7233 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.2687, allocations: 0 / 0.7233 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2687, allocations: 0 / 0.7233 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2687, allocations: 0 / 0.7233 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.2691, allocations: 249.3 kB / 0.7235 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.788e-05/0.2692, allocations: 22.61 kB / 0.7236 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.2692, allocations: 12.92 kB / 0.7236 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/0.2698, allocations: 445.4 kB / 0.724 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.2698, allocations: 38.56 kB / 0.724 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.2698, allocations: 3.938 kB / 0.724 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.27, allocations: 37.7 kB / 0.7241 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.27, allocations: 51.41 kB / 0.7241 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.2701, allocations: 96.94 kB / 0.7242 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.2701, allocations: 25.7 kB / 0.7242 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.2702, allocations: 88.12 kB / 0.7243 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.2702, allocations: 3.906 kB / 0.7243 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.2702, allocations: 7.969 kB / 0.7243 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2703, allocations: 317 kB / 0.7246 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.2703, allocations: 4 kB / 0.7246 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.2704, allocations: 4 kB / 0.7247 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.2704, allocations: 4 kB / 0.7247 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2704, allocations: 3.938 kB / 0.7247 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.669e-05/0.2705, allocations: 41.69 kB / 0.7247 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2705, allocations: 8 kB / 0.7247 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2705, allocations: 4.094 kB / 0.7247 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2706, allocations: 0 / 0.7247 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.2707, allocations: 11.98 kB / 0.7247 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2707, allocations: 0 / 0.7247 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.2708, allocations: 8 kB / 0.7247 GB, free: 1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.2708, allocations: 3.953 kB / 0.7247 GB, free: 0.9961 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 () * 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 7.19e-05/0.2709, allocations: 101 kB / 0.7248 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.2709, allocations: 12 kB / 0.7248 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.2711, allocations: 53.38 kB / 0.7249 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2711, allocations: 0 / 0.7249 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.2711, allocations: 3.984 kB / 0.7249 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2711, allocations: 0 / 0.7249 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.2712, allocations: 138.1 kB / 0.725 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2713, allocations: 0 / 0.725 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.2713, allocations: 11.98 kB / 0.725 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2713, allocations: 4.031 kB / 0.725 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2714, allocations: 4 kB / 0.725 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2714, allocations: 0 / 0.725 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.2714, allocations: 4 kB / 0.7251 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.2715, allocations: 131.5 kB / 0.7252 GB, free: 492 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.2716, allocations: 81.09 kB / 0.7253 GB, free: 392 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.2716, allocations: 4 kB / 0.7253 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.2717, allocations: 8.031 kB / 0.7253 GB, free: 380 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.2717, allocations: 3.984 kB / 0.7253 GB, free: 376 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2718, allocations: 4 kB / 0.7253 GB, free: 372 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.2718, allocations: 79.22 kB / 0.7253 GB, free: 292 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2718, allocations: 0 / 0.7253 GB, free: 292 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002478/0.2721, allocations: 31.88 kB / 0.7254 GB, free: 260 kB / 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 () * 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.0002715/0.2723, allocations: 135.1 kB / 0.7255 GB, free: 112 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.994e-05/0.2724, allocations: 12 kB / 0.7255 GB, free: 100 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2724, allocations: 0 / 0.7255 GB, free: 100 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.839e-05/0.2725, allocations: 4 kB / 0.7255 GB, free: 96 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.2727, allocations: 13.66 kB / 0.7255 GB, free: 84 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.2729, allocations: 60.12 kB / 0.7256 GB, free: 0 / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.2731, allocations: 0.6768 MB / 0.7263 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.2732, allocations: 11.92 kB / 0.7263 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.2732, allocations: 7.438 kB / 0.7263 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of SimCode: time 3.71e-07/0.2732, allocations: 0 / 0.7263 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of Templates: time 0.002778/0.276, allocations: 0.533 MB / 0.7268 GB, free: 14.75 MB / 0.5105 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)