Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008513/0.0008508, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009288/0.0009288, allocations: 168.7 kB / 15.95 MB, free: 204 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.306/1.306, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001731/0.001731, allocations: 271 kB / 291.4 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9053/0.9053, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004879, allocations: 16.19 kB / 0.598 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.187, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.0005944/0.1876, allocations: 308.1 kB / 0.6848 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004857/0.1881, allocations: 269.2 kB / 0.6851 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-06/0.1882, allocations: 0 / 0.6851 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.584e-06/0.1882, allocations: 0.7812 kB / 0.6851 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.1882, allocations: 0 / 0.6851 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1885, allocations: 70.2 kB / 0.6851 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.212e-05/0.1886, allocations: 4 kB / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.257e-05/0.1886, allocations: 0 / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.05e-05/0.1886, allocations: 0 / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.881e-05/0.1886, allocations: 0 / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-06/0.1887, allocations: 0 / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.1889, allocations: 133.8 kB / 0.6853 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-06/0.1889, allocations: 0 / 0.6853 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.189, allocations: 25.7 kB / 0.6853 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.1891, allocations: 43.92 kB / 0.6853 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1891, allocations: 3.938 kB / 0.6853 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1891, allocations: 0.5938 kB / 0.6853 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1891, allocations: 0.5625 kB / 0.6853 GB, free: 14.6 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.0002926/0.1894, allocations: 333.4 kB / 0.6856 GB, free: 14.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1894, allocations: 8.031 kB / 0.6856 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.1895, allocations: 0 / 0.6856 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.342e-05/0.1896, allocations: 163 kB / 0.6858 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1896, allocations: 4 kB / 0.6858 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-06/0.1896, allocations: 0.5625 kB / 0.6858 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.384e-05/0.1897, allocations: 34.41 kB / 0.6858 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1897, allocations: 1.188 kB / 0.6858 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1897, allocations: 0 / 0.6858 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1897, allocations: 0 / 0.6858 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.1897, allocations: 1.562 kB / 0.6858 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.1899, allocations: 149.6 kB / 0.686 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.325e-05/0.1899, allocations: 27.55 kB / 0.686 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.1899, allocations: 4.953 kB / 0.686 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006897/0.1906, allocations: 460.6 kB / 0.6865 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1907, allocations: 30.56 kB / 0.6865 GB, free: 13.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1907, allocations: 0 / 0.6865 GB, free: 13.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001173/0.1908, allocations: 47 kB / 0.6865 GB, free: 13.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.1908, allocations: 51.41 kB / 0.6866 GB, free: 13.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.258e-05/0.1909, allocations: 90.52 kB / 0.6867 GB, free: 12.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.1909, allocations: 27.39 kB / 0.6867 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.1909, allocations: 80.14 kB / 0.6868 GB, free: 12.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.191, allocations: 0 / 0.6868 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-06/0.191, allocations: 0 / 0.6868 GB, free: 12.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1911, allocations: 315.7 kB / 0.6871 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-06/0.1911, allocations: 4 kB / 0.6871 GB, free: 12.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-06/0.1911, allocations: 0.7188 kB / 0.6871 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.66e-05/0.1912, allocations: 4.625 kB / 0.6871 GB, free: 12.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1912, allocations: 1.562 kB / 0.6871 GB, free: 12.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.925e-05/0.1912, allocations: 37.69 kB / 0.6871 GB, free: 12.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1912, allocations: 4 kB / 0.6871 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1912, allocations: 0 / 0.6871 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1913, allocations: 4.438 kB / 0.6871 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.909e-05/0.1913, allocations: 224 / 0.6871 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1913, allocations: 8 kB / 0.6871 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.1913, allocations: 8.219 kB / 0.6871 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.1913, allocations: 0 / 0.6871 GB, free: 12.45 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 7.956e-05/0.1914, allocations: 110.5 kB / 0.6872 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-06/0.1914, allocations: 0 / 0.6872 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.538e-05/0.1915, allocations: 44.75 kB / 0.6873 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1915, allocations: 0 / 0.6873 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1916, allocations: 4 kB / 0.6873 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.1916, allocations: 4.031 kB / 0.6873 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.022e-05/0.1917, allocations: 149.5 kB / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1917, allocations: 0 / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.1917, allocations: 3.984 kB / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1917, allocations: 4 kB / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.1917, allocations: 0 / 0.6874 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1917, allocations: 3.938 kB / 0.6875 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1917, allocations: 0 / 0.6875 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.313e-05/0.1918, allocations: 57.14 kB / 0.6875 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.1918, allocations: 89.05 kB / 0.6876 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.1919, allocations: 3.984 kB / 0.6876 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-06/0.1919, allocations: 0 / 0.6876 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.1919, allocations: 3.938 kB / 0.6876 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.1919, allocations: 0 / 0.6876 GB, free: 11.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.618e-05/0.1919, allocations: 75.28 kB / 0.6877 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1919, allocations: 0 / 0.6877 GB, free: 11.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.1922, allocations: 28 kB / 0.6877 GB, free: 11.77 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.0002421/0.1924, allocations: 135.2 kB / 0.6878 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.18e-05/0.1925, allocations: 7.938 kB / 0.6878 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1925, allocations: 0 / 0.6878 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.676e-06/0.1925, allocations: 12.06 kB / 0.6878 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.000136/0.1926, allocations: 6.094 kB / 0.6878 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001793/0.1928, allocations: 74.7 kB / 0.6879 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1931, allocations: 0.6731 MB / 0.6886 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.137e-05/0.1931, allocations: 0 / 0.6886 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.1931, allocations: 7.438 kB / 0.6886 GB, free: 10.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1931, allocations: 0 / 0.6886 GB, free: 10.8 MB / 494.1 MB Notification: Performance of Templates: time 0.002496/0.1956, allocations: 0.6289 MB / 0.6892 GB, free: 10.17 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)