Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 107.5 kB / 16.37 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 186.3 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.876/1.876, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2614, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003216/0.2647, allocations: 1.433 MB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005939/0.2653, allocations: 240.1 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.2654, allocations: 0 / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.2654, allocations: 0 / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.439e-05/0.2655, allocations: 3.938 kB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.2659, allocations: 59.83 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.905e-05/0.266, allocations: 27.91 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.2661, allocations: 4 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.2662, allocations: 19.92 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.2662, allocations: 3.984 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.2662, allocations: 4 kB / 0.7865 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.2664, allocations: 55.95 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.2664, allocations: 7.938 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.2664, allocations: 11.97 kB / 0.7866 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.2666, allocations: 55.81 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2666, allocations: 3.938 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2666, allocations: 0 / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.2666, allocations: 0 / 0.7867 GB, free: 1.195 MB / 0.6544 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.0004895/0.2671, allocations: 351.4 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2672, allocations: 8.031 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.2672, allocations: 4.938 kB / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2673, allocations: 164.4 kB / 0.7872 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2673, allocations: 4.359 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.2674, allocations: 384 / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2675, allocations: 46.25 kB / 0.7872 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2675, allocations: 4.172 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2676, allocations: 7.938 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2676, allocations: 7.938 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.2677, allocations: 31.91 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.2681, allocations: 253 kB / 0.7875 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.2682, allocations: 34.5 kB / 0.7875 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.703e-05/0.2683, allocations: 32.91 kB / 0.7876 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5151/0.7834, allocations: 447.3 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.7835, allocations: 34.53 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 3.216e-06/0.7835, allocations: 0.8438 kB / 0.788 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004278/0.7839, allocations: 88.95 kB / 0.7881 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.7839, allocations: 51.41 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.332e-05/0.784, allocations: 99.42 kB / 0.7883 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.784, allocations: 25.7 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.7841, allocations: 86.38 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.7841, allocations: 9.719 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.7841, allocations: 10.72 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.7842, allocations: 317.3 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.7843, allocations: 17.97 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.7844, allocations: 14.94 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.7845, allocations: 41.52 kB / 0.7888 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7845, allocations: 1.375 kB / 0.7888 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001736/0.7847, allocations: 71.36 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.7847, allocations: 5.562 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7847, allocations: 0 / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.7848, allocations: 1.938 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.7849, allocations: 11.12 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7849, allocations: 0 / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.7849, allocations: 8.344 kB / 0.7889 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.7849, allocations: 0.5938 kB / 0.7889 GB, free: 47.96 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.785, allocations: 116.2 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.785, allocations: 4.656 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.7852, allocations: 70.5 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.7853, allocations: 0 / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7853, allocations: 2.906 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.7853, allocations: 0 / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.7854, allocations: 163.7 kB / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7854, allocations: 0 / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.7855, allocations: 12.92 kB / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.7855, allocations: 2.719 kB / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.7855, allocations: 0 / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7855, allocations: 0 / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7855, allocations: 2.688 kB / 0.7892 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.7857, allocations: 170.7 kB / 0.7894 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.7857, allocations: 80.33 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.7858, allocations: 0.6562 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.7858, allocations: 9.984 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.7859, allocations: 1.672 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.7859, allocations: 3.938 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.502e-05/0.7859, allocations: 83.98 kB / 0.7895 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7859, allocations: 0 / 0.7895 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002381/0.7862, allocations: 14.66 kB / 0.7896 GB, free: 47.31 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.7864, allocations: 122 kB / 0.7897 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.7866, allocations: 35.77 kB / 0.7897 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7866, allocations: 0 / 0.7897 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.7867, allocations: 22.88 kB / 0.7897 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.7869, allocations: 9.281 kB / 0.7897 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.7872, allocations: 129.7 kB / 0.7899 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.7873, allocations: 0.6757 MB / 0.7905 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.7874, allocations: 10.06 kB / 0.7905 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/0.7874, allocations: 0.5 kB / 0.7905 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.002181/0.7896, allocations: 0.7701 MB / 0.7913 GB, free: 46.39 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)