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.42/1.42, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001167/0.001167, allocations: 189.6 kB / 326.5 MB, free: 2.219 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.507/1.507, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0008247/0.0008248, allocations: 99.67 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003298, allocations: 10.69 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1837, allocations: 106.3 MB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001372/0.1852, allocations: 1.156 MB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005119/0.1857, allocations: 332.1 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.1857, allocations: 0 / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.1857, allocations: 0 / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.1858, allocations: 0 / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.1861, allocations: 83.77 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.52e-05/0.1862, allocations: 15.94 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.553e-05/0.1863, allocations: 7.922 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.1863, allocations: 11.98 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.55e-05/0.1864, allocations: 11.98 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.1864, allocations: 0 / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.1866, allocations: 131.8 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-06/0.1866, allocations: 3.938 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.1866, allocations: 29.7 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.1867, allocations: 59.89 kB / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1867, allocations: 0 / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1868, allocations: 0 / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1868, allocations: 0 / 0.9019 GB, free: 61.96 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.0003828/0.1872, allocations: 349.1 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1872, allocations: 12.03 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.362e-05/0.1872, allocations: 30.56 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.879e-05/0.1872, allocations: 0 / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.864e-05/0.1873, allocations: 183.1 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.974e-06/0.1873, allocations: 0 / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.1874, allocations: 0 / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1875, allocations: 61.61 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.1875, allocations: 0 / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.1875, allocations: 4 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1876, allocations: 4 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1877, allocations: 51.94 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.188, allocations: 244.9 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1881, allocations: 42.59 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005699/0.1887, allocations: 473.5 kB / 0.9033 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.1887, allocations: 34.5 kB / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1887, allocations: 7.938 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003109/0.189, allocations: 93.64 kB / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.189, allocations: 59.53 kB / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.067e-05/0.1891, allocations: 97.84 kB / 0.9036 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.1891, allocations: 25.7 kB / 0.9036 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.1891, allocations: 84.14 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.1891, allocations: 7.906 kB / 0.9037 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.1892, allocations: 0 / 0.9037 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.291e-05/0.1892, allocations: 314.8 kB / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.1893, allocations: 27.97 kB / 0.904 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.1894, allocations: 24.73 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.293e-05/0.1895, allocations: 19.98 kB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1895, allocations: 4 kB / 0.9041 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001695/0.1896, allocations: 77.72 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.1897, allocations: 6.969 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1897, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.1897, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.1898, allocations: 16.02 kB / 0.9042 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1898, allocations: 0 / 0.9042 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.1898, allocations: 8 kB / 0.9042 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.1898, allocations: 0 / 0.9042 GB, free: 59.33 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/0.1899, allocations: 113.8 kB / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.1899, allocations: 11.89 kB / 0.9043 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.1901, allocations: 84.72 kB / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1901, allocations: 0 / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1901, allocations: 0 / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1901, allocations: 0 / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.1903, allocations: 161.6 kB / 0.9045 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1903, allocations: 0 / 0.9045 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.1903, allocations: 16.02 kB / 0.9046 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1903, allocations: 3.938 kB / 0.9046 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1903, allocations: 4 kB / 0.9046 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1903, allocations: 0 / 0.9046 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1903, allocations: 0 / 0.9046 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1905, allocations: 179.4 kB / 0.9047 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.1906, allocations: 77.11 kB / 0.9048 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.1906, allocations: 7.938 kB / 0.9048 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.1907, allocations: 7.984 kB / 0.9048 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.1907, allocations: 0 / 0.9048 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1907, allocations: 4 kB / 0.9048 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.833e-05/0.1907, allocations: 87.3 kB / 0.9049 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1907, allocations: 0 / 0.9049 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002325/0.191, allocations: 28 kB / 0.9049 GB, free: 58.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000457/0.1914, allocations: 0.7359 MB / 0.9057 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.1916, allocations: 55.92 kB / 0.9057 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1916, allocations: 0 / 0.9057 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.071e-05/0.1917, allocations: 28.05 kB / 0.9057 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.1919, allocations: 0 / 0.9057 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.1922, allocations: 150.2 kB / 0.9059 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.156e-05/0.1923, allocations: 0.6848 MB / 0.9066 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.999e-05/0.1923, allocations: 0 / 0.9066 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.1923, allocations: 15.44 kB / 0.9066 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1923, allocations: 0 / 0.9066 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.2033, allocations: 1.504 MB / 0.908 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/0.2035, allocations: 185.6 kB / 0.9082 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/1.685, allocations: 3.938 kB / 0.9082 GB, free: 55.08 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)