Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009154/0.0009152, allocations: 91.45 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.0009247/0.0009247, 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.304/1.304, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001617/0.001617, allocations: 275.1 kB / 291.4 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.934/0.934, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004283, allocations: 16.53 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1868, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.001602/0.1884, allocations: 1.14 MB / 0.6856 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005827/0.189, allocations: 318 kB / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.1891, allocations: 1.844 kB / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.268e-05/0.1891, allocations: 0 / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.774e-05/0.1892, allocations: 0 / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.1896, allocations: 85.53 kB / 0.686 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.9e-05/0.1896, allocations: 16.8 kB / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.1897, allocations: 8 kB / 0.686 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.824e-05/0.1898, allocations: 6.188 kB / 0.686 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.1898, allocations: 11.92 kB / 0.686 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.377e-06/0.1898, allocations: 0 / 0.686 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.1901, allocations: 131.8 kB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.625e-06/0.1901, allocations: 2.25 kB / 0.6862 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.1901, allocations: 33.64 kB / 0.6862 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.1902, allocations: 55.89 kB / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1903, allocations: 4 kB / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.86e-06/0.1903, allocations: 0 / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1903, allocations: 3.938 kB / 0.6862 GB, free: 13.67 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.000424/0.1907, allocations: 350.1 kB / 0.6866 GB, free: 13.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1907, allocations: 12.03 kB / 0.6866 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.1908, allocations: 3.906 kB / 0.6866 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.804e-05/0.1909, allocations: 164.3 kB / 0.6867 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1909, allocations: 4 kB / 0.6868 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.1909, allocations: 4 kB / 0.6868 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1911, allocations: 60.08 kB / 0.6868 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.1911, allocations: 0 / 0.6868 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.1911, allocations: 0 / 0.6868 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1911, allocations: 0 / 0.6868 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.1913, allocations: 46.95 kB / 0.6869 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.1916, allocations: 246.4 kB / 0.6871 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.1917, allocations: 47.88 kB / 0.6871 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.1918, allocations: 25.78 kB / 0.6872 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006551/0.1925, allocations: 464.1 kB / 0.6876 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1925, allocations: 34.56 kB / 0.6876 GB, free: 12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.1925, allocations: 0 / 0.6876 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003644/0.1929, allocations: 97.73 kB / 0.6877 GB, free: 11.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1929, allocations: 59.36 kB / 0.6878 GB, free: 11.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.193, allocations: 97.86 kB / 0.6879 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.193, allocations: 25.7 kB / 0.6879 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.1931, allocations: 84.08 kB / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.1931, allocations: 7.891 kB / 0.688 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.1931, allocations: 0 / 0.688 GB, free: 11.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1932, allocations: 318.8 kB / 0.6883 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.1933, allocations: 20.02 kB / 0.6883 GB, free: 11.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.1934, allocations: 23.98 kB / 0.6883 GB, free: 11.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.04e-05/0.1935, allocations: 24.03 kB / 0.6884 GB, free: 11.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1935, allocations: 0 / 0.6884 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001695/0.1936, allocations: 69.86 kB / 0.6884 GB, free: 11.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1937, allocations: 8 kB / 0.6884 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1937, allocations: 0 / 0.6884 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1937, allocations: 32 / 0.6884 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.1938, allocations: 27.91 kB / 0.6885 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1938, allocations: 0 / 0.6885 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.1939, allocations: 19.88 kB / 0.6885 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.1939, allocations: 0 / 0.6885 GB, free: 11.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.541e-05/0.194, allocations: 114.4 kB / 0.6886 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.194, allocations: 7.906 kB / 0.6886 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.1942, allocations: 84.78 kB / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.1942, allocations: 0 / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1942, allocations: 0 / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1942, allocations: 0 / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.1944, allocations: 161.6 kB / 0.6888 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1944, allocations: 4.031 kB / 0.6888 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.1945, allocations: 11.98 kB / 0.6889 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1945, allocations: 0 / 0.6889 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1945, allocations: 0 / 0.6889 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1945, allocations: 4 kB / 0.6889 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1945, allocations: 0 / 0.6889 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.1948, allocations: 179.9 kB / 0.689 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.1948, allocations: 81.11 kB / 0.6891 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1948, allocations: 0 / 0.6891 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.1949, allocations: 11.98 kB / 0.6891 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.195, allocations: 0 / 0.6891 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.195, allocations: 4.031 kB / 0.6891 GB, free: 10.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.195, allocations: 79.28 kB / 0.6892 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.195, allocations: 0 / 0.6892 GB, free: 10.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1953, allocations: 35.98 kB / 0.6892 GB, free: 10.22 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 (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.0002786/0.1956, allocations: 135.2 kB / 0.6894 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1957, allocations: 47.91 kB / 0.6894 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1958, allocations: 0 / 0.6894 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.754e-05/0.1958, allocations: 28.03 kB / 0.6894 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.1961, allocations: 14.2 kB / 0.6894 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.1963, allocations: 108.5 kB / 0.6895 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1966, allocations: 0.6731 MB / 0.6902 GB, free: 9.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.409e-05/0.1966, allocations: 8.062 kB / 0.6902 GB, free: 9.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.1966, allocations: 7.438 kB / 0.6902 GB, free: 9.145 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1966, allocations: 0 / 0.6902 GB, free: 9.145 MB / 494.1 MB Notification: Performance of Templates: time 0.002826/0.1995, allocations: 0.8134 MB / 0.691 GB, free: 8.332 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)