Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000911/0.0009111, allocations: 100.9 kB / 16.29 MB, free: 6.008 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.0008726/0.0008727, allocations: 180.8 kB / 17.22 MB, free: 5.617 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.194/1.194, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.561/1.561, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001372/0.001373, allocations: 67.91 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1911, allocations: 114.5 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001487/0.1927, allocations: 0.5825 MB / 0.7846 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003914/0.1931, allocations: 183.4 kB / 0.7848 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-06/0.1931, allocations: 3.938 kB / 0.7848 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.1931, allocations: 4 kB / 0.7848 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.338e-06/0.1931, allocations: 0 / 0.7848 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.1934, allocations: 51.84 kB / 0.7849 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.782e-05/0.1934, allocations: 7.984 kB / 0.7849 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.1935, allocations: 3.984 kB / 0.7849 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.061e-05/0.1935, allocations: 0 / 0.7849 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.526e-05/0.1935, allocations: 4 kB / 0.7849 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-06/0.1935, allocations: 0 / 0.7849 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1937, allocations: 47.95 kB / 0.7849 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.974e-06/0.1937, allocations: 7.938 kB / 0.7849 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.091e-05/0.1937, allocations: 4 kB / 0.7849 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.927e-05/0.1938, allocations: 31.94 kB / 0.785 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1938, allocations: 0 / 0.785 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1938, allocations: 7.938 kB / 0.785 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.1938, allocations: 0 / 0.785 GB, free: 2.883 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00023/0.194, allocations: 318.7 kB / 0.7853 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1941, allocations: 8.031 kB / 0.7853 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.1941, allocations: 4.938 kB / 0.7853 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.557e-05/0.1942, allocations: 168.3 kB / 0.7855 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1942, allocations: 384 / 0.7855 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-06/0.1942, allocations: 4.375 kB / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.746e-05/0.1943, allocations: 26.27 kB / 0.7855 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1943, allocations: 4.172 kB / 0.7855 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1943, allocations: 3.938 kB / 0.7855 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1943, allocations: 4 kB / 0.7855 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.487e-05/0.1943, allocations: 3.938 kB / 0.7855 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.1944, allocations: 145.7 kB / 0.7856 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.468e-05/0.1945, allocations: 26.61 kB / 0.7857 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.191e-05/0.1945, allocations: 4.859 kB / 0.7857 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005621/0.1951, allocations: 453.5 kB / 0.7861 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.1951, allocations: 30.56 kB / 0.7861 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1951, allocations: 4 kB / 0.7861 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 9.598e-05/0.1952, allocations: 41.58 kB / 0.7862 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.1952, allocations: 51.41 kB / 0.7862 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.126e-05/0.1953, allocations: 89.86 kB / 0.7863 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.1953, allocations: 25.7 kB / 0.7863 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.026e-05/0.1953, allocations: 80.14 kB / 0.7864 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.1953, allocations: 11.89 kB / 0.7864 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.1954, allocations: 9.719 kB / 0.7864 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.1954, allocations: 319 kB / 0.7867 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.1955, allocations: 0 / 0.7867 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.1955, allocations: 4 kB / 0.7867 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/0.1955, allocations: 4.859 kB / 0.7868 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1955, allocations: 0 / 0.7868 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.204e-05/0.1955, allocations: 37.64 kB / 0.7868 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1956, allocations: 10.8 kB / 0.7868 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.1956, allocations: 0 / 0.7868 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1956, allocations: 4.031 kB / 0.7868 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.933e-05/0.1956, allocations: 8 kB / 0.7868 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.1956, allocations: 0 / 0.7868 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-06/0.1956, allocations: 0 / 0.7868 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.1956, allocations: 0 / 0.7868 GB, free: 0.7031 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 (1): * Single equations (assignments): 1 * 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.124e-05/0.1957, allocations: 109.8 kB / 0.7869 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-06/0.1957, allocations: 0 / 0.7869 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.1958, allocations: 52.62 kB / 0.787 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1958, allocations: 7.922 kB / 0.787 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1958, allocations: 4.031 kB / 0.787 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.1958, allocations: 0 / 0.787 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.764e-05/0.1959, allocations: 141.7 kB / 0.7871 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1959, allocations: 0 / 0.7871 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.1959, allocations: 4 kB / 0.7871 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1959, allocations: 0 / 0.7871 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1959, allocations: 7.922 kB / 0.7871 GB, free: 324 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1959, allocations: 0 / 0.7871 GB, free: 324 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1959, allocations: 0 / 0.7871 GB, free: 324 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.033e-05/0.196, allocations: 61.14 kB / 0.7872 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.196, allocations: 77.39 kB / 0.7873 GB, free: 148 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-06/0.196, allocations: 3.938 kB / 0.7873 GB, free: 144 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.164e-05/0.196, allocations: 7.984 kB / 0.7873 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.196, allocations: 3.938 kB / 0.7873 GB, free: 132 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-06/0.1961, allocations: 0 / 0.7873 GB, free: 132 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.114e-05/0.1961, allocations: 75.28 kB / 0.7873 GB, free: 56 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.1961, allocations: 0 / 0.7873 GB, free: 56 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001735/0.1963, allocations: 16 kB / 0.7874 GB, free: 40 kB / 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 (1): * Single equations (assignments): 1 * 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.2783/0.4746, allocations: 126.5 kB / 0.7875 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.504e-05/0.4747, allocations: 2.656 kB / 0.7875 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4747, allocations: 0 / 0.7875 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.503e-06/0.4747, allocations: 2.562 kB / 0.7875 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.4749, allocations: 4.094 kB / 0.7875 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.4751, allocations: 72.56 kB / 0.7876 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.136e-05/0.4752, allocations: 0.6764 MB / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.318e-05/0.4752, allocations: 1.875 kB / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.073e-05/0.4752, allocations: 7.438 kB / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.4752, allocations: 0 / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.002171/0.4774, allocations: 409.5 kB / 0.7886 GB, free: 48.02 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)