Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.004711/0.004712, allocations: 101 kB / 15.73 MB, free: 6.059 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.001244/0.001244, allocations: 197.3 kB / 16.67 MB, free: 5.969 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002506/0.002506, allocations: 286 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.171/1.171, allocations: 178.5 MB / 0.5074 GB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 103.8 kB / 0.6943 GB, free: 15.17 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.44, allocations: 89.12 MB / 0.7813 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002148/0.4422, allocations: 1.437 MB / 0.7827 GB, free: 4 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.443, allocations: 360.6 kB / 0.7831 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.4431, allocations: 3.938 kB / 0.7831 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.4431, allocations: 1.25 kB / 0.7831 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.4432, allocations: 3.938 kB / 0.7831 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.4438, allocations: 111.1 kB / 0.7832 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.497e-05/0.4439, allocations: 27.58 kB / 0.7832 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.444, allocations: 3.469 kB / 0.7832 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.444, allocations: 7.438 kB / 0.7832 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.242e-05/0.4441, allocations: 14.33 kB / 0.7833 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.4441, allocations: 2.625 kB / 0.7833 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.4444, allocations: 129.8 kB / 0.7834 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.4445, allocations: 0 / 0.7834 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.4445, allocations: 22.28 kB / 0.7834 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.4448, allocations: 86.38 kB / 0.7835 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4448, allocations: 5.625 kB / 0.7835 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4448, allocations: 0 / 0.7835 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.4448, allocations: 0 / 0.7835 GB, free: 15.47 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006067/0.4454, allocations: 353.4 kB / 0.7838 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.4455, allocations: 10.78 kB / 0.7838 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.4455, allocations: 34.73 kB / 0.7839 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.4456, allocations: 2.344 kB / 0.7839 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.4457, allocations: 165.7 kB / 0.784 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.4457, allocations: 1.906 kB / 0.784 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.4458, allocations: 8.375 kB / 0.784 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.446, allocations: 50.3 kB / 0.7841 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.446, allocations: 3.938 kB / 0.7841 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.446, allocations: 4 kB / 0.7841 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.446, allocations: 1.375 kB / 0.7841 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.4462, allocations: 33.64 kB / 0.7841 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.4466, allocations: 245.1 kB / 0.7844 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.4467, allocations: 43.09 kB / 0.7844 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.4468, allocations: 23.11 kB / 0.7844 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008462/0.4477, allocations: 471.4 kB / 0.7849 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.4478, allocations: 31.69 kB / 0.7849 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.4478, allocations: 0 / 0.7849 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003784/0.4481, allocations: 84.61 kB / 0.785 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.4482, allocations: 51.41 kB / 0.785 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.4483, allocations: 107.6 kB / 0.7851 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.4483, allocations: 29.64 kB / 0.7852 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.4484, allocations: 81.27 kB / 0.7852 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.4484, allocations: 8.953 kB / 0.7853 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.4485, allocations: 15.94 kB / 0.7853 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4486, allocations: 316 kB / 0.7856 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.792e-05/0.4487, allocations: 24.81 kB / 0.7856 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.4488, allocations: 17.61 kB / 0.7856 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.449, allocations: 35.14 kB / 0.7856 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.449, allocations: 5.094 kB / 0.7856 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002025/0.4492, allocations: 75.52 kB / 0.7857 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4492, allocations: 6.25 kB / 0.7857 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4492, allocations: 0 / 0.7857 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.4492, allocations: 0 / 0.7857 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.4493, allocations: 13.86 kB / 0.7857 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4493, allocations: 1.562 kB / 0.7857 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.4494, allocations: 2.906 kB / 0.7857 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.4494, allocations: 5.297 kB / 0.7858 GB, free: 13.09 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 (2): * Single equations (assignments): 2 * 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 9.415e-05/0.4495, allocations: 118.9 kB / 0.7859 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.4495, allocations: 1.531 kB / 0.7859 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.4498, allocations: 66.97 kB / 0.7859 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4498, allocations: 0 / 0.7859 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4498, allocations: 0 / 0.7859 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4498, allocations: 1.25 kB / 0.7859 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.45, allocations: 165.7 kB / 0.7861 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.45, allocations: 4.031 kB / 0.7861 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.4501, allocations: 10.19 kB / 0.7861 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.4501, allocations: 1.25 kB / 0.7861 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.4501, allocations: 3.938 kB / 0.7861 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4501, allocations: 0 / 0.7861 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4501, allocations: 1.406 kB / 0.7861 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.4503, allocations: 162.1 kB / 0.7863 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.4504, allocations: 86.61 kB / 0.7863 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.4504, allocations: 0 / 0.7863 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.4505, allocations: 8 kB / 0.7864 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.4506, allocations: 5.547 kB / 0.7864 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.4506, allocations: 1.188 kB / 0.7864 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.4506, allocations: 78 kB / 0.7864 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4506, allocations: 0 / 0.7864 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002678/0.4509, allocations: 27.78 kB / 0.7865 GB, free: 12.36 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 (2): * Single equations (assignments): 2 * 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.0007242/0.4516, allocations: 0.741 MB / 0.7872 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.4519, allocations: 37.59 kB / 0.7872 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4519, allocations: 0 / 0.7872 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.452, allocations: 15.7 kB / 0.7872 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.4522, allocations: 14.42 kB / 0.7872 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.4527, allocations: 145.3 kB / 0.7874 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.453, allocations: 0.6762 MB / 0.788 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.4531, allocations: 1.125 kB / 0.788 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.4531, allocations: 9.719 kB / 0.7881 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.4531, allocations: 0 / 0.7881 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.4759, allocations: 1.786 MB / 0.7898 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.137, allocations: 10.89 kB / 0.7898 GB, free: 9.758 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)