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.001477/0.001477, allocations: 103.6 kB / 16.27 MB, free: 6.414 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.001645/0.001645, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.538/1.538, 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.77/1.77, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001431/0.001431, allocations: 71.91 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2836, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002164/0.2859, allocations: 0.5747 MB / 0.7846 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005252/0.2864, allocations: 191.4 kB / 0.7848 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.552e-05/0.2865, allocations: 0 / 0.7848 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.2865, allocations: 0 / 0.7848 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.2865, allocations: 0 / 0.7848 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.287, allocations: 51.84 kB / 0.7848 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.429e-05/0.287, allocations: 0 / 0.7848 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.2871, allocations: 0 / 0.7848 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.2871, allocations: 7.938 kB / 0.7848 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.509e-05/0.2871, allocations: 3.984 kB / 0.7848 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.2871, allocations: 4 kB / 0.7848 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.2873, allocations: 59.88 kB / 0.7849 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.2873, allocations: 0 / 0.7849 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.2874, allocations: 0 / 0.7849 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.2875, allocations: 35.94 kB / 0.7849 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2875, allocations: 4 kB / 0.7849 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2875, allocations: 0 / 0.7849 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.2875, allocations: 0 / 0.7849 GB, free: 2.922 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.0003995/0.2879, allocations: 315.6 kB / 0.7852 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.288, allocations: 12.03 kB / 0.7853 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.288, allocations: 4.938 kB / 0.7853 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2882, allocations: 164.3 kB / 0.7854 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.2882, allocations: 384 / 0.7854 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.2882, allocations: 4.359 kB / 0.7854 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.2883, allocations: 26.27 kB / 0.7854 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2884, allocations: 192 / 0.7854 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.2884, allocations: 7.938 kB / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2884, allocations: 3.938 kB / 0.7855 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.2884, allocations: 0 / 0.7855 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.2886, allocations: 157.6 kB / 0.7856 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.912e-05/0.2887, allocations: 22.55 kB / 0.7856 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.2887, allocations: 4.859 kB / 0.7856 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008395/0.2895, allocations: 461.5 kB / 0.7861 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.2896, allocations: 30.56 kB / 0.7861 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.2896, allocations: 0 / 0.7861 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001675/0.2897, allocations: 33.64 kB / 0.7861 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.2898, allocations: 51.41 kB / 0.7862 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.181e-05/0.2899, allocations: 89.86 kB / 0.7863 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.2899, allocations: 29.64 kB / 0.7863 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.2899, allocations: 84.14 kB / 0.7864 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.29, allocations: 12.03 kB / 0.7864 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.29, allocations: 13.7 kB / 0.7864 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2902, allocations: 310.8 kB / 0.7867 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.2902, allocations: 4 kB / 0.7867 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-06/0.2902, allocations: 0 / 0.7867 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.871e-05/0.2902, allocations: 4.859 kB / 0.7867 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2902, allocations: 4 kB / 0.7867 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.334e-05/0.2903, allocations: 37.77 kB / 0.7867 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2903, allocations: 4 kB / 0.7868 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2903, allocations: 0 / 0.7868 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2904, allocations: 7.938 kB / 0.7868 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.2904, allocations: 11.92 kB / 0.7868 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2904, allocations: 0 / 0.7868 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-06/0.2905, allocations: 0 / 0.7868 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.2905, allocations: 0 / 0.7868 GB, free: 0.7305 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 7.927e-05/0.2905, allocations: 105.8 kB / 0.7869 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.2906, allocations: 8.031 kB / 0.7869 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.478e-05/0.2907, allocations: 40.77 kB / 0.7869 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2907, allocations: 3.984 kB / 0.7869 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2907, allocations: 0 / 0.7869 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2907, allocations: 0 / 0.7869 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.2908, allocations: 141.7 kB / 0.7871 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.2908, allocations: 0 / 0.7871 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-05/0.2908, allocations: 4 kB / 0.7871 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2908, allocations: 0 / 0.7871 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2908, allocations: 7.875 kB / 0.7871 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2909, allocations: 4.031 kB / 0.7871 GB, free: 364 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2909, allocations: 3.938 kB / 0.7871 GB, free: 360 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.511e-05/0.2909, allocations: 61.12 kB / 0.7871 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.291, allocations: 81.33 kB / 0.7872 GB, free: 180 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.291, allocations: 3.938 kB / 0.7872 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-06/0.291, allocations: 0 / 0.7872 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.2911, allocations: 0 / 0.7872 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.2911, allocations: 0 / 0.7872 GB, free: 176 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.2911, allocations: 87.3 kB / 0.7873 GB, free: 88 kB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.2911, allocations: 0 / 0.7873 GB, free: 88 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002222/0.2913, allocations: 12 kB / 0.7873 GB, free: 76 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.4322/0.7236, allocations: 113.1 kB / 0.7874 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.7238, allocations: 5.75 kB / 0.7874 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7238, allocations: 0.5312 kB / 0.7874 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/0.7238, allocations: 7.438 kB / 0.7874 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.724, allocations: 5.672 kB / 0.7874 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.7243, allocations: 99.69 kB / 0.7875 GB, free: 49.28 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.7244, allocations: 0.6699 MB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.7244, allocations: 8.531 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.7245, allocations: 0 / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of Templates: time 0.00203/0.7265, allocations: 0.5527 MB / 0.7887 GB, free: 48.58 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)