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.001307/0.001307, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001195/0.001195, allocations: 194.2 kB / 16.13 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 281.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9374/0.9374, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 91.62 kB / 0.5945 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1759, allocations: 86.98 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002495/0.1785, allocations: 1.496 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005232/0.179, allocations: 249.6 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.1791, allocations: 0 / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.1791, allocations: 4.594 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.045e-05/0.1791, allocations: 8.625 kB / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.1794, allocations: 43.89 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.903e-05/0.1795, allocations: 24.8 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.1796, allocations: 4.688 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.1796, allocations: 7.984 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.3e-05/0.1796, allocations: 13.3 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.1797, allocations: 0 / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1798, allocations: 63.89 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.1798, allocations: 4 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.1799, allocations: 23.84 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.18, allocations: 43.94 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.18, allocations: 0 / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.18, allocations: 0 / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.18, allocations: 0 / 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.0004059/0.1804, allocations: 347.8 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1805, allocations: 8.031 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.1805, allocations: 8.844 kB / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1806, allocations: 168.4 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1806, allocations: 4.375 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.1806, allocations: 4.375 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1808, allocations: 50.17 kB / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1808, allocations: 192 / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1808, allocations: 7.938 kB / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1809, allocations: 0 / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.181, allocations: 31.97 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.1813, allocations: 245 kB / 0.6822 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1814, allocations: 38.5 kB / 0.6822 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.062e-05/0.1815, allocations: 20.91 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/0.1821, allocations: 465.4 kB / 0.6827 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1822, allocations: 34.56 kB / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1822, allocations: 0 / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003269/0.1825, allocations: 85.72 kB / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.1826, allocations: 55.41 kB / 0.6829 GB, free: 13.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.1826, allocations: 101.8 kB / 0.683 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.1826, allocations: 25.7 kB / 0.683 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.1827, allocations: 84.05 kB / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.1827, allocations: 4 kB / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.1827, allocations: 13.72 kB / 0.6831 GB, free: 13.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1829, allocations: 310.9 kB / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.1829, allocations: 27.91 kB / 0.6834 GB, free: 12.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.183, allocations: 15.98 kB / 0.6834 GB, free: 12.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.1832, allocations: 40.77 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1832, allocations: 0 / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.1834, allocations: 73.56 kB / 0.6835 GB, free: 12.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1834, allocations: 8 kB / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1834, allocations: 0 / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1834, allocations: 0 / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.1835, allocations: 7.984 kB / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1835, allocations: 4 kB / 0.6835 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.1836, allocations: 3.938 kB / 0.6836 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.1836, allocations: 11.88 kB / 0.6836 GB, free: 12.64 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.515e-05/0.1836, allocations: 123.1 kB / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1837, allocations: 0 / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.1839, allocations: 68.78 kB / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1839, allocations: 0 / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.184, allocations: 4 kB / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.184, allocations: 0 / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1842, allocations: 161.6 kB / 0.6839 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1842, allocations: 4.016 kB / 0.6839 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.1843, allocations: 12 kB / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1843, allocations: 0 / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1843, allocations: 0 / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1843, allocations: 0 / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1843, allocations: 0 / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1845, allocations: 167.4 kB / 0.6841 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.1846, allocations: 85 kB / 0.6842 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.1846, allocations: 4 kB / 0.6842 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.1847, allocations: 8 kB / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.1847, allocations: 3.984 kB / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.1847, allocations: 0 / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.24e-05/0.1847, allocations: 79.28 kB / 0.6842 GB, free: 11.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1847, allocations: 0 / 0.6842 GB, free: 11.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.185, allocations: 12 kB / 0.6843 GB, free: 11.82 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.0001881/0.1852, allocations: 123.3 kB / 0.6844 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1854, allocations: 39.91 kB / 0.6844 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1854, allocations: 0 / 0.6844 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.296e-05/0.1855, allocations: 24.03 kB / 0.6844 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.1857, allocations: 3.938 kB / 0.6844 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.186, allocations: 111.2 kB / 0.6845 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.1862, allocations: 0.6731 MB / 0.6852 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.231e-05/0.1862, allocations: 3.984 kB / 0.6852 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.1862, allocations: 19.38 kB / 0.6852 GB, free: 10.77 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1862, allocations: 4.062 kB / 0.6852 GB, free: 10.76 MB / 494.1 MB Notification: Performance of Templates: time 0.002496/0.1887, allocations: 0.5874 MB / 0.6858 GB, free: 10.18 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)