Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.676/1.676, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 180 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 0.6626 GB, free: 4.285 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007484/0.0007485, allocations: 92.56 kB / 0.7808 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 12 kB / 0.9088 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7054/0.7058, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2112/0.9171, allocations: 141.4 MB / 1.164 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.9173, allocations: 75.52 kB / 1.164 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004614/0.922, allocations: 1.588 MB / 1.166 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.495e-06/0.922, allocations: 0 / 1.166 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.922, allocations: 0 / 1.166 GB, free: 0.8086 MB / 0.7292 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.0003402/0.9224, allocations: 356.9 kB / 1.166 GB, free: 432 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.9224, allocations: 8.031 kB / 1.166 GB, free: 424 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.9225, allocations: 10.03 kB / 1.166 GB, free: 416 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.782e-05/0.9225, allocations: 171.8 kB / 1.167 GB, free: 212 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.9226, allocations: 384 / 1.167 GB, free: 212 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.9226, allocations: 4.938 kB / 1.167 GB, free: 208 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.9228, allocations: 60.19 kB / 1.167 GB, free: 152 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.9228, allocations: 2.859 kB / 1.167 GB, free: 152 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.9228, allocations: 3.938 kB / 1.167 GB, free: 148 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9228, allocations: 0.6875 kB / 1.167 GB, free: 148 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.923, allocations: 44.86 kB / 1.167 GB, free: 116 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.9234, allocations: 261.2 kB / 1.167 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.9235, allocations: 45.17 kB / 1.167 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.058e-05/0.9236, allocations: 36.17 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005676/0.9242, allocations: 448.3 kB / 1.167 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.9243, allocations: 33.48 kB / 1.167 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9243, allocations: 0.9375 kB / 1.167 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003615/0.9246, allocations: 92.39 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.9247, allocations: 55.41 kB / 1.168 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.9248, allocations: 102.6 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.9248, allocations: 25.7 kB / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.9248, allocations: 84.8 kB / 1.168 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.9249, allocations: 8.469 kB / 1.168 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.9249, allocations: 0 / 1.168 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.925, allocations: 312.4 kB / 1.168 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.9251, allocations: 26.56 kB / 1.168 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.9251, allocations: 23.3 kB / 1.168 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.9253, allocations: 48.97 kB / 1.168 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9253, allocations: 0.8125 kB / 1.168 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002034/0.9255, allocations: 86.27 kB / 1.168 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.9255, allocations: 4.562 kB / 1.168 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.9256, allocations: 6.141 kB / 1.168 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.9256, allocations: 2.016 kB / 1.168 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.9257, allocations: 13.58 kB / 1.168 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.9257, allocations: 0 / 1.168 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.9258, allocations: 10.66 kB / 1.168 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.9258, allocations: 4.688 kB / 1.168 GB, free: 14.33 MB / 0.7448 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 () * Number of clocked 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.514e-05/0.9259, allocations: 114.8 kB / 1.168 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.9259, allocations: 3.938 kB / 1.168 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.9261, allocations: 84.53 kB / 1.168 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.9261, allocations: 0 / 1.168 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9261, allocations: 0 / 1.168 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.9262, allocations: 8.594 kB / 1.168 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.9263, allocations: 159 kB / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9263, allocations: 0.7969 kB / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.9264, allocations: 11.84 kB / 1.169 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9264, allocations: 0 / 1.169 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.9264, allocations: 0.9375 kB / 1.169 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9264, allocations: 0.7031 kB / 1.169 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.9264, allocations: 0 / 1.169 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.9267, allocations: 182.9 kB / 1.169 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.9267, allocations: 77.91 kB / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.9267, allocations: 0.7969 kB / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.9268, allocations: 14.42 kB / 1.169 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.9269, allocations: 2.406 kB / 1.169 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.9269, allocations: 0 / 1.169 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.278e-05/0.9269, allocations: 83.36 kB / 1.169 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9269, allocations: 0 / 1.169 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002659/0.9272, allocations: 34.14 kB / 1.169 GB, free: 13.52 MB / 0.7448 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 () * Number of clocked 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.0002509/0.9275, allocations: 133 kB / 1.169 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.9277, allocations: 53.83 kB / 1.169 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9277, allocations: 0 / 1.169 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.9278, allocations: 24.78 kB / 1.169 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.9281, allocations: 5.391 kB / 1.169 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.9284, allocations: 107.7 kB / 1.169 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.9286, allocations: 0.6801 MB / 1.17 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.9287, allocations: 0 / 1.17 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.9287, allocations: 12.05 kB / 1.17 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.9287, allocations: 0.8438 kB / 1.17 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.002946/0.9317, allocations: 0.5606 MB / 1.171 GB, free: 12.17 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)