Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.631/1.631, allocations: 288.4 MB / 303.3 MB, free: 8.062 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009586/0.0009588, allocations: 169.5 kB / 371.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007402/0.0007401, allocations: 87.36 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003982, allocations: 12.56 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2176, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001715/0.2193, allocations: 1.141 MB / 0.9808 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007447/0.2201, allocations: 320.2 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.2202, allocations: 0 / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.2202, allocations: 3.938 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.2203, allocations: 0 / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.2208, allocations: 79.78 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.462e-05/0.2209, allocations: 12 kB / 0.9812 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.221, allocations: 11.92 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.221, allocations: 8 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.2211, allocations: 7.984 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2211, allocations: 0 / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.2213, allocations: 131.8 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/0.2214, allocations: 3.938 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.2214, allocations: 25.7 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.2215, allocations: 63.83 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2215, allocations: 0 / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.155e-06/0.2216, allocations: 0 / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.2216, allocations: 0 / 0.9814 GB, free: 25.77 MB / 0.6198 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.0004397/0.222, allocations: 359.5 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.2221, allocations: 12.02 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.2221, allocations: 30.56 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.2221, allocations: 8 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.681e-05/0.2222, allocations: 163 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2223, allocations: 0 / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.2223, allocations: 0 / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.2225, allocations: 65.61 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2225, allocations: 0 / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.2225, allocations: 0 / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2225, allocations: 0 / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.2227, allocations: 51.89 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.223, allocations: 244.9 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.2231, allocations: 43.47 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.03e-05/0.2232, allocations: 36.84 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006038/0.2238, allocations: 461.4 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.2238, allocations: 34.56 kB / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2239, allocations: 0 / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003469/0.2242, allocations: 101.6 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.2242, allocations: 51.41 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.198e-05/0.2243, allocations: 101.9 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.2243, allocations: 25.7 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.2244, allocations: 80.14 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.2244, allocations: 7.891 kB / 0.9832 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.2244, allocations: 7.938 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.2244, allocations: 318.8 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-05/0.2245, allocations: 20.02 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.2246, allocations: 23.98 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.462e-05/0.2247, allocations: 24.03 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2247, allocations: 3.938 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001775/0.2249, allocations: 73.67 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2249, allocations: 8 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2249, allocations: 0 / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2249, allocations: 4.031 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.225, allocations: 11.98 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.225, allocations: 3.984 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.2251, allocations: 15.98 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.2251, allocations: 0 / 0.9837 GB, free: 23.11 MB / 0.6198 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 5.101e-05/0.2251, allocations: 117.7 kB / 0.9838 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.2252, allocations: 0 / 0.9838 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.2254, allocations: 84.78 kB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2254, allocations: 0 / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2254, allocations: 4 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2254, allocations: 0 / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.2255, allocations: 165.6 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2255, allocations: 4 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/0.2256, allocations: 11.98 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2256, allocations: 0 / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2256, allocations: 0 / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2256, allocations: 0 / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2256, allocations: 0 / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.2259, allocations: 187.3 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.2259, allocations: 77.11 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.2259, allocations: 3.938 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.226, allocations: 11.98 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.226, allocations: 4.031 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.226, allocations: 0 / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.356e-05/0.2261, allocations: 79.28 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2261, allocations: 0 / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002249/0.2263, allocations: 35.98 kB / 0.9844 GB, free: 22.24 MB / 0.6198 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.0004998/0.2268, allocations: 0.7437 MB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.227, allocations: 39.97 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.227, allocations: 0 / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.994e-05/0.2271, allocations: 31.97 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.2273, allocations: 9.719 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.2277, allocations: 142.4 kB / 0.9854 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.938e-05/0.2278, allocations: 0.677 MB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.2278, allocations: 4 kB / 0.986 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.2279, allocations: 15.44 kB / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2279, allocations: 0 / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.2396, allocations: 1.506 MB / 0.9875 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.2397, allocations: 191.9 kB / 0.9877 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.864, allocations: 4 kB / 0.9877 GB, free: 18.87 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1)