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.001466/0.001465, 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.001304/0.001304, allocations: 195.2 kB / 16.14 MB, free: 6.645 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002531/0.002531, allocations: 294.8 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5068 GB, free: 4.812 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 98.28 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1796, allocations: 89.15 MB / 0.6928 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.00199/0.1816, allocations: 0.6465 MB / 0.6934 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007293/0.1823, allocations: 310.9 kB / 0.6937 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.079e-05/0.1824, allocations: 0 / 0.6937 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.1824, allocations: 0.6562 kB / 0.6937 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.263e-06/0.1824, allocations: 0 / 0.6937 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.1828, allocations: 80.58 kB / 0.6938 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.248e-05/0.1828, allocations: 4 kB / 0.6938 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1829, allocations: 3.984 kB / 0.6938 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.355e-05/0.1829, allocations: 0 / 0.6938 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.738e-05/0.1829, allocations: 0 / 0.6938 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.1829, allocations: 6.047 kB / 0.6938 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.1832, allocations: 127.8 kB / 0.6939 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-06/0.1832, allocations: 0 / 0.6939 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.1832, allocations: 0 / 0.6939 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1834, allocations: 80.41 kB / 0.694 GB, free: 3.633 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1834, allocations: 0 / 0.694 GB, free: 3.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1834, allocations: 4 kB / 0.694 GB, free: 3.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.1834, allocations: 0 / 0.694 GB, free: 3.629 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.0003251/0.1838, allocations: 325.3 kB / 0.6943 GB, free: 3.262 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1838, allocations: 8.031 kB / 0.6943 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.1838, allocations: 4.938 kB / 0.6943 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1839, allocations: 164.3 kB / 0.6945 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.184, allocations: 384 / 0.6945 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.184, allocations: 384 / 0.6945 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.416e-05/0.1841, allocations: 38.19 kB / 0.6945 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.1841, allocations: 4.188 kB / 0.6945 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1841, allocations: 7.938 kB / 0.6946 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1841, allocations: 0 / 0.6946 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.522e-05/0.1841, allocations: 0 / 0.6946 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.1843, allocations: 141.7 kB / 0.6947 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.056e-05/0.1843, allocations: 22.55 kB / 0.6947 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.1843, allocations: 8.859 kB / 0.6947 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/0.1851, allocations: 457.5 kB / 0.6952 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1852, allocations: 38.5 kB / 0.6952 GB, free: 2.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1852, allocations: 0 / 0.6952 GB, free: 2.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.1853, allocations: 37.64 kB / 0.6952 GB, free: 2.137 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1854, allocations: 55.53 kB / 0.6953 GB, free: 2.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.643e-05/0.1854, allocations: 93.84 kB / 0.6954 GB, free: 1.969 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1854, allocations: 25.7 kB / 0.6954 GB, free: 1.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.1855, allocations: 80.14 kB / 0.6955 GB, free: 1.855 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.1855, allocations: 3.906 kB / 0.6955 GB, free: 1.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.1856, allocations: 13.72 kB / 0.6955 GB, free: 1.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1857, allocations: 310.8 kB / 0.6958 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.1857, allocations: 0 / 0.6958 GB, free: 1.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.1858, allocations: 15.94 kB / 0.6958 GB, free: 1.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/0.1858, allocations: 4.859 kB / 0.6958 GB, free: 1.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1858, allocations: 0 / 0.6958 GB, free: 1.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.347e-05/0.1858, allocations: 37.69 kB / 0.6958 GB, free: 1.453 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1859, allocations: 4 kB / 0.6958 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1859, allocations: 0 / 0.6958 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1859, allocations: 3.938 kB / 0.6958 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.808e-05/0.1859, allocations: 3.984 kB / 0.6958 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1859, allocations: 4 kB / 0.6959 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-06/0.186, allocations: 4.094 kB / 0.6959 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-06/0.186, allocations: 0 / 0.6959 GB, free: 1.434 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.418e-05/0.1861, allocations: 105.8 kB / 0.696 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.1861, allocations: 0 / 0.696 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-05/0.1862, allocations: 56.61 kB / 0.696 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1862, allocations: 0 / 0.696 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1862, allocations: 4 kB / 0.696 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1862, allocations: 0 / 0.696 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.1863, allocations: 146 kB / 0.6962 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1863, allocations: 0 / 0.6962 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.1863, allocations: 3.984 kB / 0.6962 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1863, allocations: 8 kB / 0.6962 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1863, allocations: 3.938 kB / 0.6962 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1864, allocations: 0 / 0.6962 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1864, allocations: 0 / 0.6962 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.517e-05/0.1864, allocations: 57.08 kB / 0.6962 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.1865, allocations: 85.14 kB / 0.6963 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1865, allocations: 7.922 kB / 0.6963 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.1865, allocations: 0 / 0.6963 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.1865, allocations: 3.938 kB / 0.6963 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.1865, allocations: 0 / 0.6963 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.669e-05/0.1866, allocations: 75.28 kB / 0.6964 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1866, allocations: 0 / 0.6964 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000206/0.1868, allocations: 28 kB / 0.6964 GB, free: 0.7617 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 (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.000276/0.1871, allocations: 139.2 kB / 0.6965 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.497e-05/0.1871, allocations: 4 kB / 0.6966 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1872, allocations: 0 / 0.6966 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.1872, allocations: 11.92 kB / 0.6966 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.1873, allocations: 4.125 kB / 0.6966 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001563/0.1875, allocations: 78.7 kB / 0.6966 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1878, allocations: 0.6692 MB / 0.6973 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.212e-05/0.1878, allocations: 0 / 0.6973 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.145e-05/0.1878, allocations: 7.438 kB / 0.6973 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1878, allocations: 0 / 0.6973 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.00281/0.1906, allocations: 0.6367 MB / 0.6979 GB, free: 15.15 MB / 0.4981 GB 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)