Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001173/0.001173, allocations: 184 kB / 17.22 MB, free: 5.934 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.21/1.21, 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.593/1.593, allocations: 292.3 MB / 0.5495 GB, free: 17.67 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.001298/0.001298, allocations: 71.03 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1898, allocations: 114.5 MB / 0.7841 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00153/0.1914, allocations: 0.5902 MB / 0.7847 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003923/0.1918, allocations: 191.4 kB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.005e-05/0.1918, allocations: 3.938 kB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.1918, allocations: 0 / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-06/0.1919, allocations: 0 / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.1922, allocations: 63.06 kB / 0.7849 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.202e-05/0.1922, allocations: 0 / 0.7849 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.1923, allocations: 3.938 kB / 0.7849 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.229e-05/0.1923, allocations: 4 kB / 0.7849 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.531e-05/0.1923, allocations: 0 / 0.7849 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.27e-06/0.1923, allocations: 4 kB / 0.7849 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.1924, allocations: 59.92 kB / 0.785 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.1925, allocations: 4 kB / 0.785 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.284e-05/0.1925, allocations: 0 / 0.785 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.838e-05/0.1926, allocations: 35.88 kB / 0.785 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1926, allocations: 0 / 0.785 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1926, allocations: 0 / 0.785 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1926, allocations: 0 / 0.785 GB, free: 2.938 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.0002477/0.1929, allocations: 323.6 kB / 0.7853 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.1929, allocations: 12.03 kB / 0.7853 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.1929, allocations: 4.938 kB / 0.7853 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.911e-05/0.193, allocations: 160.4 kB / 0.7855 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.193, allocations: 4.312 kB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.193, allocations: 384 / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.186e-05/0.1931, allocations: 34.25 kB / 0.7855 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.1931, allocations: 192 / 0.7855 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.1931, allocations: 3.938 kB / 0.7855 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1931, allocations: 0 / 0.7855 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.1932, allocations: 7.875 kB / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.1933, allocations: 153.7 kB / 0.7857 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 2.858e-05/0.1933, allocations: 14.58 kB / 0.7857 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.1933, allocations: 4.859 kB / 0.7857 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/0.194, allocations: 461.5 kB / 0.7861 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.194, allocations: 34.56 kB / 0.7862 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.194, allocations: 0 / 0.7862 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001062/0.1941, allocations: 41.56 kB / 0.7862 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.1941, allocations: 51.41 kB / 0.7863 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.674e-05/0.1942, allocations: 89.86 kB / 0.7863 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.1942, allocations: 29.7 kB / 0.7864 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.1942, allocations: 84.14 kB / 0.7865 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1942, allocations: 8.031 kB / 0.7865 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.1943, allocations: 9.719 kB / 0.7865 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.382e-05/0.1944, allocations: 310.8 kB / 0.7868 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.1944, allocations: 4 kB / 0.7868 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-06/0.1944, allocations: 0 / 0.7868 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.123e-05/0.1944, allocations: 8.859 kB / 0.7868 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1944, allocations: 0 / 0.7868 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.556e-05/0.1945, allocations: 45.69 kB / 0.7868 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.1945, allocations: 4 kB / 0.7868 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1945, allocations: 4 kB / 0.7868 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1945, allocations: 3.938 kB / 0.7868 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.358e-05/0.1945, allocations: 4 kB / 0.7868 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.1945, allocations: 0 / 0.7868 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-06/0.1946, allocations: 0 / 0.7868 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.1946, allocations: 0 / 0.7868 GB, free: 0.7422 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.589e-05/0.1946, allocations: 109.8 kB / 0.7869 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.1946, allocations: 3.984 kB / 0.7869 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.1947, allocations: 44.73 kB / 0.787 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1947, allocations: 0 / 0.787 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1947, allocations: 0 / 0.787 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1947, allocations: 0 / 0.787 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.454e-05/0.1948, allocations: 149.7 kB / 0.7871 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1948, allocations: 0 / 0.7871 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.086e-05/0.1948, allocations: 4 kB / 0.7871 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1948, allocations: 7.875 kB / 0.7871 GB, free: 372 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.1948, allocations: 3.938 kB / 0.7871 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1949, allocations: 0 / 0.7871 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1949, allocations: 8.016 kB / 0.7872 GB, free: 360 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.413e-05/0.1949, allocations: 61.12 kB / 0.7872 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.195, allocations: 77.39 kB / 0.7873 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.195, allocations: 3.938 kB / 0.7873 GB, free: 180 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-06/0.195, allocations: 0 / 0.7873 GB, free: 180 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-06/0.195, allocations: 0 / 0.7873 GB, free: 180 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.195, allocations: 4 kB / 0.7873 GB, free: 176 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.963e-05/0.195, allocations: 83.25 kB / 0.7874 GB, free: 92 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.195, allocations: 0 / 0.7874 GB, free: 92 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001795/0.1952, allocations: 8 kB / 0.7874 GB, free: 84 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.284/0.4792, allocations: 117.3 kB / 0.7875 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.4794, allocations: 4.094 kB / 0.7875 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4794, allocations: 0 / 0.7875 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.755e-06/0.4794, allocations: 3.562 kB / 0.7875 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.4795, allocations: 10.92 kB / 0.7875 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001456/0.4797, allocations: 71.23 kB / 0.7876 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.622e-05/0.4798, allocations: 0.6726 MB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.159e-05/0.4798, allocations: 0 / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-06/0.4798, allocations: 8.469 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.4798, allocations: 0 / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.001983/0.4818, allocations: 413.5 kB / 0.7886 GB, free: 48.07 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)