Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 172.2 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4845/0.4845, allocations: 86.27 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.3 MB / 348.4 MB, free: 4.949 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007555/0.0007555, allocations: 96.3 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004277, allocations: 19.98 kB / 0.4901 GB, free: 7.973 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3187, allocations: 71.01 MB / 0.5595 GB, free: 43.84 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.441, allocations: 99.56 MB / 0.6567 GB, free: 9.938 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.4414, allocations: 75.95 kB / 0.6568 GB, free: 9.863 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003332/0.4447, allocations: 1.25 MB / 0.658 GB, free: 8.617 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4447, allocations: 0 / 0.658 GB, free: 8.617 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.4447, allocations: 0 / 0.658 GB, free: 8.617 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002641/0.445, allocations: 327.5 kB / 0.6583 GB, free: 8.246 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4451, allocations: 16.03 kB / 0.6583 GB, free: 8.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.4451, allocations: 0.9375 kB / 0.6583 GB, free: 8.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.153e-05/0.4452, allocations: 168.3 kB / 0.6585 GB, free: 8.027 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.4452, allocations: 384 / 0.6585 GB, free: 8.027 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.4452, allocations: 384 / 0.6585 GB, free: 8.027 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.676e-05/0.4453, allocations: 30.27 kB / 0.6585 GB, free: 7.992 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4454, allocations: 192 / 0.6585 GB, free: 7.992 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.4454, allocations: 11.81 kB / 0.6585 GB, free: 7.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4454, allocations: 0 / 0.6585 GB, free: 7.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.982e-05/0.4454, allocations: 0 / 0.6585 GB, free: 7.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.4456, allocations: 153.7 kB / 0.6587 GB, free: 7.781 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.833e-05/0.4456, allocations: 22.5 kB / 0.6587 GB, free: 7.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.4456, allocations: 4.859 kB / 0.6587 GB, free: 7.742 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/0.4462, allocations: 445.6 kB / 0.6591 GB, free: 7.215 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.4462, allocations: 34.56 kB / 0.6591 GB, free: 7.172 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.4462, allocations: 0 / 0.6591 GB, free: 7.172 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001229/0.4463, allocations: 33.64 kB / 0.6592 GB, free: 7.133 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.4464, allocations: 55.34 kB / 0.6592 GB, free: 7.066 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.024e-05/0.4464, allocations: 89.86 kB / 0.6593 GB, free: 6.969 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.4465, allocations: 25.7 kB / 0.6593 GB, free: 6.938 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.4465, allocations: 84.14 kB / 0.6594 GB, free: 6.852 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.4465, allocations: 8.031 kB / 0.6594 GB, free: 6.844 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.4465, allocations: 4 kB / 0.6594 GB, free: 6.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4466, allocations: 314.8 kB / 0.6597 GB, free: 6.523 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.4466, allocations: 0 / 0.6597 GB, free: 6.523 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-06/0.4467, allocations: 0 / 0.6597 GB, free: 6.523 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.4467, allocations: 8.859 kB / 0.6597 GB, free: 6.512 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4467, allocations: 0 / 0.6597 GB, free: 6.512 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.341e-05/0.4468, allocations: 33.7 kB / 0.6598 GB, free: 6.473 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4468, allocations: 8.094 kB / 0.6598 GB, free: 6.465 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4468, allocations: 4 kB / 0.6598 GB, free: 6.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4468, allocations: 7.875 kB / 0.6598 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.018e-05/0.4469, allocations: 0 / 0.6598 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4469, allocations: 3.984 kB / 0.6598 GB, free: 6.449 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.127e-05/0.4469, allocations: 3.984 kB / 0.6598 GB, free: 6.445 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.4469, allocations: 0 / 0.6598 GB, free: 6.445 MB / 474.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 (1): * Single equations (assignments): 1 * 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.656e-05/0.447, allocations: 109.8 kB / 0.6599 GB, free: 6.328 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-06/0.447, allocations: 0 / 0.6599 GB, free: 6.328 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.691e-05/0.4471, allocations: 40.77 kB / 0.6599 GB, free: 6.277 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4471, allocations: 0 / 0.6599 GB, free: 6.277 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4471, allocations: 0 / 0.6599 GB, free: 6.277 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4471, allocations: 3.984 kB / 0.6599 GB, free: 6.273 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.4472, allocations: 149.7 kB / 0.6601 GB, free: 6.078 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4472, allocations: 3.938 kB / 0.6601 GB, free: 6.074 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.259e-05/0.4473, allocations: 0 / 0.6601 GB, free: 6.074 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4473, allocations: 0 / 0.6601 GB, free: 6.074 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.4473, allocations: 3.938 kB / 0.6601 GB, free: 6.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4473, allocations: 7.938 kB / 0.6601 GB, free: 6.062 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4473, allocations: 8.031 kB / 0.6601 GB, free: 6.055 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.866e-05/0.4474, allocations: 57.06 kB / 0.6602 GB, free: 5.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.4474, allocations: 77.11 kB / 0.6602 GB, free: 5.887 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.4474, allocations: 7.938 kB / 0.6602 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-06/0.4474, allocations: 0 / 0.6602 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.4475, allocations: 4 kB / 0.6602 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.4475, allocations: 0 / 0.6602 GB, free: 5.875 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.27e-05/0.4475, allocations: 79.31 kB / 0.6603 GB, free: 5.797 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4475, allocations: 0 / 0.6603 GB, free: 5.797 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.4477, allocations: 23.92 kB / 0.6603 GB, free: 5.773 MB / 474.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 (1): * Single equations (assignments): 1 * 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.0002404/0.448, allocations: 131.2 kB / 0.6605 GB, free: 5.633 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.519e-05/0.448, allocations: 11.94 kB / 0.6605 GB, free: 5.621 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.448, allocations: 0 / 0.6605 GB, free: 5.621 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.795e-06/0.4481, allocations: 4 kB / 0.6605 GB, free: 5.617 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.4482, allocations: 2.031 kB / 0.6605 GB, free: 5.617 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001807/0.4484, allocations: 70.77 kB / 0.6606 GB, free: 5.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.4486, allocations: 0.677 MB / 0.6612 GB, free: 4.816 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.142e-05/0.4486, allocations: 3.938 kB / 0.6612 GB, free: 4.812 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.4486, allocations: 7.438 kB / 0.6612 GB, free: 4.805 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4487, allocations: 4.125 kB / 0.6612 GB, free: 4.801 MB / 474.7 MB Notification: Performance of Templates: time 0.002191/0.4508, allocations: 382.6 kB / 0.6616 GB, free: 4.43 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)