Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.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.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00109/0.00109, allocations: 197 kB / 16.26 MB, free: 6.621 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.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003072/0.003072, allocations: 279 kB / 290.4 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9282/0.9282, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 94.84 kB / 0.5947 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1865, allocations: 86.99 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001811/0.1884, allocations: 0.633 MB / 0.6803 GB, free: 436 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005773/0.1889, allocations: 305 kB / 0.6805 GB, free: 132 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-06/0.189, allocations: 2.438 kB / 0.6805 GB, free: 132 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.189, allocations: 0 / 0.6805 GB, free: 132 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.331e-06/0.189, allocations: 4 kB / 0.6806 GB, free: 128 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.1894, allocations: 87.8 kB / 0.6806 GB, free: 40 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 2.845e-05/0.1895, allocations: 4 kB / 0.6806 GB, free: 36 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.1895, allocations: 4 kB / 0.6806 GB, free: 32 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.1895, allocations: 4.766 kB / 0.6806 GB, free: 28 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.529e-05/0.1895, allocations: 3.938 kB / 0.6807 GB, free: 24 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.661e-06/0.1895, allocations: 1.719 kB / 0.6807 GB, free: 24 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.1898, allocations: 139.7 kB / 0.6808 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-06/0.1898, allocations: 0 / 0.6808 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.29e-05/0.1898, allocations: 0 / 0.6808 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.19, allocations: 71.89 kB / 0.6809 GB, free: 15.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.19, allocations: 8.531 kB / 0.6809 GB, free: 15.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.19, allocations: 0 / 0.6809 GB, free: 15.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.19, allocations: 0.5 kB / 0.6809 GB, free: 15.81 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.00029/0.1903, allocations: 328.5 kB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1903, allocations: 12.56 kB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.1904, allocations: 4.875 kB / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.023e-05/0.1905, allocations: 161.5 kB / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1905, allocations: 384 / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-06/0.1905, allocations: 1.281 kB / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.99e-05/0.1906, allocations: 34.25 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.1906, allocations: 4.188 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1906, allocations: 3.938 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1906, allocations: 0 / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.672e-05/0.1906, allocations: 0 / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.1908, allocations: 149.7 kB / 0.6815 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.384e-05/0.1908, allocations: 18.52 kB / 0.6815 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.1908, allocations: 4.859 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007387/0.1916, allocations: 477.5 kB / 0.682 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1916, allocations: 30.56 kB / 0.682 GB, free: 14.35 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 3.316e-06/0.1916, allocations: 3.984 kB / 0.682 GB, free: 14.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001149/0.1917, allocations: 41.58 kB / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.1918, allocations: 51.41 kB / 0.6821 GB, free: 14.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.916e-05/0.1918, allocations: 93.86 kB / 0.6822 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1918, allocations: 25.7 kB / 0.6822 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.1919, allocations: 80.14 kB / 0.6823 GB, free: 14.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.1919, allocations: 4 kB / 0.6823 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.1919, allocations: 13.7 kB / 0.6823 GB, free: 14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.192, allocations: 315 kB / 0.6826 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.192, allocations: 4 kB / 0.6826 GB, free: 13.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-06/0.192, allocations: 0 / 0.6826 GB, free: 13.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.316e-05/0.1921, allocations: 8.859 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1921, allocations: 0 / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.648e-05/0.1921, allocations: 37.64 kB / 0.6827 GB, free: 13.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1921, allocations: 6.188 kB / 0.6827 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.1921, allocations: 0 / 0.6827 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1922, allocations: 11.92 kB / 0.6827 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.1922, allocations: 4.094 kB / 0.6827 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1922, allocations: 0 / 0.6827 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-06/0.1922, allocations: 288 / 0.6827 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1923, allocations: 0 / 0.6827 GB, free: 13.61 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 7.057e-05/0.1923, allocations: 111.2 kB / 0.6828 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-06/0.1923, allocations: 3.938 kB / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.78e-05/0.1924, allocations: 48.62 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1924, allocations: 0 / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.1924, allocations: 8.031 kB / 0.6829 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1924, allocations: 0 / 0.6829 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.703e-05/0.1925, allocations: 145.7 kB / 0.683 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1925, allocations: 7.938 kB / 0.683 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.1926, allocations: 0 / 0.683 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1926, allocations: 0 / 0.683 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.1926, allocations: 3.938 kB / 0.683 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1926, allocations: 0 / 0.683 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1926, allocations: 3.984 kB / 0.683 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.701e-05/0.1926, allocations: 65.05 kB / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.1927, allocations: 77.11 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-06/0.1927, allocations: 3.938 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-06/0.1927, allocations: 0 / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.1927, allocations: 7.984 kB / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-06/0.1927, allocations: 0 / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.365e-05/0.1928, allocations: 75.28 kB / 0.6832 GB, free: 12.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1928, allocations: 0 / 0.6832 GB, free: 12.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.193, allocations: 28 kB / 0.6833 GB, free: 12.93 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.0002422/0.1932, allocations: 139.2 kB / 0.6834 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.106e-05/0.1933, allocations: 7.938 kB / 0.6834 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1933, allocations: 4.062 kB / 0.6834 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.681e-06/0.1933, allocations: 0 / 0.6834 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.1934, allocations: 11.98 kB / 0.6834 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001441/0.1936, allocations: 71.2 kB / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.1938, allocations: 0.669 MB / 0.6841 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.113e-05/0.1938, allocations: 4 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.898e-06/0.1938, allocations: 7.438 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1939, allocations: 0 / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of Templates: time 0.002559/0.1964, allocations: 0.6529 MB / 0.6848 GB, free: 11.3 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)