Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",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.005948/0.005949, allocations: 97.56 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 195.3 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 279 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002759/0.002759, allocations: 99.84 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1845, allocations: 86.96 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001656/0.1862, allocations: 0.5877 MB / 0.7665 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000652/0.1868, allocations: 303 kB / 0.7668 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.639e-05/0.1869, allocations: 0 / 0.7668 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.1869, allocations: 0 / 0.7668 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.829e-06/0.1869, allocations: 0 / 0.7668 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.1874, allocations: 99.66 kB / 0.7669 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.723e-05/0.1874, allocations: 7.938 kB / 0.7669 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.1874, allocations: 0 / 0.7669 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.186e-05/0.1875, allocations: 8 kB / 0.7669 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.567e-05/0.1875, allocations: 0 / 0.7669 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.55e-06/0.1875, allocations: 0 / 0.7669 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.1878, allocations: 127.8 kB / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.082e-06/0.1878, allocations: 0 / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.356e-05/0.1878, allocations: 0 / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.1879, allocations: 76.08 kB / 0.7671 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.188, allocations: 0 / 0.7671 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.946e-06/0.188, allocations: 7.938 kB / 0.7671 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.188, allocations: 3.938 kB / 0.7671 GB, free: 7.699 MB / 0.5606 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.0003359/0.1883, allocations: 327.4 kB / 0.7674 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1884, allocations: 8.031 kB / 0.7674 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.1884, allocations: 34.73 kB / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.609e-05/0.1884, allocations: 0.9375 kB / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1885, allocations: 160.4 kB / 0.7676 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.1885, allocations: 4.375 kB / 0.7676 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.1886, allocations: 384 / 0.7676 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.975e-05/0.1886, allocations: 34.2 kB / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1887, allocations: 3.938 kB / 0.7677 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.1887, allocations: 4 kB / 0.7677 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1887, allocations: 0 / 0.7677 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.929e-05/0.1887, allocations: 4 kB / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.1888, allocations: 149.6 kB / 0.7678 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.589e-05/0.1889, allocations: 18.61 kB / 0.7678 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.1889, allocations: 8.859 kB / 0.7678 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007638/0.1897, allocations: 465.5 kB / 0.7683 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1897, allocations: 34.56 kB / 0.7683 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1897, allocations: 0 / 0.7683 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001573/0.1899, allocations: 49.66 kB / 0.7684 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1899, allocations: 51.41 kB / 0.7684 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.158e-05/0.19, allocations: 89.86 kB / 0.7685 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.19, allocations: 25.7 kB / 0.7685 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.19, allocations: 80.14 kB / 0.7686 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.1901, allocations: 3.953 kB / 0.7686 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.1901, allocations: 13.72 kB / 0.7686 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1902, allocations: 310.8 kB / 0.7689 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.1902, allocations: 8.031 kB / 0.7689 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-06/0.1902, allocations: 4 kB / 0.7689 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.062e-05/0.1903, allocations: 4.859 kB / 0.7689 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1903, allocations: 3.984 kB / 0.7689 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.147e-05/0.1903, allocations: 37.64 kB / 0.769 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1903, allocations: 4 kB / 0.769 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.1904, allocations: 11.92 kB / 0.769 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1904, allocations: 0 / 0.769 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.208e-05/0.1904, allocations: 0 / 0.769 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.1904, allocations: 8.094 kB / 0.769 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.677e-06/0.1904, allocations: 0 / 0.769 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.1905, allocations: 0 / 0.769 GB, free: 5.449 MB / 0.5606 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 6.972e-05/0.1905, allocations: 110.5 kB / 0.7691 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.1905, allocations: 7.984 kB / 0.7691 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.422e-05/0.1906, allocations: 40.7 kB / 0.7691 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1906, allocations: 4 kB / 0.7692 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1906, allocations: 0 / 0.7692 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1906, allocations: 11.91 kB / 0.7692 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.1908, allocations: 145.7 kB / 0.7693 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1908, allocations: 0 / 0.7693 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.1908, allocations: 4 kB / 0.7693 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1908, allocations: 0 / 0.7693 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1908, allocations: 3.938 kB / 0.7693 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1908, allocations: 0 / 0.7693 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1908, allocations: 0 / 0.7693 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.418e-05/0.1909, allocations: 61.12 kB / 0.7694 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.1909, allocations: 81.11 kB / 0.7694 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.1909, allocations: 3.938 kB / 0.7694 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-06/0.1909, allocations: 0 / 0.7694 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.191, allocations: 0 / 0.7694 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.191, allocations: 0 / 0.7694 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.191, allocations: 75.28 kB / 0.7695 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.191, allocations: 0 / 0.7695 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002382/0.1913, allocations: 27.94 kB / 0.7695 GB, free: 4.785 MB / 0.5606 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.0005165/0.1918, allocations: 0.6474 MB / 0.7702 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.22e-05/0.1918, allocations: 4 kB / 0.7702 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1919, allocations: 0 / 0.7702 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-06/0.1919, allocations: 7.922 kB / 0.7702 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.192, allocations: 4 kB / 0.7702 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.1923, allocations: 118.6 kB / 0.7703 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.1926, allocations: 0.6729 MB / 0.771 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.927e-06/0.1926, allocations: 128 / 0.771 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/0.1926, allocations: 11.44 kB / 0.771 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1926, allocations: 0 / 0.771 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.2133, allocations: 1.419 MB / 0.7724 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/7.902, allocations: 12.16 kB / 0.7724 GB, free: 1.902 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)