Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001472/0.001472, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 196 kB / 16.53 MB, free: 6.391 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 291.1 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9445/0.9445, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 98.09 kB / 0.5952 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1678, allocations: 86.98 MB / 0.6802 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.003397/0.1713, allocations: 1.425 MB / 0.6816 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006303/0.1719, allocations: 246.3 kB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.172, allocations: 0 / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.1721, allocations: 3.938 kB / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.1721, allocations: 4.812 kB / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.1726, allocations: 52.59 kB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.1727, allocations: 23.88 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1728, allocations: 8.609 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.387e-05/0.1728, allocations: 5.938 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.629e-05/0.1729, allocations: 15.92 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1729, allocations: 4 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1731, allocations: 59.88 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.1731, allocations: 7.984 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.1731, allocations: 11.94 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1733, allocations: 47.92 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1733, allocations: 0 / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1733, allocations: 0 / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1734, allocations: 0 / 0.682 GB, free: 14.8 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.0005454/0.1739, allocations: 343.8 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.174, allocations: 12.03 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.174, allocations: 8.781 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1742, allocations: 164.4 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1742, allocations: 20.31 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.1742, allocations: 384 / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1744, allocations: 54.22 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1744, allocations: 192 / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1744, allocations: 3.938 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1744, allocations: 0 / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.1746, allocations: 31.97 kB / 0.6826 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.175, allocations: 249 kB / 0.6829 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1752, allocations: 46.38 kB / 0.6829 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-05/0.1753, allocations: 16.91 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007331/0.176, allocations: 461.5 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1761, allocations: 30.56 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.1761, allocations: 0 / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003764/0.1765, allocations: 85.67 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.1765, allocations: 59.34 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.1766, allocations: 101.8 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1766, allocations: 25.7 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.1767, allocations: 84.14 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1767, allocations: 3.906 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1768, allocations: 13.72 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1769, allocations: 314.8 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.177, allocations: 19.97 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.1771, allocations: 15.98 kB / 0.6841 GB, free: 12.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1772, allocations: 36.83 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1772, allocations: 0 / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002123/0.1774, allocations: 77.59 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1775, allocations: 4 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1775, allocations: 0 / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1775, allocations: 0 / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.1776, allocations: 11.98 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1776, allocations: 0 / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.1777, allocations: 11.92 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1777, allocations: 0 / 0.6842 GB, free: 12.22 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 9.118e-05/0.1778, allocations: 119.1 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.1778, allocations: 7.938 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.1781, allocations: 68.78 kB / 0.6844 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1781, allocations: 0 / 0.6844 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1781, allocations: 0 / 0.6844 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1781, allocations: 4 kB / 0.6844 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1783, allocations: 161.6 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1783, allocations: 3.938 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.1784, allocations: 8.031 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1784, allocations: 0 / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1784, allocations: 4 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1784, allocations: 0 / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1784, allocations: 3.984 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.1787, allocations: 155.5 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.1787, allocations: 89.03 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1787, allocations: 4 kB / 0.6848 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.1788, allocations: 8 kB / 0.6849 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1789, allocations: 7.922 kB / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1789, allocations: 4 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.759e-05/0.1789, allocations: 79.45 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1789, allocations: 0 / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1792, allocations: 16 kB / 0.685 GB, free: 11.39 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.0002689/0.1795, allocations: 131.2 kB / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1797, allocations: 31.97 kB / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1797, allocations: 0 / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.1798, allocations: 20.03 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.1801, allocations: 16 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.1804, allocations: 101.6 kB / 0.6852 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1807, allocations: 0.6729 MB / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.783e-05/0.1808, allocations: 7.984 kB / 0.6859 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.1808, allocations: 11.38 kB / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1808, allocations: 0 / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of Templates: time 0.0035/0.1843, allocations: 0.6568 MB / 0.6866 GB, free: 9.688 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)