Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.315/1.315, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009843/0.0009844, allocations: 181.1 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 0.578 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007574/0.0007573, allocations: 94.34 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 8.062 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1861, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.00129/0.1874, allocations: 1.164 MB / 0.9021 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005574/0.188, allocations: 367.8 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.188, allocations: 0 / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.1881, allocations: 0 / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.1881, allocations: 11.94 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.1885, allocations: 79.84 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.1885, allocations: 27.88 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.922e-05/0.1886, allocations: 3.984 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.076e-05/0.1887, allocations: 7.938 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.574e-05/0.1887, allocations: 11.98 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.1887, allocations: 0 / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.189, allocations: 139.7 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.189, allocations: 4 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.189, allocations: 29.64 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1892, allocations: 99.72 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1892, allocations: 0 / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1892, allocations: 0 / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1892, allocations: 0 / 0.9028 GB, free: 61.45 MB / 0.6042 GB 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.000374/0.1896, allocations: 347.6 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1896, allocations: 16.03 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.1897, allocations: 34.73 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.1897, allocations: 0.9375 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.904e-05/0.1898, allocations: 176.5 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-06/0.1898, allocations: 384 / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.1898, allocations: 384 / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.19, allocations: 54.23 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.19, allocations: 3.938 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.19, allocations: 4 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.19, allocations: 4 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.1902, allocations: 43.95 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.1904, allocations: 249 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1905, allocations: 46.44 kB / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.1906, allocations: 32.83 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005569/0.1912, allocations: 473.5 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.1912, allocations: 30.56 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.1912, allocations: 4 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003143/0.1915, allocations: 97.58 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.1915, allocations: 55.53 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.416e-05/0.1916, allocations: 105.8 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.1916, allocations: 25.7 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.1916, allocations: 84.14 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.1916, allocations: 3.906 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.1917, allocations: 4 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.1917, allocations: 310.8 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.1918, allocations: 23.98 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.1919, allocations: 23.97 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.192, allocations: 52.89 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.192, allocations: 3.938 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001634/0.1922, allocations: 81.53 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1922, allocations: 4 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1922, allocations: 8.031 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1922, allocations: 0 / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.1923, allocations: 15.98 kB / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1923, allocations: 0 / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.1924, allocations: 4 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1924, allocations: 4 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB 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 4.369e-05/0.1924, allocations: 113.8 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.1924, allocations: 7.906 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.1926, allocations: 80.78 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1926, allocations: 3.938 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1927, allocations: 0 / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.1927, allocations: 4 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.506e-05/0.1928, allocations: 161.6 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1928, allocations: 0 / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.1928, allocations: 11.98 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1928, allocations: 0 / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.1928, allocations: 0 / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1929, allocations: 0 / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1929, allocations: 3.938 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.193, allocations: 179.5 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.1931, allocations: 77.11 kB / 0.9057 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.1931, allocations: 3.984 kB / 0.9057 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.1931, allocations: 8 kB / 0.9057 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.1932, allocations: 8.016 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1932, allocations: 0 / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.944e-05/0.1932, allocations: 83.28 kB / 0.9058 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1932, allocations: 3.938 kB / 0.9058 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002144/0.1934, allocations: 32 kB / 0.9059 GB, free: 57.89 MB / 0.6042 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.000451/0.1939, allocations: 0.7475 MB / 0.9066 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.1941, allocations: 43.95 kB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1941, allocations: 4 kB / 0.9066 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.1942, allocations: 31.98 kB / 0.9067 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1944, allocations: 0.8594 kB / 0.9067 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.1947, allocations: 146.6 kB / 0.9068 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.1948, allocations: 0.6731 MB / 0.9075 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.1949, allocations: 4.062 kB / 0.9075 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.1949, allocations: 19.36 kB / 0.9075 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.1949, allocations: 0 / 0.9075 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009953/0.2049, allocations: 1.513 MB / 0.909 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/0.205, allocations: 202.3 kB / 0.9092 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/1.721, allocations: 7.938 kB / 0.9092 GB, free: 54.47 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1)