Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.001221, allocations: 99.92 kB / 16.27 MB, free: 6.418 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.001158/0.001159, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.569/1.569, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.815/1.815, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001998/0.001998, allocations: 74.23 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3035, allocations: 114.5 MB / 0.784 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002889/0.3064, allocations: 1.43 MB / 0.7854 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005655/0.307, allocations: 256 kB / 0.7857 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.307, allocations: 0 / 0.7857 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.3071, allocations: 3.938 kB / 0.7857 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.178e-05/0.3071, allocations: 0 / 0.7857 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.3075, allocations: 59.83 kB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.3076, allocations: 19.92 kB / 0.7857 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.3077, allocations: 11.98 kB / 0.7858 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.3078, allocations: 7.984 kB / 0.7858 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.3078, allocations: 15.94 kB / 0.7858 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.3078, allocations: 0 / 0.7858 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.308, allocations: 63.88 kB / 0.7858 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.308, allocations: 0 / 0.7858 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.308, allocations: 15.92 kB / 0.7858 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.3082, allocations: 55.86 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3082, allocations: 3.938 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3082, allocations: 0 / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3082, allocations: 0 / 0.7859 GB, free: 1.961 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.0004817/0.3087, allocations: 347.7 kB / 0.7862 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3087, allocations: 12.03 kB / 0.7862 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.3088, allocations: 0.9375 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.3089, allocations: 164.4 kB / 0.7864 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3089, allocations: 384 / 0.7864 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.3089, allocations: 4.375 kB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3091, allocations: 54.17 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3092, allocations: 4.172 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3092, allocations: 3.938 kB / 0.7865 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3092, allocations: 4 kB / 0.7865 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.3094, allocations: 31.97 kB / 0.7865 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.3097, allocations: 245 kB / 0.7867 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3099, allocations: 42.44 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.3099, allocations: 24.91 kB / 0.7868 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007395/0.3107, allocations: 453.5 kB / 0.7872 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.3107, allocations: 34.56 kB / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.3107, allocations: 4 kB / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003696/0.3111, allocations: 81.55 kB / 0.7873 GB, free: 224 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.3112, allocations: 55.41 kB / 0.7874 GB, free: 156 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.249e-05/0.3113, allocations: 105.8 kB / 0.7875 GB, free: 40 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.3113, allocations: 25.7 kB / 0.7875 GB, free: 8 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.4587/0.7701, allocations: 80.69 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.7702, allocations: 7.688 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.7702, allocations: 15.62 kB / 0.7876 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.7703, allocations: 320.7 kB / 0.7879 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.7704, allocations: 13.36 kB / 0.7879 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.796e-05/0.7705, allocations: 18.77 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.7707, allocations: 35.78 kB / 0.788 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7707, allocations: 0.6875 kB / 0.788 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000232/0.7709, allocations: 70.78 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.771, allocations: 6.75 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.771, allocations: 0 / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.771, allocations: 0.7812 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.7711, allocations: 13.86 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.7712, allocations: 0 / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.7712, allocations: 9.047 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.7712, allocations: 1.219 kB / 0.7881 GB, free: 48.42 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 6.54e-05/0.7713, allocations: 107.5 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.7713, allocations: 6.406 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.7716, allocations: 77.66 kB / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.7716, allocations: 7.156 kB / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7716, allocations: 0 / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.7716, allocations: 0 / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.7717, allocations: 166.4 kB / 0.7884 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7717, allocations: 0 / 0.7884 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-05/0.7718, allocations: 9.109 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.7718, allocations: 1.125 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.7718, allocations: 3.094 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7718, allocations: 3.938 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.7718, allocations: 1.938 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.772, allocations: 166.3 kB / 0.7886 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.7721, allocations: 77.11 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.7721, allocations: 2.312 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.7722, allocations: 14.53 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.7722, allocations: 2.688 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.7722, allocations: 3.062 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.318e-05/0.7723, allocations: 81.91 kB / 0.7888 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.133e-06/0.7723, allocations: 0 / 0.7888 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002634/0.7726, allocations: 24.36 kB / 0.7888 GB, free: 47.78 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.0001989/0.7728, allocations: 120.7 kB / 0.7889 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.773, allocations: 33.72 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.773, allocations: 4.25 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.7731, allocations: 19.25 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.7734, allocations: 5.219 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.7737, allocations: 123.6 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.7738, allocations: 0.6748 MB / 0.7898 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.7738, allocations: 11.31 kB / 0.7898 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.7738, allocations: 0 / 0.7898 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.002578/0.7764, allocations: 0.7761 MB / 0.7905 GB, free: 46.86 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)