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.00494/0.00494, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001134/0.001134, allocations: 197.8 kB / 16.68 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00236/0.00236, allocations: 287.1 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9887/0.9887, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 92.28 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1678, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002439/0.1702, allocations: 1.427 MB / 0.7673 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006439/0.1709, allocations: 347.6 kB / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.171, allocations: 0 / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.171, allocations: 0 / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.1711, allocations: 7.922 kB / 0.7676 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.1715, allocations: 99.72 kB / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.904e-05/0.1716, allocations: 35.86 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.1717, allocations: 3.984 kB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.358e-05/0.1718, allocations: 11.98 kB / 0.7678 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.1718, allocations: 11.94 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.1718, allocations: 0 / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.172, allocations: 123.8 kB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.172, allocations: 4 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.1721, allocations: 7.938 kB / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1723, allocations: 87.97 kB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1723, allocations: 4 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1723, allocations: 0 / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1723, allocations: 0 / 0.768 GB, free: 6.762 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.0004515/0.1727, allocations: 355.3 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1728, allocations: 8.031 kB / 0.7684 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.1728, allocations: 38.73 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.1729, allocations: 4.938 kB / 0.7684 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.173, allocations: 164.3 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.173, allocations: 384 / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.173, allocations: 8.375 kB / 0.7686 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1732, allocations: 50.17 kB / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1732, allocations: 3.938 kB / 0.7686 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.1732, allocations: 4 kB / 0.7686 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1732, allocations: 0 / 0.7686 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.1734, allocations: 31.95 kB / 0.7687 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.1737, allocations: 248.9 kB / 0.7689 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1738, allocations: 38.5 kB / 0.7689 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.904e-05/0.1739, allocations: 32.83 kB / 0.769 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006532/0.1746, allocations: 453.5 kB / 0.7694 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1746, allocations: 30.56 kB / 0.7694 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1746, allocations: 4 kB / 0.7694 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003523/0.175, allocations: 77.64 kB / 0.7695 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.175, allocations: 59.47 kB / 0.7696 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.398e-05/0.1751, allocations: 105.8 kB / 0.7697 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.1751, allocations: 25.7 kB / 0.7697 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.1752, allocations: 80.14 kB / 0.7698 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.1752, allocations: 11.94 kB / 0.7698 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.1752, allocations: 13.72 kB / 0.7698 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.1753, allocations: 314.8 kB / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.1754, allocations: 23.92 kB / 0.7701 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.1755, allocations: 15.98 kB / 0.7701 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.1757, allocations: 36.81 kB / 0.7702 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1757, allocations: 3.938 kB / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001921/0.1759, allocations: 69.67 kB / 0.7702 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1759, allocations: 8.031 kB / 0.7702 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1759, allocations: 4 kB / 0.7702 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1759, allocations: 192 / 0.7702 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/0.176, allocations: 7.984 kB / 0.7702 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.176, allocations: 0 / 0.7702 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.1761, allocations: 11.92 kB / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.1761, allocations: 3.984 kB / 0.7703 GB, free: 4.133 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 6.581e-05/0.1762, allocations: 114.4 kB / 0.7704 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.1762, allocations: 7.953 kB / 0.7704 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.1764, allocations: 72.78 kB / 0.7705 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1764, allocations: 0 / 0.7705 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1764, allocations: 4 kB / 0.7705 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1764, allocations: 0 / 0.7705 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1766, allocations: 161.6 kB / 0.7706 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1766, allocations: 0 / 0.7706 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.1767, allocations: 11.98 kB / 0.7706 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1767, allocations: 4.031 kB / 0.7706 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1767, allocations: 0 / 0.7706 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1767, allocations: 0 / 0.7706 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1767, allocations: 0 / 0.7706 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1769, allocations: 167.4 kB / 0.7708 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.177, allocations: 77.11 kB / 0.7709 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.177, allocations: 4.031 kB / 0.7709 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.1771, allocations: 7.984 kB / 0.7709 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1771, allocations: 7.938 kB / 0.7709 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1771, allocations: 0 / 0.7709 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.76e-05/0.1772, allocations: 79.28 kB / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1772, allocations: 0 / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002647/0.1774, allocations: 35.92 kB / 0.771 GB, free: 3.297 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.0006066/0.1781, allocations: 0.7396 MB / 0.7717 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1783, allocations: 31.97 kB / 0.7717 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1783, allocations: 0 / 0.7717 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.1784, allocations: 19.97 kB / 0.7718 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.1786, allocations: 8 kB / 0.7718 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.179, allocations: 147.1 kB / 0.7719 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.1792, allocations: 0.6807 MB / 0.7726 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.032e-05/0.1792, allocations: 0 / 0.7726 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.1793, allocations: 15.38 kB / 0.7726 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1793, allocations: 0 / 0.7726 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3495/0.5287, allocations: 1.765 MB / 0.7743 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.87, allocations: 7.438 kB / 0.7743 GB, free: 14.63 MB / 0.5606 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)