Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.00482/0.00482, allocations: 99.95 kB / 15.73 MB, free: 6.016 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.001242/0.001243, allocations: 187.8 kB / 16.67 MB, free: 5.93 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002431/0.002431, allocations: 287 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.008/1.008, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 99.86 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4489, allocations: 86.98 MB / 0.7659 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002518/0.4515, allocations: 1.414 MB / 0.7673 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007077/0.4522, allocations: 351.7 kB / 0.7676 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.4522, allocations: 0 / 0.7676 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.4523, allocations: 0 / 0.7676 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.4523, allocations: 3.938 kB / 0.7676 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.4527, allocations: 99.66 kB / 0.7677 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.6e-05/0.4528, allocations: 23.92 kB / 0.7678 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.4529, allocations: 11.98 kB / 0.7678 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.453, allocations: 11.98 kB / 0.7678 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.453, allocations: 11.94 kB / 0.7678 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.453, allocations: 0 / 0.7678 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.4533, allocations: 123.8 kB / 0.7679 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.4533, allocations: 4 kB / 0.7679 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.4533, allocations: 11.94 kB / 0.7679 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.4535, allocations: 85.3 kB / 0.768 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4535, allocations: 0 / 0.768 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4535, allocations: 0 / 0.768 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.4535, allocations: 3.938 kB / 0.768 GB, free: 1.703 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005089/0.454, allocations: 366.8 kB / 0.7684 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4541, allocations: 8.031 kB / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.4541, allocations: 34.75 kB / 0.7684 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.4542, allocations: 4.938 kB / 0.7684 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.4543, allocations: 168.3 kB / 0.7686 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.4543, allocations: 384 / 0.7686 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/0.4543, allocations: 384 / 0.7686 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.4545, allocations: 54.23 kB / 0.7686 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4545, allocations: 3.938 kB / 0.7686 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.4546, allocations: 0 / 0.7686 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4546, allocations: 4 kB / 0.7686 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.4547, allocations: 31.95 kB / 0.7687 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.4551, allocations: 244.9 kB / 0.7689 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.4552, allocations: 46.48 kB / 0.7689 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.4553, allocations: 24.91 kB / 0.769 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007209/0.4561, allocations: 453.5 kB / 0.7694 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.4561, allocations: 34.55 kB / 0.7694 GB, free: 15.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 3.066e-06/0.4561, allocations: 3.984 kB / 0.7694 GB, free: 15.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003617/0.4565, allocations: 81.59 kB / 0.7695 GB, free: 15.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.4565, allocations: 55.39 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.4566, allocations: 102 kB / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.4567, allocations: 29.7 kB / 0.7697 GB, free: 15.69 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.4567, allocations: 84.12 kB / 0.7698 GB, free: 15.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.4567, allocations: 11.89 kB / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.4568, allocations: 17.7 kB / 0.7698 GB, free: 15.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4569, allocations: 310.8 kB / 0.7701 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.457, allocations: 19.92 kB / 0.7701 GB, free: 15.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.621e-05/0.4571, allocations: 19.98 kB / 0.7701 GB, free: 15.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.4573, allocations: 36.81 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.4573, allocations: 7.875 kB / 0.7702 GB, free: 15.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002002/0.4575, allocations: 65.67 kB / 0.7702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4575, allocations: 7.984 kB / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.4575, allocations: 0 / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4575, allocations: 8.094 kB / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.4576, allocations: 4 kB / 0.7703 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.4576, allocations: 0 / 0.7703 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.322e-05/0.4577, allocations: 7.984 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.4577, allocations: 0 / 0.7703 GB, free: 15.07 MB / 0.545 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 8.417e-05/0.4578, allocations: 113.8 kB / 0.7704 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.4578, allocations: 3.953 kB / 0.7704 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.458, allocations: 76.72 kB / 0.7704 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4581, allocations: 11.92 kB / 0.7705 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4581, allocations: 0 / 0.7705 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4581, allocations: 0 / 0.7705 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.4583, allocations: 157.6 kB / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4583, allocations: 0 / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.4583, allocations: 11.98 kB / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4583, allocations: 0 / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.4584, allocations: 0 / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4584, allocations: 4.031 kB / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4584, allocations: 0 / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.4586, allocations: 169.2 kB / 0.7708 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.4587, allocations: 81.11 kB / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.4587, allocations: 0 / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.4588, allocations: 7.984 kB / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.4588, allocations: 8.031 kB / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.4588, allocations: 0 / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.903e-05/0.4589, allocations: 87.27 kB / 0.771 GB, free: 14.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4589, allocations: 0 / 0.771 GB, free: 14.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002498/0.4592, allocations: 27.94 kB / 0.771 GB, free: 14.23 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 (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.0006951/0.4599, allocations: 0.7318 MB / 0.7717 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.4601, allocations: 43.92 kB / 0.7717 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4601, allocations: 0 / 0.7717 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.519e-05/0.4602, allocations: 19.98 kB / 0.7718 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.4604, allocations: 4 kB / 0.7718 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.4608, allocations: 135.1 kB / 0.7719 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.4612, allocations: 0.6808 MB / 0.7726 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.491e-05/0.4612, allocations: 7.906 kB / 0.7726 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.4612, allocations: 11.44 kB / 0.7726 GB, free: 12.5 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4613, allocations: 0 / 0.7726 GB, free: 12.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.4836, allocations: 1.766 MB / 0.7743 GB, free: 10.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.21, allocations: 12.25 kB / 0.7743 GB, free: 10.82 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)