Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001604/0.001604, allocations: 191.9 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 291 kB / 290.2 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9452/0.9452, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 96.7 kB / 0.5945 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1714, allocations: 86.99 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002355/0.1738, allocations: 1.485 MB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004926/0.1743, allocations: 258.1 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.1743, allocations: 0 / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.1743, allocations: 3.984 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.265e-05/0.1744, allocations: 11.94 kB / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1747, allocations: 49.52 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.649e-05/0.1747, allocations: 23.92 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.303e-05/0.1748, allocations: 4 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.1748, allocations: 4 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.25e-05/0.1749, allocations: 11.92 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1749, allocations: 4 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.175, allocations: 67.86 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.175, allocations: 8 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.1751, allocations: 11.92 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.1752, allocations: 51.86 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1752, allocations: 0 / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1752, allocations: 0 / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1752, allocations: 4 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB 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.0003912/0.1756, allocations: 343.8 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.1757, allocations: 8.031 kB / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.1757, allocations: 4.844 kB / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.506e-05/0.1758, allocations: 172.4 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1758, allocations: 384 / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-06/0.1758, allocations: 8.312 kB / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.176, allocations: 46.23 kB / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.176, allocations: 192 / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.176, allocations: 7.938 kB / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.176, allocations: 0 / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.1762, allocations: 31.97 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.1765, allocations: 249 kB / 0.6822 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.1766, allocations: 42.44 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.599e-05/0.1767, allocations: 20.84 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007016/0.1774, allocations: 465.5 kB / 0.6827 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.1774, allocations: 30.56 kB / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1774, allocations: 0 / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003307/0.1778, allocations: 85.64 kB / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.1778, allocations: 55.34 kB / 0.6829 GB, free: 13.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/0.1779, allocations: 105.8 kB / 0.683 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.1779, allocations: 25.7 kB / 0.683 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.178, allocations: 88.05 kB / 0.6831 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.178, allocations: 3.938 kB / 0.6831 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.178, allocations: 13.72 kB / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.1781, allocations: 323 kB / 0.6834 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-05/0.1782, allocations: 11.98 kB / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.1783, allocations: 15.98 kB / 0.6834 GB, free: 12.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1784, allocations: 36.83 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1784, allocations: 0 / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001931/0.1786, allocations: 77.56 kB / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1786, allocations: 7.938 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1787, allocations: 0 / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1787, allocations: 0 / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.1787, allocations: 11.98 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1788, allocations: 0 / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.1788, allocations: 11.92 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1788, allocations: 0 / 0.6836 GB, free: 12.63 MB / 494.1 MB 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.457e-05/0.1789, allocations: 119.1 kB / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.1789, allocations: 4 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1792, allocations: 64.78 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1792, allocations: 0 / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1792, allocations: 0 / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1792, allocations: 4 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.1793, allocations: 161.6 kB / 0.6839 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1793, allocations: 8.031 kB / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.1794, allocations: 11.94 kB / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1794, allocations: 3.984 kB / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1794, allocations: 0 / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1794, allocations: 4 kB / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1794, allocations: 0 / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.1796, allocations: 163.5 kB / 0.6841 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.1797, allocations: 81.02 kB / 0.6842 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.1797, allocations: 0 / 0.6842 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.1798, allocations: 8 kB / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.1798, allocations: 3.984 kB / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1798, allocations: 3.938 kB / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.012e-05/0.1799, allocations: 79.28 kB / 0.6843 GB, free: 11.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.1799, allocations: 0 / 0.6843 GB, free: 11.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1801, allocations: 19.94 kB / 0.6843 GB, free: 11.81 MB / 494.1 MB 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.0001759/0.1803, allocations: 123.2 kB / 0.6844 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.1805, allocations: 39.89 kB / 0.6844 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1805, allocations: 0 / 0.6844 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/0.1806, allocations: 24.05 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.1808, allocations: 7.938 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.1811, allocations: 107.8 kB / 0.6846 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1814, allocations: 0.677 MB / 0.6852 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.152e-05/0.1814, allocations: 3.984 kB / 0.6852 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.1814, allocations: 11.5 kB / 0.6853 GB, free: 10.76 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1814, allocations: 0 / 0.6853 GB, free: 10.76 MB / 494.1 MB Notification: Performance of Templates: time 0.002514/0.1839, allocations: 0.5961 MB / 0.6858 GB, free: 10.16 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)