Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7446/0.7446, allocations: 127.4 MB / 134.9 MB, free: 3.484 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.001059/0.001058, allocations: 180.9 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.502/1.502, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.0008427/0.0008427, allocations: 90.42 kB / 476.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.747e-05, allocations: 5.219 kB / 0.5466 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 76.76 MB / 0.6215 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.2356, allocations: 102 MB / 0.7212 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.2358, allocations: 75.95 kB / 0.7213 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004823/0.2406, allocations: 1.609 MB / 0.7228 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2407, allocations: 0 / 0.7228 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2407, allocations: 0 / 0.7228 GB, free: 3.219 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.0003591/0.241, allocations: 350.4 kB / 0.7232 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2411, allocations: 12.03 kB / 0.7232 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.2411, allocations: 3.953 kB / 0.7232 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2412, allocations: 167 kB / 0.7233 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.2412, allocations: 0 / 0.7233 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.2413, allocations: 8 kB / 0.7233 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.617e-05/0.2413, allocations: 8 kB / 0.7233 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.427e-05/0.2414, allocations: 37.69 kB / 0.7234 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2414, allocations: 0 / 0.7234 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.2414, allocations: 4 kB / 0.7234 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2414, allocations: 7.984 kB / 0.7234 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.2419, allocations: 245.4 kB / 0.7236 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.432e-05/0.2419, allocations: 26.52 kB / 0.7237 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.242, allocations: 16.92 kB / 0.7237 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000551/0.2425, allocations: 453.5 kB / 0.7241 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2425, allocations: 30.56 kB / 0.7241 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2426, allocations: 0 / 0.7241 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001421/0.2427, allocations: 41.7 kB / 0.7242 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.2427, allocations: 51.41 kB / 0.7242 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.403e-05/0.2428, allocations: 92.95 kB / 0.7243 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.2428, allocations: 25.7 kB / 0.7243 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.2429, allocations: 90.28 kB / 0.7244 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.2429, allocations: 7.906 kB / 0.7244 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.2429, allocations: 3.938 kB / 0.7244 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.243, allocations: 314.8 kB / 0.7247 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.243, allocations: 12.03 kB / 0.7247 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.2431, allocations: 3.938 kB / 0.7247 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.305e-05/0.2431, allocations: 4 kB / 0.7247 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2431, allocations: 0 / 0.7247 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.83e-05/0.2432, allocations: 45.69 kB / 0.7248 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2432, allocations: 4 kB / 0.7248 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2432, allocations: 0 / 0.7248 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.2432, allocations: 0 / 0.7248 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.2433, allocations: 16.08 kB / 0.7248 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2433, allocations: 0 / 0.7248 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.2434, allocations: 8 kB / 0.7248 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2434, allocations: 3.953 kB / 0.7248 GB, free: 0.8789 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 6.663e-05/0.2435, allocations: 101 kB / 0.7249 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.2435, allocations: 7.984 kB / 0.7249 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.2436, allocations: 53.33 kB / 0.725 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2436, allocations: 8.016 kB / 0.725 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2436, allocations: 0 / 0.725 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2437, allocations: 0 / 0.725 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.2438, allocations: 138.1 kB / 0.7251 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2438, allocations: 0 / 0.7251 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.536e-05/0.2439, allocations: 11.98 kB / 0.7251 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2439, allocations: 0 / 0.7251 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.2439, allocations: 4 kB / 0.7251 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2439, allocations: 0 / 0.7251 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2439, allocations: 0 / 0.7251 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.244, allocations: 143.5 kB / 0.7253 GB, free: 368 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.2441, allocations: 85.09 kB / 0.7254 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.2441, allocations: 0 / 0.7254 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.2442, allocations: 4 kB / 0.7254 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.2442, allocations: 7.984 kB / 0.7254 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.2442, allocations: 4 kB / 0.7254 GB, free: 248 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.055e-05/0.2443, allocations: 83.31 kB / 0.7254 GB, free: 164 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2443, allocations: 0 / 0.7254 GB, free: 164 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000237/0.2445, allocations: 27.94 kB / 0.7255 GB, free: 136 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.000206/0.2447, allocations: 123.2 kB / 0.7256 GB, free: 0 / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.751e-05/0.2448, allocations: 20.36 kB / 0.7256 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2448, allocations: 0 / 0.7256 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.2448, allocations: 7.938 kB / 0.7256 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.245, allocations: 3.953 kB / 0.7256 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001621/0.2452, allocations: 60 kB / 0.7257 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.2454, allocations: 0.6806 MB / 0.7263 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.142e-05/0.2454, allocations: 0 / 0.7263 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.2455, allocations: 11.56 kB / 0.7264 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.2455, allocations: 4 kB / 0.7264 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.002209/0.2477, allocations: 0.5317 MB / 0.7269 GB, free: 14.64 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)