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.001364/0.001364, allocations: 110.1 kB / 16.36 MB, free: 5.992 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.001513/0.001513, allocations: 193.3 kB / 17.3 MB, free: 5.598 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.358/1.358, 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.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.66 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.002362/0.002362, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2228, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001848/0.2246, allocations: 0.5864 MB / 0.7854 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004608/0.2251, allocations: 191.3 kB / 0.7855 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-06/0.2251, allocations: 0 / 0.7855 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.868e-06/0.2252, allocations: 4 kB / 0.7855 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-06/0.2252, allocations: 0 / 0.7855 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.2256, allocations: 55.83 kB / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.304e-05/0.2256, allocations: 0 / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.2257, allocations: 7.984 kB / 0.7856 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.391e-05/0.2257, allocations: 7.938 kB / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.679e-05/0.2257, allocations: 0 / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.931e-06/0.2257, allocations: 0 / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.2259, allocations: 59.88 kB / 0.7857 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-06/0.2259, allocations: 0 / 0.7857 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.438e-05/0.2259, allocations: 0 / 0.7857 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.226, allocations: 39.94 kB / 0.7857 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2261, allocations: 0 / 0.7857 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2261, allocations: 4 kB / 0.7857 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2261, allocations: 0 / 0.7857 GB, free: 2.234 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.0002613/0.2263, allocations: 319.6 kB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2264, allocations: 8.031 kB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.2264, allocations: 0.9375 kB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.615e-05/0.2265, allocations: 168.3 kB / 0.7862 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2265, allocations: 4.375 kB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.2265, allocations: 384 / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.66e-05/0.2266, allocations: 34.25 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.2266, allocations: 4.125 kB / 0.7862 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2266, allocations: 3.938 kB / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2267, allocations: 0 / 0.7862 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.2267, allocations: 4 kB / 0.7862 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.2268, allocations: 149.6 kB / 0.7864 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.984e-05/0.2269, allocations: 26.55 kB / 0.7864 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.285e-05/0.2269, allocations: 4.859 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007551/0.2276, allocations: 457.5 kB / 0.7868 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.2277, allocations: 30.56 kB / 0.7869 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2277, allocations: 0 / 0.7869 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.2278, allocations: 45.62 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.2279, allocations: 55.53 kB / 0.787 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.592e-05/0.2279, allocations: 89.86 kB / 0.7871 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.2279, allocations: 29.64 kB / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.228, allocations: 80.14 kB / 0.7872 GB, free: 468 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.228, allocations: 3.906 kB / 0.7872 GB, free: 464 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.228, allocations: 13.72 kB / 0.7872 GB, free: 444 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2281, allocations: 314.8 kB / 0.7875 GB, free: 120 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.2282, allocations: 0 / 0.7875 GB, free: 120 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.2282, allocations: 4 kB / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.2282, allocations: 12.84 kB / 0.7875 GB, free: 100 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2282, allocations: 0 / 0.7875 GB, free: 100 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.055e-05/0.2283, allocations: 29.7 kB / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2283, allocations: 8 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2283, allocations: 0 / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2283, allocations: 3.938 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.901e-05/0.2284, allocations: 3.938 kB / 0.7875 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2284, allocations: 96 / 0.7875 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.988e-06/0.2284, allocations: 4 kB / 0.7875 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.2284, allocations: 4 kB / 0.7875 GB, free: 40 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.3093/0.5377, allocations: 109.5 kB / 0.7877 GB, free: 49.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.851e-05/0.5378, allocations: 0 / 0.7877 GB, free: 49.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.5379, allocations: 37.06 kB / 0.7877 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5379, allocations: 0 / 0.7877 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5379, allocations: 1.375 kB / 0.7877 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5379, allocations: 1.641 kB / 0.7877 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.371e-05/0.538, allocations: 148.7 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.538, allocations: 0 / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.656e-05/0.538, allocations: 2.625 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.538, allocations: 2.062 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.538, allocations: 3.719 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.538, allocations: 4.562 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.538, allocations: 6.375 kB / 0.7879 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.05e-05/0.5381, allocations: 55.08 kB / 0.7879 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.5381, allocations: 81.06 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.5381, allocations: 0.7812 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.5382, allocations: 3.5 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.5382, allocations: 4.594 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.5382, allocations: 1.969 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.055e-05/0.5382, allocations: 77 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5382, allocations: 0 / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002348/0.5384, allocations: 18.14 kB / 0.7881 GB, free: 48.73 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.0001615/0.5386, allocations: 118.2 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.5387, allocations: 10.81 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5387, allocations: 0 / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.981e-06/0.5387, allocations: 3.938 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.5388, allocations: 5.812 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001265/0.539, allocations: 71.84 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.819e-05/0.5391, allocations: 0.6715 MB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.062e-05/0.5391, allocations: 1.188 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.5391, allocations: 16.86 kB / 0.789 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.5391, allocations: 2.625 kB / 0.789 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.002042/0.5411, allocations: 409.7 kB / 0.7893 GB, free: 47.86 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)