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.001291/0.001291, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001242/0.001242, allocations: 193.6 kB / 16.14 MB, free: 6.715 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00262/0.00262, allocations: 299 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.193/1.193, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 102.1 kB / 0.6057 GB, free: 25.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1783, allocations: 89.15 MB / 0.6928 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002708/0.181, allocations: 1.499 MB / 0.6942 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000704/0.1817, allocations: 365.5 kB / 0.6946 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.1818, allocations: 0 / 0.6946 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.1818, allocations: 0 / 0.6946 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.515e-05/0.1819, allocations: 4.641 kB / 0.6946 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.1822, allocations: 77.52 kB / 0.6947 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.685e-05/0.1823, allocations: 19.94 kB / 0.6947 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.251e-05/0.1824, allocations: 11.97 kB / 0.6947 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.291e-05/0.1824, allocations: 11.94 kB / 0.6947 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.458e-05/0.1824, allocations: 11.98 kB / 0.6947 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.1825, allocations: 0 / 0.6947 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.1827, allocations: 127.8 kB / 0.6948 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.1827, allocations: 15.91 kB / 0.6949 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.1828, allocations: 4 kB / 0.6949 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.1829, allocations: 83.81 kB / 0.6949 GB, free: 2.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.183, allocations: 3.938 kB / 0.695 GB, free: 2.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.183, allocations: 0 / 0.695 GB, free: 2.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.183, allocations: 4 kB / 0.695 GB, free: 2.586 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.0004928/0.1835, allocations: 357.4 kB / 0.6953 GB, free: 2.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1835, allocations: 12.03 kB / 0.6953 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.1836, allocations: 4.922 kB / 0.6953 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1837, allocations: 160.4 kB / 0.6955 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1837, allocations: 4.375 kB / 0.6955 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.1837, allocations: 4.359 kB / 0.6955 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1839, allocations: 50.23 kB / 0.6955 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1839, allocations: 4.188 kB / 0.6955 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1839, allocations: 3.938 kB / 0.6955 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.184, allocations: 3.938 kB / 0.6955 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.1841, allocations: 31.97 kB / 0.6956 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.1845, allocations: 248.9 kB / 0.6958 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1846, allocations: 42.5 kB / 0.6958 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/0.1847, allocations: 28.83 kB / 0.6959 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007378/0.1855, allocations: 457.4 kB / 0.6963 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1855, allocations: 34.56 kB / 0.6963 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.1855, allocations: 0 / 0.6963 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003769/0.1859, allocations: 85.58 kB / 0.6964 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1859, allocations: 51.41 kB / 0.6965 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.186, allocations: 101.8 kB / 0.6966 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1861, allocations: 29.83 kB / 0.6966 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.1861, allocations: 80.14 kB / 0.6967 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.1861, allocations: 11.91 kB / 0.6967 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.1862, allocations: 9.719 kB / 0.6967 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1863, allocations: 314.8 kB / 0.697 GB, free: 196 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.109e-05/0.1864, allocations: 19.98 kB / 0.697 GB, free: 176 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.1865, allocations: 11.98 kB / 0.697 GB, free: 164 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1867, allocations: 40.89 kB / 0.6971 GB, free: 120 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.1867, allocations: 7.938 kB / 0.6971 GB, free: 112 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001999/0.1869, allocations: 69.59 kB / 0.6971 GB, free: 36 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1869, allocations: 9.094 kB / 0.6971 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1869, allocations: 0 / 0.6971 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1869, allocations: 32 / 0.6971 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.187, allocations: 11.98 kB / 0.6972 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.187, allocations: 4 kB / 0.6972 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.1871, allocations: 7.984 kB / 0.6972 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1871, allocations: 0 / 0.6972 GB, free: 4 kB / 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 9.26e-05/0.1872, allocations: 109.8 kB / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.1872, allocations: 0 / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.1875, allocations: 84.66 kB / 0.6974 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1875, allocations: 0 / 0.6974 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1875, allocations: 0 / 0.6974 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1875, allocations: 0 / 0.6974 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.1877, allocations: 165.6 kB / 0.6975 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1877, allocations: 0 / 0.6975 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.1877, allocations: 15.92 kB / 0.6975 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1877, allocations: 0 / 0.6975 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1878, allocations: 0 / 0.6975 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1878, allocations: 0 / 0.6975 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1878, allocations: 4.031 kB / 0.6975 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.188, allocations: 171.3 kB / 0.6977 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.1881, allocations: 81.11 kB / 0.6978 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1881, allocations: 0 / 0.6978 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.1882, allocations: 7.984 kB / 0.6978 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1882, allocations: 4.031 kB / 0.6978 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1882, allocations: 4.125 kB / 0.6978 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.1883, allocations: 83.27 kB / 0.6979 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1883, allocations: 0 / 0.6979 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002636/0.1886, allocations: 35.98 kB / 0.6979 GB, free: 15.16 MB / 0.4981 GB 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.0002555/0.1888, allocations: 133.9 kB / 0.698 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.189, allocations: 35.97 kB / 0.6981 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1891, allocations: 0 / 0.6981 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.769e-05/0.1892, allocations: 23.97 kB / 0.6981 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1894, allocations: 4.062 kB / 0.6981 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.1897, allocations: 115.2 kB / 0.6982 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.19, allocations: 0.6731 MB / 0.6989 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.19, allocations: 3.984 kB / 0.6989 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.19, allocations: 7.438 kB / 0.6989 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.19, allocations: 4 kB / 0.6989 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.00329/0.1933, allocations: 0.8123 MB / 0.6997 GB, free: 13.29 MB / 0.4981 GB 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)