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.001237/0.001237, allocations: 113.8 kB / 16.37 MB, free: 5.535 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.001132/0.001132, allocations: 186.4 kB / 17.3 MB, free: 5.188 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.622/1.622, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.811/1.811, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001469/0.001469, allocations: 71.91 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2688, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001851/0.2707, allocations: 0.5849 MB / 0.7854 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004641/0.2712, allocations: 203.3 kB / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.352e-05/0.2712, allocations: 0 / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.2713, allocations: 0 / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.2713, allocations: 0 / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.2716, allocations: 51.81 kB / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.892e-05/0.2717, allocations: 8 kB / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.2717, allocations: 0 / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.256e-05/0.2718, allocations: 0 / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.094e-05/0.2718, allocations: 0 / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.702e-06/0.2718, allocations: 0 / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.272, allocations: 67.86 kB / 0.7857 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.272, allocations: 0 / 0.7857 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.272, allocations: 4 kB / 0.7857 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.2721, allocations: 35.94 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.2721, allocations: 0 / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.058e-06/0.2721, allocations: 4 kB / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2722, allocations: 7.938 kB / 0.7857 GB, free: 2.184 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.0003248/0.2725, allocations: 315.6 kB / 0.786 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2725, allocations: 8.031 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.2726, allocations: 0.9375 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2727, allocations: 172.3 kB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2727, allocations: 384 / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.2727, allocations: 384 / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.2728, allocations: 34.2 kB / 0.7862 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2728, allocations: 192 / 0.7862 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2728, allocations: 7.938 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2729, allocations: 4 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.2729, allocations: 0 / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.273, allocations: 145.7 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.2731, allocations: 18.61 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.2731, allocations: 8.859 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007422/0.2739, allocations: 457.5 kB / 0.7869 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.2739, allocations: 38.5 kB / 0.7869 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2739, allocations: 4 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.2741, allocations: 37.64 kB / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.2741, allocations: 51.53 kB / 0.787 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.15e-05/0.2741, allocations: 97.84 kB / 0.7871 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.2742, allocations: 25.7 kB / 0.7871 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.2742, allocations: 80.14 kB / 0.7872 GB, free: 424 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.2742, allocations: 3.906 kB / 0.7872 GB, free: 420 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.2743, allocations: 13.72 kB / 0.7872 GB, free: 400 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.2744, allocations: 310.8 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.2744, allocations: 0 / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-06/0.2744, allocations: 4 kB / 0.7875 GB, free: 76 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.548e-05/0.2744, allocations: 16.86 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2744, allocations: 0 / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.647e-05/0.2745, allocations: 33.69 kB / 0.7875 GB, free: 16 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2745, allocations: 8 kB / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2745, allocations: 0 / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2745, allocations: 3.938 kB / 0.7876 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.869e-05/0.2746, allocations: 0 / 0.7876 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5061/0.7807, allocations: 4.516 kB / 0.7876 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.934e-05/0.7808, allocations: 0 / 0.7876 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.7808, allocations: 1.469 kB / 0.7876 GB, free: 48.71 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.381e-05/0.7809, allocations: 109.8 kB / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.7809, allocations: 0.7812 kB / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.781, allocations: 47 kB / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.7811, allocations: 0 / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7811, allocations: 0 / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.7811, allocations: 4 kB / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.102e-05/0.7812, allocations: 143 kB / 0.7879 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7812, allocations: 0.9844 kB / 0.7879 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.7812, allocations: 2.344 kB / 0.7879 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.7812, allocations: 0 / 0.7879 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.7812, allocations: 5.828 kB / 0.7879 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.7812, allocations: 0 / 0.7879 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7813, allocations: 2 kB / 0.7879 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.663e-05/0.7813, allocations: 62.91 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.7814, allocations: 78.33 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.7814, allocations: 6.312 kB / 0.788 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-06/0.7814, allocations: 0 / 0.788 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.7814, allocations: 0.5 kB / 0.788 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.7814, allocations: 3.688 kB / 0.788 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.8e-05/0.7814, allocations: 75.28 kB / 0.7881 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7814, allocations: 0 / 0.7881 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002584/0.7817, allocations: 22.17 kB / 0.7881 GB, free: 48.15 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.0001961/0.7819, allocations: 113.7 kB / 0.7882 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.236e-05/0.782, allocations: 6.188 kB / 0.7882 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.782, allocations: 1.094 kB / 0.7882 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.622e-06/0.782, allocations: 3.062 kB / 0.7882 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.7822, allocations: 12.53 kB / 0.7882 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.7824, allocations: 99.62 kB / 0.7883 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.7825, allocations: 0.6716 MB / 0.789 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.7825, allocations: 7.438 kB / 0.789 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7825, allocations: 0 / 0.789 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.001948/0.7845, allocations: 0.5634 MB / 0.7895 GB, free: 47.25 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)