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.006239/0.006238, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001289/0.001289, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00242/0.00242, allocations: 286.5 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002742, allocations: 92.19 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1771, allocations: 86.97 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002573/0.1797, allocations: 1.431 MB / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006895/0.1804, allocations: 355.7 kB / 0.7676 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.1805, allocations: 0 / 0.7676 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.1805, allocations: 3.938 kB / 0.7677 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.1806, allocations: 7.938 kB / 0.7677 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.181, allocations: 109.8 kB / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.18e-05/0.1811, allocations: 23.92 kB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.578e-05/0.1812, allocations: 7.984 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.1812, allocations: 11.98 kB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.75e-05/0.1812, allocations: 3.938 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1813, allocations: 4 kB / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.1815, allocations: 127.8 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.1815, allocations: 7.984 kB / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.1815, allocations: 11.94 kB / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.1818, allocations: 91.97 kB / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1818, allocations: 0 / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1818, allocations: 0 / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1818, allocations: 0 / 0.768 GB, free: 6.719 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.0005077/0.1823, allocations: 359.2 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1823, allocations: 8.031 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.1824, allocations: 38.69 kB / 0.7684 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.942e-05/0.1824, allocations: 0.9375 kB / 0.7684 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1826, allocations: 168.3 kB / 0.7686 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.1826, allocations: 4.375 kB / 0.7686 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1826, allocations: 384 / 0.7686 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1828, allocations: 50.23 kB / 0.7686 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1828, allocations: 7.875 kB / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1828, allocations: 0 / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1828, allocations: 0 / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.183, allocations: 39.95 kB / 0.7687 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.1833, allocations: 248.9 kB / 0.7689 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1834, allocations: 42.53 kB / 0.769 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.1835, allocations: 20.91 kB / 0.769 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007518/0.1843, allocations: 473.5 kB / 0.7694 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1843, allocations: 38.5 kB / 0.7695 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 2.846e-06/0.1843, allocations: 0 / 0.7695 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003339/0.1847, allocations: 85.58 kB / 0.7696 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.1847, allocations: 51.41 kB / 0.7696 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.1848, allocations: 102 kB / 0.7697 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1848, allocations: 25.7 kB / 0.7697 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.1849, allocations: 88.14 kB / 0.7698 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1849, allocations: 3.953 kB / 0.7698 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.1849, allocations: 13.84 kB / 0.7698 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1851, allocations: 318.8 kB / 0.7701 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.1852, allocations: 15.98 kB / 0.7701 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.057e-05/0.1852, allocations: 15.92 kB / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1854, allocations: 44.88 kB / 0.7702 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1854, allocations: 7.938 kB / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.1856, allocations: 61.67 kB / 0.7703 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1856, allocations: 4 kB / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1856, allocations: 48 / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1856, allocations: 3.984 kB / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.1857, allocations: 11.98 kB / 0.7703 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1857, allocations: 0 / 0.7703 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.1858, allocations: 12.02 kB / 0.7703 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1858, allocations: 0 / 0.7703 GB, free: 4.074 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 8.031e-05/0.1859, allocations: 114.4 kB / 0.7704 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1859, allocations: 7.953 kB / 0.7704 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.1862, allocations: 68.78 kB / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1862, allocations: 0 / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1862, allocations: 0 / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1862, allocations: 8.031 kB / 0.7705 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.1864, allocations: 165.5 kB / 0.7707 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1864, allocations: 0 / 0.7707 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.1864, allocations: 7.984 kB / 0.7707 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1864, allocations: 0 / 0.7707 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1865, allocations: 0 / 0.7707 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1865, allocations: 4 kB / 0.7707 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1865, allocations: 0 / 0.7707 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.1867, allocations: 171.4 kB / 0.7708 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.1868, allocations: 77.11 kB / 0.7709 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1868, allocations: 0 / 0.7709 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.1869, allocations: 11.92 kB / 0.7709 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.1869, allocations: 0 / 0.7709 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1869, allocations: 0 / 0.7709 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.187, allocations: 83.28 kB / 0.771 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.187, allocations: 4.031 kB / 0.771 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002576/0.1872, allocations: 31.92 kB / 0.771 GB, free: 3.238 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.0006756/0.1879, allocations: 0.7396 MB / 0.7717 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.1881, allocations: 31.97 kB / 0.7718 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1881, allocations: 0 / 0.7718 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.1882, allocations: 28.03 kB / 0.7718 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.1884, allocations: 2.969 kB / 0.7718 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.1888, allocations: 143.1 kB / 0.7719 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1891, allocations: 0.6768 MB / 0.7726 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.2e-05/0.1892, allocations: 3.938 kB / 0.7726 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.1892, allocations: 15.44 kB / 0.7726 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1892, allocations: 4.062 kB / 0.7726 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3398/0.5291, allocations: 1.776 MB / 0.7744 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/8.157, allocations: 5.531 kB / 0.7744 GB, free: 14.57 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)