Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007671/0.0007672, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008011/0.0008011, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001694, allocations: 274.9 kB / 291.4 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9279/0.9279, allocations: 169.5 MB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004829, allocations: 15.75 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1863, allocations: 88.54 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007872/0.1872, allocations: 307.3 kB / 0.6848 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000459/0.1876, allocations: 185.2 kB / 0.685 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.828e-06/0.1876, allocations: 0 / 0.685 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.1877, allocations: 0 / 0.685 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.073e-06/0.1877, allocations: 0 / 0.685 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.188, allocations: 44.95 kB / 0.685 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.71e-05/0.1881, allocations: 0 / 0.685 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.1881, allocations: 2 kB / 0.685 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.31e-05/0.1881, allocations: 4 kB / 0.685 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.874e-05/0.1882, allocations: 3.984 kB / 0.685 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.1882, allocations: 0 / 0.685 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.1884, allocations: 67.81 kB / 0.6851 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-06/0.1884, allocations: 2.438 kB / 0.6851 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.1884, allocations: 25.7 kB / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.587e-05/0.1885, allocations: 23.95 kB / 0.6851 GB, free: 14.78 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1885, allocations: 0 / 0.6851 GB, free: 14.78 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1885, allocations: 0 / 0.6851 GB, free: 14.78 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1886, allocations: 4 kB / 0.6851 GB, free: 14.77 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002956/0.1889, allocations: 315.9 kB / 0.6854 GB, free: 14.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1889, allocations: 9.219 kB / 0.6854 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.1889, allocations: 7.938 kB / 0.6855 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1891, allocations: 167 kB / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1891, allocations: 1.469 kB / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.1891, allocations: 0 / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1892, allocations: 33.64 kB / 0.6856 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1892, allocations: 0.75 kB / 0.6856 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1892, allocations: 0 / 0.6856 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1892, allocations: 2.781 kB / 0.6856 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.846e-05/0.1893, allocations: 0 / 0.6856 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.1894, allocations: 157.6 kB / 0.6858 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.053e-05/0.1895, allocations: 14.58 kB / 0.6858 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.1895, allocations: 8.953 kB / 0.6858 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007768/0.1903, allocations: 460.9 kB / 0.6863 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1903, allocations: 34.56 kB / 0.6863 GB, free: 13.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.1903, allocations: 0.5 kB / 0.6863 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.1905, allocations: 34.42 kB / 0.6863 GB, free: 13.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1905, allocations: 52.28 kB / 0.6864 GB, free: 13.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.378e-05/0.1906, allocations: 89.86 kB / 0.6865 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1906, allocations: 27.11 kB / 0.6865 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.1906, allocations: 80.14 kB / 0.6866 GB, free: 13.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1907, allocations: 0 / 0.6866 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.1907, allocations: 0 / 0.6866 GB, free: 13.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1908, allocations: 315.5 kB / 0.6869 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.1908, allocations: 12.61 kB / 0.6869 GB, free: 12.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.1908, allocations: 8.062 kB / 0.6869 GB, free: 12.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/0.1909, allocations: 3.938 kB / 0.6869 GB, free: 12.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1909, allocations: 0 / 0.6869 GB, free: 12.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.006e-05/0.1909, allocations: 33.7 kB / 0.6869 GB, free: 12.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.191, allocations: 4 kB / 0.6869 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.191, allocations: 0 / 0.6869 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.191, allocations: 0 / 0.6869 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.334e-05/0.191, allocations: 0 / 0.6869 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.191, allocations: 4 kB / 0.6869 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.041e-05/0.1911, allocations: 384 / 0.6869 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.1911, allocations: 4 kB / 0.6869 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 (1): * Single equations (assignments): 1 * 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 9.358e-05/0.1912, allocations: 114.4 kB / 0.687 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-06/0.1912, allocations: 0 / 0.687 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1913, allocations: 44.7 kB / 0.6871 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1913, allocations: 0 / 0.6871 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1913, allocations: 4 kB / 0.6871 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1913, allocations: 0 / 0.6871 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.1915, allocations: 153.5 kB / 0.6872 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1915, allocations: 7.969 kB / 0.6872 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/0.1915, allocations: 0 / 0.6872 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1915, allocations: 4 kB / 0.6872 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.1915, allocations: 0 / 0.6872 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1915, allocations: 0 / 0.6872 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1915, allocations: 0 / 0.6872 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.55e-05/0.1916, allocations: 61.06 kB / 0.6873 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.1917, allocations: 81.06 kB / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1917, allocations: 8.031 kB / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-06/0.1917, allocations: 0 / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.1917, allocations: 0 / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.1917, allocations: 4 kB / 0.6874 GB, free: 12.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.332e-05/0.1918, allocations: 75.28 kB / 0.6875 GB, free: 11.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1918, allocations: 0 / 0.6875 GB, free: 11.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.192, allocations: 12 kB / 0.6875 GB, free: 11.98 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 (1): * Single equations (assignments): 1 * 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.0002398/0.1922, allocations: 127.2 kB / 0.6876 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.103e-05/0.1923, allocations: 0 / 0.6876 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1923, allocations: 8 kB / 0.6876 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.209e-06/0.1923, allocations: 3.938 kB / 0.6876 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.1925, allocations: 1.891 kB / 0.6876 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002002/0.1927, allocations: 82.69 kB / 0.6877 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.1929, allocations: 0.6733 MB / 0.6883 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.177e-05/0.193, allocations: 0 / 0.6883 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.193, allocations: 7.438 kB / 0.6884 GB, free: 11.02 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.193, allocations: 0 / 0.6884 GB, free: 11.02 MB / 494.1 MB Notification: Performance of Templates: time 0.002634/0.1956, allocations: 410.2 kB / 0.6887 GB, free: 10.62 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)