Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_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.006104/0.006104, allocations: 96.61 kB / 15.73 MB, free: 6.008 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.001337/0.001337, allocations: 196.1 kB / 16.67 MB, free: 5.941 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 305.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9423/0.9423, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 91.86 kB / 0.681 GB, free: 7.414 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.442, allocations: 86.98 MB / 0.7659 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001426/0.4435, allocations: 0.586 MB / 0.7665 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005228/0.444, allocations: 283 kB / 0.7668 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.047e-05/0.4441, allocations: 0 / 0.7668 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.4441, allocations: 0 / 0.7668 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.4441, allocations: 4 kB / 0.7668 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.4445, allocations: 97.86 kB / 0.7669 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.209e-05/0.4445, allocations: 3.984 kB / 0.7669 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.4446, allocations: 3.984 kB / 0.7669 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.06e-05/0.4446, allocations: 0 / 0.7669 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.578e-05/0.4446, allocations: 0 / 0.7669 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.363e-06/0.4446, allocations: 4 kB / 0.7669 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.4448, allocations: 119.8 kB / 0.767 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.945e-06/0.4448, allocations: 0 / 0.767 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.265e-05/0.4448, allocations: 3.938 kB / 0.767 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.445, allocations: 75.62 kB / 0.7671 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.445, allocations: 4 kB / 0.7671 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.445, allocations: 0 / 0.7671 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.445, allocations: 0 / 0.7671 GB, free: 2.656 MB / 0.5294 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.000261/0.4453, allocations: 328.7 kB / 0.7674 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.4453, allocations: 12.03 kB / 0.7674 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.43e-05/0.4453, allocations: 30.75 kB / 0.7674 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.757e-05/0.4454, allocations: 0.9375 kB / 0.7674 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.489e-05/0.4454, allocations: 160.4 kB / 0.7676 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.4455, allocations: 4.375 kB / 0.7676 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.4455, allocations: 4.375 kB / 0.7676 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.098e-05/0.4455, allocations: 30.27 kB / 0.7676 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.4456, allocations: 3.938 kB / 0.7676 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.4456, allocations: 0 / 0.7676 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.4456, allocations: 0 / 0.7676 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.535e-05/0.4456, allocations: 3.938 kB / 0.7676 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.4457, allocations: 153.7 kB / 0.7678 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.067e-05/0.4457, allocations: 22.52 kB / 0.7678 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.4458, allocations: 8.859 kB / 0.7678 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006247/0.4464, allocations: 457.5 kB / 0.7683 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.4464, allocations: 30.56 kB / 0.7683 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 2.895e-06/0.4464, allocations: 4 kB / 0.7683 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001228/0.4466, allocations: 41.58 kB / 0.7683 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.4466, allocations: 51.41 kB / 0.7684 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.914e-05/0.4466, allocations: 93.8 kB / 0.7685 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.4466, allocations: 29.7 kB / 0.7685 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.4467, allocations: 80.14 kB / 0.7686 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.4467, allocations: 3.953 kB / 0.7686 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.4467, allocations: 13.7 kB / 0.7686 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.4468, allocations: 319 kB / 0.7689 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-06/0.4468, allocations: 4 kB / 0.7689 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-06/0.4469, allocations: 0 / 0.7689 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.062e-05/0.4469, allocations: 8.859 kB / 0.7689 GB, free: 492 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4469, allocations: 0 / 0.7689 GB, free: 492 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.554e-05/0.4469, allocations: 33.64 kB / 0.7689 GB, free: 452 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.4469, allocations: 4 kB / 0.7689 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.447, allocations: 3.938 kB / 0.7689 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.447, allocations: 96 / 0.7689 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.423e-05/0.447, allocations: 11.98 kB / 0.769 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.447, allocations: 0 / 0.769 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.295e-06/0.447, allocations: 0 / 0.769 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.447, allocations: 0 / 0.769 GB, free: 432 kB / 0.5294 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.446e-05/0.4471, allocations: 113.8 kB / 0.7691 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.4471, allocations: 0 / 0.7691 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.4472, allocations: 44.69 kB / 0.7691 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4472, allocations: 0 / 0.7691 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.4472, allocations: 4.031 kB / 0.7691 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.4472, allocations: 3.984 kB / 0.7691 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.245e-05/0.4473, allocations: 141.7 kB / 0.7693 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4473, allocations: 4 kB / 0.7693 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/0.4473, allocations: 0 / 0.7693 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.4473, allocations: 0 / 0.7693 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.4473, allocations: 3.938 kB / 0.7693 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.4473, allocations: 0 / 0.7693 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4473, allocations: 3.984 kB / 0.7693 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.949e-05/0.4474, allocations: 61.14 kB / 0.7693 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.4474, allocations: 77.11 kB / 0.7694 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.4475, allocations: 3.938 kB / 0.7694 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-06/0.4475, allocations: 0 / 0.7694 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.4475, allocations: 7.875 kB / 0.7694 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.4475, allocations: 11.92 kB / 0.7694 GB, free: 15.85 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.227e-05/0.4475, allocations: 75.28 kB / 0.7695 GB, free: 15.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4475, allocations: 0 / 0.7695 GB, free: 15.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002028/0.4477, allocations: 23.94 kB / 0.7695 GB, free: 15.75 MB / 0.545 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.000406/0.4482, allocations: 0.6398 MB / 0.7701 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.576e-05/0.4482, allocations: 4 kB / 0.7701 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4482, allocations: 0 / 0.7701 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-06/0.4482, allocations: 7.938 kB / 0.7701 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.4484, allocations: 0 / 0.7701 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.4486, allocations: 118.6 kB / 0.7703 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.4488, allocations: 0.673 MB / 0.7709 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.528e-06/0.4488, allocations: 4 kB / 0.7709 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.4489, allocations: 7.438 kB / 0.7709 GB, free: 14.2 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.4489, allocations: 0 / 0.7709 GB, free: 14.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.4645, allocations: 1.4 MB / 0.7723 GB, free: 12.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/7.898, allocations: 8.562 kB / 0.7723 GB, free: 12.91 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0_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_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)