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.00115/0.00115, allocations: 106 kB / 16.36 MB, free: 6 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.001162/0.001162, allocations: 193.4 kB / 17.3 MB, free: 5.602 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.345/1.345, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.65 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.001465/0.001466, allocations: 72.38 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2191, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002696/0.2218, allocations: 1.423 MB / 0.7862 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005149/0.2223, allocations: 236.1 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.2224, allocations: 4 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.2225, allocations: 0 / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.2225, allocations: 3.938 kB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.2229, allocations: 63.8 kB / 0.7865 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.223, allocations: 12 kB / 0.7865 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.2231, allocations: 15.98 kB / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.705e-05/0.2231, allocations: 7.938 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.841e-05/0.2232, allocations: 15.92 kB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.2232, allocations: 0 / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.2233, allocations: 55.95 kB / 0.7866 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.2234, allocations: 7.969 kB / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.2234, allocations: 11.94 kB / 0.7866 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.2235, allocations: 51.88 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2235, allocations: 3.938 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2235, allocations: 0 / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2236, allocations: 4 kB / 0.7866 GB, free: 1.281 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.0004632/0.224, allocations: 343.4 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2241, allocations: 12.03 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.2241, allocations: 4.938 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2242, allocations: 172.3 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.2243, allocations: 384 / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.2243, allocations: 4.375 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.2245, allocations: 54.23 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.2245, allocations: 4.125 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2245, allocations: 3.938 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2245, allocations: 0 / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.2247, allocations: 31.97 kB / 0.7872 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.225, allocations: 244.9 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.2251, allocations: 46.5 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.2252, allocations: 20.91 kB / 0.7875 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.373/0.5982, allocations: 450.8 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5983, allocations: 31.41 kB / 0.788 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 3.076e-06/0.5983, allocations: 0.9375 kB / 0.788 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003864/0.5987, allocations: 91.64 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.5987, allocations: 51.41 kB / 0.7881 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/0.5988, allocations: 99.59 kB / 0.7882 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.5988, allocations: 25.7 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.5988, allocations: 87.33 kB / 0.7883 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.5988, allocations: 6.938 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.5989, allocations: 13.97 kB / 0.7884 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.527e-05/0.5989, allocations: 314 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.599, allocations: 15.53 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.759e-05/0.5991, allocations: 20.64 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.5992, allocations: 39.14 kB / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5992, allocations: 0 / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001661/0.5994, allocations: 75.08 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5994, allocations: 6.344 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5994, allocations: 2.969 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5995, allocations: 0 / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.5996, allocations: 10.58 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5996, allocations: 0 / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.5996, allocations: 8.078 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.5996, allocations: 0 / 0.7888 GB, free: 47.8 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 7.262e-05/0.5997, allocations: 114.9 kB / 0.7889 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.5998, allocations: 3.141 kB / 0.7889 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.6, allocations: 76.06 kB / 0.789 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.6, allocations: 0 / 0.789 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6, allocations: 3.375 kB / 0.789 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6, allocations: 0 / 0.789 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.6001, allocations: 161 kB / 0.7892 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6001, allocations: 0 / 0.7892 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.6002, allocations: 8.891 kB / 0.7892 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6002, allocations: 2.688 kB / 0.7892 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.6002, allocations: 6.625 kB / 0.7892 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.6002, allocations: 0 / 0.7892 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6002, allocations: 0.6562 kB / 0.7892 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.6004, allocations: 174.3 kB / 0.7894 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.6004, allocations: 77.11 kB / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.6004, allocations: 0 / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.6005, allocations: 9.062 kB / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.6006, allocations: 0 / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.6006, allocations: 6.922 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.956e-05/0.6006, allocations: 87.66 kB / 0.7895 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6006, allocations: 0 / 0.7895 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002379/0.6008, allocations: 14.25 kB / 0.7895 GB, free: 47.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 (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.0001639/0.601, allocations: 115.9 kB / 0.7897 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.6012, allocations: 36.28 kB / 0.7897 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.6012, allocations: 0 / 0.7897 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.573e-05/0.6013, allocations: 27.47 kB / 0.7897 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.6015, allocations: 6.562 kB / 0.7897 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.6018, allocations: 97.03 kB / 0.7898 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.6019, allocations: 0.6753 MB / 0.7905 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.161e-05/0.602, allocations: 6.531 kB / 0.7905 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.602, allocations: 7.438 kB / 0.7905 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.602, allocations: 1.594 kB / 0.7905 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.002835/0.6048, allocations: 0.6519 MB / 0.7911 GB, free: 46.27 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)