Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.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.BesselY0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY0",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.443/1.443, allocations: 251.5 MB / 266.7 MB, free: 11.01 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.0009847/0.0009845, allocations: 179 kB / 325.9 MB, free: 2.664 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.784/1.784, allocations: 205 MB / 0.576 GB, free: 20.95 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.0008493/0.000849, allocations: 94.52 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003129, allocations: 11.56 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1876, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001496/0.1891, allocations: 1.168 MB / 0.8974 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006229/0.1897, allocations: 364.6 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.1898, allocations: 3.938 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.1898, allocations: 3.938 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.1899, allocations: 0 / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.1902, allocations: 79.8 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.738e-05/0.1903, allocations: 19.92 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.398e-05/0.1904, allocations: 8 kB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.1904, allocations: 11.98 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.234e-05/0.1905, allocations: 7.938 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.1905, allocations: 0 / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.1907, allocations: 135.7 kB / 0.898 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.1907, allocations: 0 / 0.898 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.1907, allocations: 11.94 kB / 0.898 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1909, allocations: 87.73 kB / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1909, allocations: 0 / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1909, allocations: 0 / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1909, allocations: 4 kB / 0.8981 GB, free: 66.15 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.0003753/0.1913, allocations: 347.6 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1914, allocations: 12.03 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.385e-05/0.1914, allocations: 30.75 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.1914, allocations: 0.9375 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.941e-05/0.1915, allocations: 180.2 kB / 0.8986 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1915, allocations: 384 / 0.8986 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.1915, allocations: 8.375 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1917, allocations: 50.23 kB / 0.8987 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1917, allocations: 3.938 kB / 0.8987 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.1917, allocations: 7.984 kB / 0.8987 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1917, allocations: 4 kB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.1919, allocations: 43.97 kB / 0.8987 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.1921, allocations: 245 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.1922, allocations: 50.44 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.875e-05/0.1923, allocations: 24.91 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005141/0.1928, allocations: 461.5 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.1929, allocations: 34.56 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1929, allocations: 0 / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003305/0.1932, allocations: 101.7 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.1932, allocations: 51.41 kB / 0.8996 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.1933, allocations: 97.86 kB / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.1933, allocations: 29.7 kB / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.1934, allocations: 84.12 kB / 0.8998 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.1934, allocations: 7.844 kB / 0.8998 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.1934, allocations: 13.66 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.1935, allocations: 318.9 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.1935, allocations: 19.98 kB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.1936, allocations: 27.97 kB / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1937, allocations: 48.89 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1938, allocations: 3.938 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001689/0.1939, allocations: 85.53 kB / 0.9003 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.194, allocations: 4 kB / 0.9003 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.194, allocations: 0 / 0.9003 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.194, allocations: 0 / 0.9003 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.1941, allocations: 11.98 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1941, allocations: 4 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.1941, allocations: 7.906 kB / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1941, allocations: 4.031 kB / 0.9004 GB, free: 63.45 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.819e-05/0.1942, allocations: 117.8 kB / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.1942, allocations: 3.984 kB / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.1944, allocations: 80.78 kB / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1944, allocations: 3.938 kB / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1944, allocations: 0 / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1945, allocations: 0 / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.1946, allocations: 157.6 kB / 0.9007 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1946, allocations: 4 kB / 0.9007 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.1946, allocations: 15.98 kB / 0.9007 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1946, allocations: 0 / 0.9007 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.1947, allocations: 0 / 0.9007 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1947, allocations: 0 / 0.9007 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1947, allocations: 4.031 kB / 0.9007 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.1949, allocations: 171.5 kB / 0.9009 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.1949, allocations: 81.14 kB / 0.901 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1949, allocations: 4 kB / 0.901 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.195, allocations: 7.984 kB / 0.901 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.195, allocations: 4 kB / 0.901 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.195, allocations: 0 / 0.901 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.197e-05/0.1951, allocations: 91.44 kB / 0.9011 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1951, allocations: 3.938 kB / 0.9011 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002339/0.1953, allocations: 28 kB / 0.9011 GB, free: 62.59 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.000519/0.1958, allocations: 0.7444 MB / 0.9018 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.196, allocations: 51.95 kB / 0.9019 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.196, allocations: 0 / 0.9019 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.1961, allocations: 27.92 kB / 0.9019 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.1964, allocations: 4 kB / 0.9019 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.1968, allocations: 145.3 kB / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.1969, allocations: 0.6731 MB / 0.9027 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.465e-05/0.197, allocations: 4 kB / 0.9027 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.197, allocations: 19.36 kB / 0.9027 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.197, allocations: 0 / 0.9027 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.2084, allocations: 1.49 MB / 0.9042 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/0.2085, allocations: 202.9 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.775, allocations: 3.938 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1)