Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 288.4 MB / 303.6 MB, free: 8.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 187.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.4 MB / 0.631 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007188/0.0007189, allocations: 94.36 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003555, allocations: 16.09 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001194/0.1652, allocations: 1.145 MB / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003636/0.1656, allocations: 224.3 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.952e-05/0.1656, allocations: 0 / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.1656, allocations: 0 / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.1657, allocations: 3.938 kB / 0.9815 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.1659, allocations: 51.88 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.566e-05/0.166, allocations: 19.94 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.832e-05/0.1661, allocations: 7.984 kB / 0.9815 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.1661, allocations: 8 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.941e-05/0.1661, allocations: 3.984 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.1662, allocations: 7.938 kB / 0.9816 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.1663, allocations: 59.89 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-06/0.1663, allocations: 7.922 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.1663, allocations: 33.69 kB / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.857e-05/0.1664, allocations: 35.95 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1664, allocations: 0 / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/0.1664, allocations: 0 / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.1664, allocations: 3.938 kB / 0.9817 GB, free: 25.71 MB / 0.6198 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.0003126/0.1668, allocations: 347.7 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1668, allocations: 12.03 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.1668, allocations: 0.9375 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.606e-05/0.1669, allocations: 164.4 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1669, allocations: 4.375 kB / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.1669, allocations: 8.375 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1671, allocations: 50.23 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1671, allocations: 192 / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1671, allocations: 7.938 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1671, allocations: 0 / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1673, allocations: 43.97 kB / 0.9823 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.1675, allocations: 252.9 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.1676, allocations: 50.44 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.732e-05/0.1677, allocations: 24.91 kB / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/0.1682, allocations: 465.4 kB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.1682, allocations: 30.56 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1682, allocations: 0 / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003116/0.1686, allocations: 109.5 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.623e-05/0.1686, allocations: 51.41 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.203e-05/0.1686, allocations: 93.86 kB / 0.9833 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.1686, allocations: 29.7 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.02e-05/0.1687, allocations: 84.12 kB / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.1687, allocations: 7.906 kB / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.1687, allocations: 128 / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.1687, allocations: 318.8 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.1688, allocations: 15.98 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/0.1689, allocations: 23.98 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.169, allocations: 52.88 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.169, allocations: 0 / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001692/0.1692, allocations: 85.53 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1692, allocations: 4 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1692, allocations: 4 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1693, allocations: 0 / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.1693, allocations: 8 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1694, allocations: 3.984 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.1694, allocations: 8.031 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.1694, allocations: 7.938 kB / 0.984 GB, free: 23.07 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.1695, allocations: 115.1 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1695, allocations: 4 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.1697, allocations: 88.7 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1697, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1697, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1697, allocations: 4 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.943e-05/0.1698, allocations: 161.5 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1698, allocations: 0 / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.1699, allocations: 11.98 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1699, allocations: 0 / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1699, allocations: 0 / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1699, allocations: 11.97 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1699, allocations: 0 / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1701, allocations: 180.2 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.1701, allocations: 81.14 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-06/0.1701, allocations: 3.938 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.209e-05/0.1702, allocations: 11.98 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.1703, allocations: 0 / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.1703, allocations: 0 / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.839e-05/0.1703, allocations: 87.27 kB / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1703, allocations: 0 / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002276/0.1705, allocations: 12 kB / 0.9847 GB, free: 22.22 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.1707, allocations: 119.2 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.1709, allocations: 47.97 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1709, allocations: 0 / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.816e-05/0.171, allocations: 23.98 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.1712, allocations: 7.938 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.1714, allocations: 112.8 kB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.765e-05/0.1715, allocations: 0.677 MB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.988e-05/0.1715, allocations: 4 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.1715, allocations: 7.438 kB / 0.9857 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1715, allocations: 0 / 0.9857 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.002101/0.1736, allocations: 0.5874 MB / 0.9862 GB, free: 20.59 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)