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.001045/0.001045, allocations: 102.7 kB / 16.29 MB, free: 6.434 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.001045/0.001045, allocations: 187.5 kB / 17.22 MB, free: 5.93 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.236/1.236, allocations: 205.1 MB / 223.1 MB, free: 12.35 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.645/1.645, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001402/0.001402, allocations: 63.91 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.199, allocations: 114.6 MB / 0.7841 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002381/0.2014, allocations: 1.43 MB / 0.7855 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004365/0.2019, allocations: 244.1 kB / 0.7857 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.2019, allocations: 0 / 0.7857 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.202, allocations: 4 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.195e-05/0.202, allocations: 7.922 kB / 0.7857 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.2023, allocations: 55.83 kB / 0.7858 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.071e-05/0.2024, allocations: 19.98 kB / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.408e-05/0.2024, allocations: 4 kB / 0.7858 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.175e-05/0.2025, allocations: 8 kB / 0.7858 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.299e-05/0.2025, allocations: 15.91 kB / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.2025, allocations: 7.938 kB / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.2027, allocations: 59.94 kB / 0.7859 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.2027, allocations: 4 kB / 0.7859 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.2027, allocations: 7.938 kB / 0.7859 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.2028, allocations: 47.86 kB / 0.7859 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2028, allocations: 4 kB / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2028, allocations: 0 / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.2028, allocations: 3.938 kB / 0.7859 GB, free: 1.977 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.0003865/0.2032, allocations: 347.7 kB / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.2033, allocations: 8.031 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.2033, allocations: 8.922 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.627e-05/0.2034, allocations: 164.4 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.2034, allocations: 384 / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.2034, allocations: 384 / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.2036, allocations: 50.23 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2036, allocations: 4.172 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2036, allocations: 3.938 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2036, allocations: 0 / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.2037, allocations: 35.97 kB / 0.7865 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.204, allocations: 252.9 kB / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.2041, allocations: 42.44 kB / 0.7868 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.2042, allocations: 24.89 kB / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/0.2048, allocations: 453.5 kB / 0.7873 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.2048, allocations: 30.56 kB / 0.7873 GB, free: 332 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2048, allocations: 4 kB / 0.7873 GB, free: 328 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000291/0.2051, allocations: 89.48 kB / 0.7874 GB, free: 232 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.2051, allocations: 51.41 kB / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.674e-05/0.2052, allocations: 101.8 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2052, allocations: 25.7 kB / 0.7876 GB, free: 24 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.3072/0.5124, allocations: 82.52 kB / 0.7876 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.5125, allocations: 6.531 kB / 0.7876 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.5125, allocations: 13.66 kB / 0.7877 GB, free: 49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.659e-05/0.5125, allocations: 315.8 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.92e-05/0.5127, allocations: 18.44 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.5127, allocations: 16.09 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.5128, allocations: 38.05 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5129, allocations: 0 / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001626/0.513, allocations: 75.95 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.513, allocations: 5.25 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.5131, allocations: 3.031 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5131, allocations: 0 / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.5131, allocations: 10.22 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.5132, allocations: 2.625 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.856e-05/0.5132, allocations: 5.953 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.5132, allocations: 0 / 0.7881 GB, free: 48.65 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 3.916e-05/0.5133, allocations: 111.5 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.5133, allocations: 5.75 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.5135, allocations: 73.67 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5135, allocations: 5.875 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5135, allocations: 0 / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5135, allocations: 3.312 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.5136, allocations: 163 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5136, allocations: 0 / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.5137, allocations: 9.266 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5137, allocations: 2.625 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.5137, allocations: 0.8438 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5137, allocations: 3.938 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.5137, allocations: 2.219 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.5138, allocations: 162.7 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.5139, allocations: 77.11 kB / 0.7887 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.5139, allocations: 0 / 0.7887 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.377e-05/0.5139, allocations: 16.03 kB / 0.7887 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.514, allocations: 1.312 kB / 0.7887 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.514, allocations: 2.625 kB / 0.7887 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.941e-05/0.514, allocations: 85.08 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.514, allocations: 0.5312 kB / 0.7888 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002214/0.5142, allocations: 16.62 kB / 0.7888 GB, free: 48.01 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.0001405/0.5144, allocations: 120.8 kB / 0.7889 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.5146, allocations: 39.06 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.5146, allocations: 0 / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.446e-05/0.5146, allocations: 21.78 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.5149, allocations: 6.562 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001909/0.5151, allocations: 104.2 kB / 0.7891 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.852e-05/0.5151, allocations: 0.6779 MB / 0.7898 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.715e-05/0.5152, allocations: 2.688 kB / 0.7898 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.5152, allocations: 10.91 kB / 0.7898 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.5152, allocations: 0 / 0.7898 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.002198/0.5174, allocations: 0.6476 MB / 0.7904 GB, free: 47.13 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)