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.0009649/0.000965, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009024/0.0009024, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.126/1.126, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.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.478/1.478, allocations: 292.2 MB / 0.5485 GB, free: 13.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.001235/0.001235, allocations: 69.81 kB / 0.671 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.17, allocations: 114.6 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002314/0.1724, allocations: 1.489 MB / 0.7843 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000438/0.1728, allocations: 253.1 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.1729, allocations: 0 / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.1729, allocations: 0 / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.173, allocations: 3.938 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1733, allocations: 43.97 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.595e-05/0.1733, allocations: 19.92 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.518e-05/0.1734, allocations: 12 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.206e-05/0.1734, allocations: 11.97 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.593e-05/0.1735, allocations: 7.938 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.534e-06/0.1735, allocations: 4 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1736, allocations: 67.88 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.1736, allocations: 4 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.1736, allocations: 11.92 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1737, allocations: 55.8 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.1738, allocations: 0 / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1738, allocations: 4 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.1738, allocations: 3.938 kB / 0.7848 GB, free: 11.95 MB / 0.6075 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.0003621/0.1741, allocations: 351.7 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.1742, allocations: 8.031 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.1742, allocations: 0.9375 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.1743, allocations: 168.4 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.1743, allocations: 384 / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-06/0.1743, allocations: 384 / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1745, allocations: 54.23 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1745, allocations: 192 / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1745, allocations: 3.938 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1745, allocations: 0 / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.1747, allocations: 35.91 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.1749, allocations: 248.9 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.175, allocations: 42.5 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.1751, allocations: 20.91 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/0.1756, allocations: 457.5 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1757, allocations: 34.56 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.1757, allocations: 0 / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002921/0.176, allocations: 81.58 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.176, allocations: 51.41 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/0.1761, allocations: 97.98 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1761, allocations: 37.64 kB / 0.7864 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.1761, allocations: 84.12 kB / 0.7865 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.1761, allocations: 7.906 kB / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.1762, allocations: 13.72 kB / 0.7865 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.1763, allocations: 310.8 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.251e-05/0.1763, allocations: 15.98 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.1764, allocations: 23.97 kB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1765, allocations: 36.77 kB / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1766, allocations: 0 / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001668/0.1767, allocations: 73.59 kB / 0.7869 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.1767, allocations: 4 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1768, allocations: 0 / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1768, allocations: 4.094 kB / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.1768, allocations: 11.98 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1769, allocations: 0 / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.1769, allocations: 8 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.1769, allocations: 0 / 0.787 GB, free: 9.387 MB / 0.6075 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 5.552e-05/0.177, allocations: 113.8 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.177, allocations: 4.172 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.1772, allocations: 80.7 kB / 0.7872 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1772, allocations: 4 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1772, allocations: 3.938 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1772, allocations: 0 / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.1773, allocations: 169.4 kB / 0.7873 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1774, allocations: 0 / 0.7873 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.1774, allocations: 7.984 kB / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1774, allocations: 4 kB / 0.7873 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.1774, allocations: 0 / 0.7873 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1774, allocations: 4.031 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1774, allocations: 0 / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.1776, allocations: 167.4 kB / 0.7875 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.1777, allocations: 77.11 kB / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.1777, allocations: 3.984 kB / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.1777, allocations: 4 kB / 0.7876 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.1778, allocations: 4.031 kB / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.1778, allocations: 4 kB / 0.7876 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.1778, allocations: 91.2 kB / 0.7877 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1778, allocations: 0 / 0.7877 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002122/0.1781, allocations: 16 kB / 0.7877 GB, free: 8.543 MB / 0.6075 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.0001565/0.1782, allocations: 115.2 kB / 0.7878 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1784, allocations: 31.97 kB / 0.7878 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1784, allocations: 4 kB / 0.7878 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.1785, allocations: 23.91 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.1787, allocations: 7.938 kB / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/0.1789, allocations: 113.6 kB / 0.788 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.1791, allocations: 0.6729 MB / 0.7886 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.943e-05/0.1791, allocations: 3.906 kB / 0.7886 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.1791, allocations: 7.438 kB / 0.7886 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.1791, allocations: 0 / 0.7886 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of Templates: time 0.00215/0.1813, allocations: 0.601 MB / 0.7892 GB, free: 6.906 MB / 0.6075 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)