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.00123/0.00123, allocations: 114.1 kB / 16.37 MB, free: 6.012 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.001453/0.001454, allocations: 187 kB / 17.31 MB, free: 5.609 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.537/1.537, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.948/1.948, allocations: 292.3 MB / 0.5496 GB, free: 17.7 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.002905/0.002905, allocations: 82.73 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2824, allocations: 114.5 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002422/0.2849, allocations: 0.5899 MB / 0.7854 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005799/0.2855, allocations: 195.3 kB / 0.7856 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.553e-05/0.2855, allocations: 0 / 0.7856 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.2856, allocations: 0 / 0.7856 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.2856, allocations: 0 / 0.7856 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.2861, allocations: 51.84 kB / 0.7856 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.2861, allocations: 0 / 0.7856 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.004e-05/0.2862, allocations: 7.984 kB / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.657e-05/0.2862, allocations: 0 / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.759e-05/0.2863, allocations: 0 / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2863, allocations: 3.984 kB / 0.7856 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.2865, allocations: 55.95 kB / 0.7857 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.2865, allocations: 3.938 kB / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.2866, allocations: 0 / 0.7857 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.2867, allocations: 39.94 kB / 0.7857 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2867, allocations: 7.938 kB / 0.7857 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2867, allocations: 0 / 0.7857 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2867, allocations: 0 / 0.7857 GB, free: 2.238 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.0003716/0.2871, allocations: 319.6 kB / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2872, allocations: 8.031 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.2872, allocations: 0.9375 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2873, allocations: 160.4 kB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.2874, allocations: 4.312 kB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2874, allocations: 384 / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.2875, allocations: 34.27 kB / 0.7862 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2875, allocations: 192 / 0.7862 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2875, allocations: 3.938 kB / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2875, allocations: 0 / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/0.2876, allocations: 7.922 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.2877, allocations: 149.7 kB / 0.7864 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.661e-05/0.2878, allocations: 18.56 kB / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.2878, allocations: 8.953 kB / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008592/0.2887, allocations: 457.5 kB / 0.7868 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.2887, allocations: 30.56 kB / 0.7869 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2887, allocations: 0 / 0.7869 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001795/0.2889, allocations: 41.58 kB / 0.7869 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.289, allocations: 55.53 kB / 0.787 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.21e-05/0.289, allocations: 89.86 kB / 0.787 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.2891, allocations: 25.7 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.2891, allocations: 84.14 kB / 0.7872 GB, free: 488 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.2892, allocations: 3.906 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.2892, allocations: 17.7 kB / 0.7872 GB, free: 460 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2894, allocations: 310.8 kB / 0.7875 GB, free: 140 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.2894, allocations: 0 / 0.7875 GB, free: 140 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-06/0.2894, allocations: 4 kB / 0.7875 GB, free: 136 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.2894, allocations: 8.859 kB / 0.7875 GB, free: 124 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2894, allocations: 0 / 0.7875 GB, free: 124 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.016e-05/0.2895, allocations: 37.64 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.2896, allocations: 8 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2896, allocations: 0 / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.2896, allocations: 11.86 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.707e-05/0.2897, allocations: 0 / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.2897, allocations: 0 / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.097e-05/0.2897, allocations: 4.094 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2897, allocations: 4 kB / 0.7875 GB, free: 52 kB / 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 0.5758/0.8655, allocations: 105.8 kB / 0.7876 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.8656, allocations: 0 / 0.7876 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.8657, allocations: 42.36 kB / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.8658, allocations: 0.5312 kB / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.8658, allocations: 0.9375 kB / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8658, allocations: 0 / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.8659, allocations: 145.1 kB / 0.7878 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.8659, allocations: 1.625 kB / 0.7878 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.8659, allocations: 4.016 kB / 0.7878 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.866, allocations: 2.375 kB / 0.7878 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.866, allocations: 1 kB / 0.7878 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.866, allocations: 0 / 0.7878 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.866, allocations: 8.688 kB / 0.7878 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.324e-05/0.8661, allocations: 62.77 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.8661, allocations: 77.11 kB / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.8661, allocations: 2.312 kB / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-06/0.8661, allocations: 0.7188 kB / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.8661, allocations: 7.859 kB / 0.788 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.8662, allocations: 2.656 kB / 0.788 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.14e-05/0.8662, allocations: 75.28 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8662, allocations: 0 / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002819/0.8665, allocations: 13.94 kB / 0.7881 GB, free: 48.06 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.0002552/0.8667, allocations: 117.4 kB / 0.7882 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.104e-05/0.8668, allocations: 5.625 kB / 0.7882 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8668, allocations: 1.875 kB / 0.7882 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.655e-06/0.8668, allocations: 3.656 kB / 0.7882 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.867, allocations: 10.94 kB / 0.7882 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.8672, allocations: 101.5 kB / 0.7883 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.8673, allocations: 0.6697 MB / 0.789 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.8673, allocations: 17.28 kB / 0.789 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.8674, allocations: 6.359 kB / 0.789 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.00179/0.8691, allocations: 0.5509 MB / 0.7895 GB, free: 47.16 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)