Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8215/0.8215, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 181 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.3 MB / 441.4 MB, free: 4.645 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 99.73 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 265.6 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.277e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4021, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.545, allocations: 108.7 MB / 0.8704 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.5453, allocations: 83.33 kB / 0.8705 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005844/0.5512, allocations: 1.531 MB / 0.872 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5513, allocations: 0 / 0.872 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5513, allocations: 0 / 0.872 GB, free: 14.23 MB / 0.5417 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.0004474/0.5517, allocations: 354.5 kB / 0.8724 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5518, allocations: 8.031 kB / 0.8724 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.5518, allocations: 4 kB / 0.8724 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.552, allocations: 159.1 kB / 0.8725 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.552, allocations: 3.953 kB / 0.8725 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.552, allocations: 0 / 0.8725 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.5522, allocations: 45.62 kB / 0.8726 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.5522, allocations: 0 / 0.8726 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5522, allocations: 0 / 0.8726 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5522, allocations: 0 / 0.8726 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.84e-05/0.5523, allocations: 16 kB / 0.8726 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.5528, allocations: 272.8 kB / 0.8728 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.619e-05/0.5529, allocations: 22.58 kB / 0.8729 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.5529, allocations: 16.86 kB / 0.8729 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006678/0.5536, allocations: 441.5 kB / 0.8733 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.5536, allocations: 34.56 kB / 0.8733 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.5536, allocations: 4 kB / 0.8733 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001752/0.5538, allocations: 37.7 kB / 0.8734 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.5539, allocations: 55.44 kB / 0.8734 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/0.554, allocations: 93.12 kB / 0.8735 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.554, allocations: 29.64 kB / 0.8735 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.5541, allocations: 92.08 kB / 0.8736 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.5541, allocations: 3.906 kB / 0.8736 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.5541, allocations: 0 / 0.8736 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5542, allocations: 314.8 kB / 0.8739 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.5543, allocations: 11.94 kB / 0.874 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.5543, allocations: 8 kB / 0.874 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.5543, allocations: 3.953 kB / 0.874 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5543, allocations: 0 / 0.874 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.043e-05/0.5544, allocations: 45.69 kB / 0.874 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.5544, allocations: 4 kB / 0.874 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.5545, allocations: 0 / 0.874 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5545, allocations: 8.031 kB / 0.874 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.5546, allocations: 11.98 kB / 0.874 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5546, allocations: 4.094 kB / 0.874 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.607e-05/0.5547, allocations: 8 kB / 0.874 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.5547, allocations: 11.98 kB / 0.8741 GB, free: 11.84 MB / 0.5417 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.66e-05/0.5548, allocations: 104.9 kB / 0.8742 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.5548, allocations: 0 / 0.8742 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.555, allocations: 55 kB / 0.8742 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.555, allocations: 4 kB / 0.8742 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.555, allocations: 32 / 0.8742 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.555, allocations: 4 kB / 0.8742 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.5552, allocations: 153.7 kB / 0.8744 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5552, allocations: 3.953 kB / 0.8744 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.986e-05/0.5553, allocations: 11.98 kB / 0.8744 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5553, allocations: 0 / 0.8744 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.5553, allocations: 0 / 0.8744 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.5554, allocations: 4 kB / 0.8744 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5554, allocations: 0 / 0.8744 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.5555, allocations: 143.5 kB / 0.8745 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.5556, allocations: 85.06 kB / 0.8746 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.5556, allocations: 0 / 0.8746 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.5557, allocations: 7.984 kB / 0.8746 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.5558, allocations: 4 kB / 0.8746 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.5558, allocations: 0 / 0.8746 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.5558, allocations: 83.28 kB / 0.8747 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5559, allocations: 4.031 kB / 0.8747 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003705/0.5562, allocations: 27.92 kB / 0.8747 GB, free: 11.07 MB / 0.5417 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.0002881/0.5565, allocations: 119.2 kB / 0.8748 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.006e-05/0.5566, allocations: 19.94 kB / 0.8749 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5566, allocations: 0 / 0.8749 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.5567, allocations: 15.88 kB / 0.8749 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.5569, allocations: 5.406 kB / 0.8749 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.5572, allocations: 64.92 kB / 0.8749 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.5575, allocations: 0.677 MB / 0.8756 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.516e-05/0.5575, allocations: 4 kB / 0.8756 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.5576, allocations: 11.56 kB / 0.8756 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.5576, allocations: 0 / 0.8756 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.003097/0.5607, allocations: 0.557 MB / 0.8762 GB, free: 9.551 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)