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.431/1.431, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001318/0.001318, allocations: 172.8 kB / 326.5 MB, free: 2.285 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.509/1.509, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.000802/0.000802, allocations: 81.61 kB / 0.6821 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003037, allocations: 9.562 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1723, allocations: 106.3 MB / 0.9001 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001296/0.1736, allocations: 1.159 MB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004314/0.174, allocations: 321.3 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.1741, allocations: 0 / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.047e-05/0.1741, allocations: 0 / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.255e-05/0.1741, allocations: 7.984 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.1744, allocations: 71.8 kB / 0.9017 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.784e-05/0.1744, allocations: 15.92 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.1745, allocations: 4 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.1745, allocations: 15.97 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.701e-05/0.1746, allocations: 4 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-06/0.1746, allocations: 3.938 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.1748, allocations: 127.8 kB / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.374e-06/0.1748, allocations: 7.922 kB / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.1748, allocations: 25.7 kB / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.369e-05/0.1749, allocations: 55.91 kB / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.1749, allocations: 4 kB / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1749, allocations: 0 / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.1749, allocations: 0 / 0.9019 GB, free: 62.57 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.0003246/0.1752, allocations: 347.4 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1753, allocations: 8.031 kB / 0.9023 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.223e-05/0.1753, allocations: 30.56 kB / 0.9023 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.1753, allocations: 4 kB / 0.9023 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.381e-05/0.1754, allocations: 183.1 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1754, allocations: 0 / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-06/0.1754, allocations: 0 / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1756, allocations: 57.61 kB / 0.9025 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1756, allocations: 4 kB / 0.9025 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.1756, allocations: 0 / 0.9025 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1756, allocations: 0 / 0.9025 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.1758, allocations: 47.91 kB / 0.9026 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.176, allocations: 248.9 kB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.1761, allocations: 42.56 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/0.1766, allocations: 465.5 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.1767, allocations: 34.56 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1767, allocations: 0 / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003482/0.177, allocations: 89.77 kB / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.1771, allocations: 59.41 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.198e-05/0.1771, allocations: 97.86 kB / 0.9036 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.1771, allocations: 29.69 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.224e-05/0.1772, allocations: 84.14 kB / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.1772, allocations: 3.906 kB / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.1772, allocations: 0 / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.1772, allocations: 318.8 kB / 0.904 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.1773, allocations: 27.92 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.1774, allocations: 27.91 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.487e-05/0.1775, allocations: 19.98 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1775, allocations: 4.062 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001695/0.1776, allocations: 69.67 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1777, allocations: 11.98 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.1777, allocations: 0 / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1777, allocations: 0 / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.1778, allocations: 12.03 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1778, allocations: 0 / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.1778, allocations: 11.98 kB / 0.9042 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.1778, allocations: 0 / 0.9042 GB, free: 59.96 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.398e-05/0.1779, allocations: 113.8 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.1779, allocations: 7.906 kB / 0.9043 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.1781, allocations: 88.7 kB / 0.9044 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1781, allocations: 0 / 0.9044 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1781, allocations: 0 / 0.9044 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1782, allocations: 0 / 0.9044 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.1783, allocations: 157.6 kB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1783, allocations: 4 kB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.1783, allocations: 16.02 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1783, allocations: 192 / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1784, allocations: 0 / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1784, allocations: 7.984 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1784, allocations: 0 / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.1786, allocations: 183.4 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.1786, allocations: 77.11 kB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1786, allocations: 0 / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.1787, allocations: 15.92 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.1787, allocations: 0 / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.1787, allocations: 4.031 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.959e-05/0.1787, allocations: 87.27 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1787, allocations: 0 / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002341/0.179, allocations: 28 kB / 0.9049 GB, free: 59.09 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.0004596/0.1794, allocations: 0.7502 MB / 0.9056 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1796, allocations: 55.92 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1797, allocations: 0 / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.219e-05/0.1797, allocations: 28.05 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.1799, allocations: 0 / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.1802, allocations: 147.1 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.158e-05/0.1803, allocations: 0.677 MB / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.1803, allocations: 0 / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.1804, allocations: 15.42 kB / 0.9065 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1804, allocations: 4.062 kB / 0.9065 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.1916, allocations: 1.475 MB / 0.908 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/0.1918, allocations: 184.8 kB / 0.9082 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/1.679, allocations: 0 / 0.9082 GB, free: 55.73 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)