Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 103.1 kB / 16.27 MB, free: 5.914 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.001286/0.001286, allocations: 189.1 kB / 17.19 MB, free: 5.559 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.557/1.557, allocations: 205.1 MB / 223.1 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.762/1.762, allocations: 292.3 MB / 0.5495 GB, free: 17.42 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.001485/0.001485, allocations: 68.47 kB / 0.6721 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.291, allocations: 114.6 MB / 0.784 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002911/0.294, allocations: 1.419 MB / 0.7854 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005522/0.2946, allocations: 244.1 kB / 0.7856 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.2946, allocations: 0 / 0.7856 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.2947, allocations: 7.938 kB / 0.7856 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.2947, allocations: 11.91 kB / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.2951, allocations: 51.89 kB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.422e-05/0.2952, allocations: 15.94 kB / 0.7857 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.2953, allocations: 15.98 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.2953, allocations: 7.938 kB / 0.7857 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.2954, allocations: 15.97 kB / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.2954, allocations: 0 / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.2955, allocations: 59.89 kB / 0.7858 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.2956, allocations: 3.938 kB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.2956, allocations: 11.98 kB / 0.7858 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.2957, allocations: 51.86 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2957, allocations: 0 / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2958, allocations: 4 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2958, allocations: 0 / 0.7859 GB, free: 1.965 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005019/0.2963, allocations: 347.7 kB / 0.7862 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2963, allocations: 8.031 kB / 0.7862 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.2964, allocations: 4.938 kB / 0.7862 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.2965, allocations: 164.4 kB / 0.7864 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2965, allocations: 384 / 0.7864 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.2965, allocations: 8.312 kB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.2967, allocations: 50.25 kB / 0.7864 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2967, allocations: 4.172 kB / 0.7864 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2968, allocations: 3.938 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2968, allocations: 0 / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.2969, allocations: 27.97 kB / 0.7865 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.2973, allocations: 252.8 kB / 0.7867 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.2974, allocations: 50.44 kB / 0.7868 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.2975, allocations: 20.91 kB / 0.7868 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007188/0.2983, allocations: 457.5 kB / 0.7872 GB, free: 356 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.2983, allocations: 30.56 kB / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2983, allocations: 0 / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003726/0.2987, allocations: 85.55 kB / 0.7873 GB, free: 224 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.2987, allocations: 51.41 kB / 0.7874 GB, free: 160 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.2988, allocations: 101.9 kB / 0.7875 GB, free: 48 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2988, allocations: 29.7 kB / 0.7875 GB, free: 12 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.4825/0.7814, allocations: 83.14 kB / 0.7876 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.7814, allocations: 4.625 kB / 0.7876 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.7815, allocations: 15.62 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.7816, allocations: 312.7 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.7817, allocations: 15.67 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.207e-05/0.7818, allocations: 17.2 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.782, allocations: 40.58 kB / 0.788 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.782, allocations: 0 / 0.788 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002111/0.7822, allocations: 70.55 kB / 0.788 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.7822, allocations: 5.438 kB / 0.788 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7822, allocations: 1.031 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.7823, allocations: 0 / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.7824, allocations: 11.88 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.7824, allocations: 0.5 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.7824, allocations: 8.062 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.7825, allocations: 3.453 kB / 0.7881 GB, free: 48.44 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 (2): * Single equations (assignments): 2 * 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.58e-05/0.7825, allocations: 110.1 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.7826, allocations: 5.75 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.7828, allocations: 72.86 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.7828, allocations: 3.938 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7828, allocations: 2.75 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7828, allocations: 1.25 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.783, allocations: 158.7 kB / 0.7884 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.783, allocations: 0 / 0.7884 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.783, allocations: 15.28 kB / 0.7884 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.783, allocations: 0 / 0.7884 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.7831, allocations: 6.031 kB / 0.7884 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.7831, allocations: 7.812 kB / 0.7884 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7831, allocations: 2.719 kB / 0.7884 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.7833, allocations: 161.5 kB / 0.7886 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.7833, allocations: 83.78 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.7833, allocations: 2.5 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.7834, allocations: 10.19 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.7834, allocations: 3.438 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.7835, allocations: 0 / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.471e-05/0.7835, allocations: 83.94 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7835, allocations: 0 / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002578/0.7838, allocations: 19.72 kB / 0.7888 GB, free: 47.8 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 (2): * Single equations (assignments): 2 * 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.0001912/0.784, allocations: 114.4 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.7842, allocations: 42.77 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7842, allocations: 0 / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.7843, allocations: 20.14 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.7845, allocations: 6.719 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.7848, allocations: 130.2 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.7849, allocations: 0.6749 MB / 0.7897 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.7849, allocations: 10.84 kB / 0.7898 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.7849, allocations: 1.281 kB / 0.7898 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.002339/0.7873, allocations: 0.7668 MB / 0.7905 GB, free: 46.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)