Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.782/1.782, allocations: 287.5 MB / 302.6 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.001319, allocations: 170.8 kB / 371.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008402/0.0008401, allocations: 99.77 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 21.59 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2003, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006039/0.2009, allocations: 327.4 kB / 0.979 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003487/0.2013, allocations: 163.7 kB / 0.9792 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.1e-05/0.2013, allocations: 0 / 0.9792 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.072e-05/0.2013, allocations: 0 / 0.9792 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/0.2013, allocations: 0 / 0.9792 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.2017, allocations: 39.91 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.264e-05/0.2017, allocations: 3.984 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.2017, allocations: 0 / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.302e-05/0.2018, allocations: 8 kB / 0.9792 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.258e-05/0.2018, allocations: 4 kB / 0.9792 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.752e-06/0.2018, allocations: 3.938 kB / 0.9792 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.202, allocations: 59.83 kB / 0.9793 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.254e-06/0.202, allocations: 0 / 0.9793 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.202, allocations: 25.7 kB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.178e-05/0.2021, allocations: 27.95 kB / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2021, allocations: 0 / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2021, allocations: 0 / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.2021, allocations: 0 / 0.9793 GB, free: 27.54 MB / 0.6198 GB 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.0002048/0.2023, allocations: 319.6 kB / 0.9796 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2024, allocations: 12.03 kB / 0.9796 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.2024, allocations: 0.9375 kB / 0.9796 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.325e-05/0.2024, allocations: 160.4 kB / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2025, allocations: 4.375 kB / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.2025, allocations: 384 / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.507e-05/0.2026, allocations: 34.25 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2026, allocations: 192 / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.2026, allocations: 7.938 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2026, allocations: 4 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.2026, allocations: 3.938 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.981e-05/0.2027, allocations: 141.7 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.111e-05/0.2028, allocations: 18.61 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.216e-05/0.2028, allocations: 4.859 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005654/0.2034, allocations: 461.5 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.2034, allocations: 30.56 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2034, allocations: 0 / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001108/0.2035, allocations: 37.58 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.2035, allocations: 59.39 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.659e-05/0.2036, allocations: 93.86 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.2036, allocations: 29.83 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-06/0.2036, allocations: 80.14 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.2036, allocations: 7.844 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.2036, allocations: 0 / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.2037, allocations: 310.8 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.505e-06/0.2037, allocations: 0 / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-06/0.2037, allocations: 7.938 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.899e-05/0.2037, allocations: 4.922 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2037, allocations: 4 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.428e-05/0.2038, allocations: 45.62 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2038, allocations: 4 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2038, allocations: 3.984 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2038, allocations: 3.938 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.62e-05/0.2039, allocations: 4 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2039, allocations: 0 / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.056e-05/0.2039, allocations: 0 / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.2039, allocations: 0 / 0.9811 GB, free: 25.37 MB / 0.6198 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 (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 3.895e-05/0.2039, allocations: 113.9 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.204, allocations: 0 / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.204, allocations: 48.69 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.204, allocations: 0 / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.204, allocations: 0 / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2041, allocations: 0 / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.763e-05/0.2041, allocations: 145.7 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2041, allocations: 0 / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.2041, allocations: 4 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2041, allocations: 8.016 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.2041, allocations: 3.938 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.2041, allocations: 0 / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2042, allocations: 0 / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.485e-05/0.2042, allocations: 57.14 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.2042, allocations: 77.39 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.2042, allocations: 7.922 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-06/0.2043, allocations: 4 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-06/0.2043, allocations: 4.031 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.2043, allocations: 0 / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.109e-05/0.2043, allocations: 79.22 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2043, allocations: 0 / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000221/0.2045, allocations: 12 kB / 0.9817 GB, free: 24.72 MB / 0.6198 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 (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.0001712/0.2047, allocations: 123.2 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.821e-05/0.2048, allocations: 0 / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2048, allocations: 3.938 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-06/0.2048, allocations: 4 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.2049, allocations: 9.766 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001317/0.2051, allocations: 78.77 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.053e-05/0.2052, allocations: 0.6731 MB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.234e-05/0.2052, allocations: 128 / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.031e-05/0.2052, allocations: 11.44 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2052, allocations: 0 / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of Templates: time 0.001971/0.2072, allocations: 400.6 kB / 0.9829 GB, free: 23.37 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)