Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.006126/0.006125, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001339/0.001339, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.243/1.243, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 251.7 MB / 0.5094 GB, free: 3.035 MB / 414.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.001324/0.001324, allocations: 71.91 kB / 0.7258 GB, free: 9.074 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.19, allocations: 104.7 MB / 0.8281 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001579/0.1916, allocations: 0.5749 MB / 0.8286 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004358/0.192, allocations: 199.5 kB / 0.8288 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.156e-05/0.192, allocations: 0 / 0.8288 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.1921, allocations: 0 / 0.8288 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.1921, allocations: 0 / 0.8288 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.1925, allocations: 51.84 kB / 0.8289 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.541e-05/0.1925, allocations: 0 / 0.8289 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.1925, allocations: 3.984 kB / 0.8289 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.342e-05/0.1926, allocations: 4 kB / 0.8289 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.059e-05/0.1926, allocations: 7.984 kB / 0.8289 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.53e-06/0.1926, allocations: 3.938 kB / 0.8289 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.1928, allocations: 55.89 kB / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.893e-06/0.1928, allocations: 0 / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.293e-05/0.1928, allocations: 0 / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.1929, allocations: 35.94 kB / 0.829 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1929, allocations: 4 kB / 0.829 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1929, allocations: 0 / 0.829 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1929, allocations: 0 / 0.829 GB, free: 15.34 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.0002858/0.1932, allocations: 315.6 kB / 0.8293 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1933, allocations: 12.03 kB / 0.8293 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.1933, allocations: 8.844 kB / 0.8293 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.1934, allocations: 160.4 kB / 0.8295 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1934, allocations: 384 / 0.8295 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.1934, allocations: 384 / 0.8295 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.747e-05/0.1935, allocations: 30.2 kB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1935, allocations: 192 / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1935, allocations: 7.938 kB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1935, allocations: 0 / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.837e-05/0.1935, allocations: 7.984 kB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.1937, allocations: 145.7 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.025e-05/0.1937, allocations: 18.61 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.1938, allocations: 4.859 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006572/0.1944, allocations: 465.5 kB / 0.8301 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.1944, allocations: 30.56 kB / 0.8301 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1945, allocations: 0 / 0.8301 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.1946, allocations: 33.64 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1946, allocations: 55.34 kB / 0.8302 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.472e-05/0.1947, allocations: 93.86 kB / 0.8303 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.1947, allocations: 25.7 kB / 0.8303 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.1947, allocations: 84.27 kB / 0.8304 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.1947, allocations: 7.938 kB / 0.8304 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.1948, allocations: 13.7 kB / 0.8304 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.1949, allocations: 314.8 kB / 0.8307 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.1949, allocations: 4 kB / 0.8307 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-06/0.1949, allocations: 3.938 kB / 0.8307 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.16e-05/0.1949, allocations: 8.859 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1949, allocations: 4 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.566e-05/0.195, allocations: 37.75 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.195, allocations: 4 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.195, allocations: 0 / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.195, allocations: 7.922 kB / 0.8308 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.1951, allocations: 4 kB / 0.8308 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1951, allocations: 0 / 0.8308 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-06/0.1951, allocations: 0 / 0.8308 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1951, allocations: 0 / 0.8308 GB, free: 13.15 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 6.555e-05/0.1952, allocations: 105.8 kB / 0.8309 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.1952, allocations: 11.97 kB / 0.8309 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.356e-05/0.1953, allocations: 44.75 kB / 0.831 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1953, allocations: 0 / 0.831 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1953, allocations: 0 / 0.831 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1953, allocations: 0 / 0.831 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.263e-05/0.1954, allocations: 145.7 kB / 0.8311 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1954, allocations: 0 / 0.8311 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.1954, allocations: 4 kB / 0.8311 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1954, allocations: 0 / 0.8311 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1954, allocations: 3.938 kB / 0.8311 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1954, allocations: 4.031 kB / 0.8311 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1954, allocations: 3.984 kB / 0.8311 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.965e-05/0.1955, allocations: 61.08 kB / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.1955, allocations: 77.11 kB / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.1956, allocations: 3.938 kB / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/0.1956, allocations: 0 / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.1956, allocations: 7.922 kB / 0.8313 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.1956, allocations: 8.031 kB / 0.8313 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.192e-05/0.1956, allocations: 75.28 kB / 0.8313 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1956, allocations: 0 / 0.8313 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001819/0.1958, allocations: 12 kB / 0.8314 GB, free: 12.48 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 (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.0001857/0.196, allocations: 115.2 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.484e-05/0.1961, allocations: 11.98 kB / 0.8315 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1961, allocations: 0 / 0.8315 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-06/0.1961, allocations: 7.938 kB / 0.8315 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1962, allocations: 9.219 kB / 0.8315 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001675/0.1964, allocations: 76.98 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1966, allocations: 0.6766 MB / 0.8322 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.287e-05/0.1966, allocations: 7.984 kB / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.1967, allocations: 7.438 kB / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.1967, allocations: 4.125 kB / 0.8322 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.002118/0.1988, allocations: 404.5 kB / 0.8326 GB, free: 11.12 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)