Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 198 kB / 16.64 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.804/1.804, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 77.98 kB / 0.6718 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2159, allocations: 114.6 MB / 0.7837 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001844/0.2178, allocations: 0.5849 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005895/0.2184, allocations: 283 kB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.2184, allocations: 0 / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.2185, allocations: 0 / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.2185, allocations: 3.938 kB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.219, allocations: 95.72 kB / 0.7846 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.075e-05/0.219, allocations: 0 / 0.7846 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.2191, allocations: 4 kB / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.53e-05/0.2191, allocations: 0 / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.032e-05/0.2191, allocations: 7.922 kB / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.622e-06/0.2191, allocations: 0 / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.2194, allocations: 115.8 kB / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.053e-06/0.2194, allocations: 4 kB / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.2194, allocations: 7.969 kB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.2195, allocations: 63.91 kB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2196, allocations: 0 / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.727e-06/0.2196, allocations: 4 kB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2196, allocations: 3.938 kB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002877/0.2199, allocations: 323.6 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2199, allocations: 8.031 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.22, allocations: 30.75 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.899e-05/0.22, allocations: 4.938 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.2201, allocations: 164.3 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2201, allocations: 4.375 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-06/0.2201, allocations: 4.359 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.804e-05/0.2202, allocations: 30.27 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2202, allocations: 3.938 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.2202, allocations: 0 / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2202, allocations: 0 / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.41e-05/0.2202, allocations: 4 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.2204, allocations: 153.6 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/0.2204, allocations: 18.61 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.2205, allocations: 8.859 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007472/0.2212, allocations: 457.5 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.2212, allocations: 34.56 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 3.286e-06/0.2212, allocations: 3.984 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001272/0.2214, allocations: 49.56 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.2214, allocations: 51.41 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.685e-05/0.2214, allocations: 89.86 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.2215, allocations: 25.7 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.11e-05/0.2215, allocations: 80.14 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.2215, allocations: 8.031 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.2216, allocations: 13.72 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.2217, allocations: 310.8 kB / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.2217, allocations: 0 / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-06/0.2217, allocations: 4 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.351e-05/0.2217, allocations: 8.859 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2217, allocations: 0 / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.253e-05/0.2218, allocations: 41.69 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2218, allocations: 8 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2218, allocations: 7.922 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2218, allocations: 0 / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.544e-05/0.2219, allocations: 0 / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2219, allocations: 0 / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-06/0.2219, allocations: 0 / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.2219, allocations: 4 kB / 0.7867 GB, free: 9.836 MB / 0.6075 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 (1): * Single equations (assignments): 1 * 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 5.487e-05/0.222, allocations: 105.8 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-06/0.222, allocations: 4.031 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.227e-05/0.2221, allocations: 45.03 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2221, allocations: 0 / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2221, allocations: 3.938 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2221, allocations: 4 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.976e-05/0.2222, allocations: 145.7 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2222, allocations: 0 / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.2222, allocations: 3.938 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2222, allocations: 0 / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2222, allocations: 11.88 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2222, allocations: 4.031 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2222, allocations: 0 / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.473e-05/0.2223, allocations: 57.12 kB / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.2224, allocations: 81.05 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.2224, allocations: 7.938 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-06/0.2224, allocations: 0 / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.2224, allocations: 0 / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.2224, allocations: 4 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.334e-05/0.2224, allocations: 79.31 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2224, allocations: 0 / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002217/0.2227, allocations: 24 kB / 0.7872 GB, free: 9.16 MB / 0.6075 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 (1): * Single equations (assignments): 1 * 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.0004547/0.2231, allocations: 0.6397 MB / 0.7878 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.597e-05/0.2232, allocations: 8 kB / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2232, allocations: 0 / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-06/0.2232, allocations: 3.938 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.2234, allocations: 8.109 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.2237, allocations: 118.6 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.2239, allocations: 0.6768 MB / 0.7886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.202e-05/0.2239, allocations: 0 / 0.7886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.2239, allocations: 11.44 kB / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2239, allocations: 0 / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.2413, allocations: 1.374 MB / 0.79 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.587, allocations: 4 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)