Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.009533/0.009533, allocations: 98.42 kB / 15.73 MB, free: 5.602 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.002153/0.002153, allocations: 196.1 kB / 16.68 MB, free: 5.523 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002458/0.002458, allocations: 282.6 kB / 290.8 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.154/1.154, allocations: 178.6 MB / 0.5074 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 97.59 kB / 0.6943 GB, free: 3.531 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.5248, allocations: 89.15 MB / 0.7814 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001641/0.5265, allocations: 0.5924 MB / 0.782 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006453/0.5272, allocations: 301.3 kB / 0.7823 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.203e-05/0.5272, allocations: 0 / 0.7823 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.5272, allocations: 0 / 0.7823 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-06/0.5272, allocations: 2.375 kB / 0.7823 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.5277, allocations: 101.4 kB / 0.7824 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.476e-05/0.5278, allocations: 5.219 kB / 0.7824 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.5278, allocations: 2.125 kB / 0.7824 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.574e-05/0.5278, allocations: 5.953 kB / 0.7824 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.038e-05/0.5279, allocations: 7.938 kB / 0.7824 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.332e-06/0.5279, allocations: 0 / 0.7824 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.5281, allocations: 124 kB / 0.7825 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.948e-06/0.5282, allocations: 5.391 kB / 0.7825 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.5282, allocations: 0 / 0.7825 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.5284, allocations: 69.97 kB / 0.7826 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5284, allocations: 0 / 0.7826 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5284, allocations: 0 / 0.7826 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.5284, allocations: 0 / 0.7826 GB, free: 13.17 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003348/0.5287, allocations: 328.7 kB / 0.7829 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.5288, allocations: 13.84 kB / 0.7829 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.5288, allocations: 35.83 kB / 0.7829 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.034e-05/0.5289, allocations: 2.5 kB / 0.7829 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.529, allocations: 161.5 kB / 0.7831 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.529, allocations: 384 / 0.7831 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-06/0.529, allocations: 1.438 kB / 0.7831 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.032e-05/0.5291, allocations: 30.52 kB / 0.7831 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5291, allocations: 3.938 kB / 0.7831 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.5291, allocations: 0 / 0.7831 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5291, allocations: 4.703 kB / 0.7831 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.677e-05/0.5292, allocations: 3.938 kB / 0.7831 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.5293, allocations: 153.5 kB / 0.7833 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.068e-05/0.5294, allocations: 17.14 kB / 0.7833 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.5294, allocations: 9.547 kB / 0.7833 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008292/0.5302, allocations: 473.2 kB / 0.7837 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.5303, allocations: 31.22 kB / 0.7838 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5303, allocations: 0.875 kB / 0.7838 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.5305, allocations: 39.55 kB / 0.7838 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.5305, allocations: 56.19 kB / 0.7839 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.5306, allocations: 92.45 kB / 0.784 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.5306, allocations: 25.7 kB / 0.784 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.5306, allocations: 80.14 kB / 0.7841 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.5307, allocations: 8.5 kB / 0.7841 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.5307, allocations: 15.27 kB / 0.7841 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.5309, allocations: 313.8 kB / 0.7844 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.5309, allocations: 0 / 0.7844 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.936e-06/0.5309, allocations: 10.31 kB / 0.7844 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.5309, allocations: 6.625 kB / 0.7844 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5309, allocations: 0 / 0.7844 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.466e-05/0.531, allocations: 37.08 kB / 0.7844 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.531, allocations: 5.25 kB / 0.7844 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.531, allocations: 3.938 kB / 0.7844 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5311, allocations: 1.828 kB / 0.7844 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.78e-05/0.5311, allocations: 1.062 kB / 0.7844 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5311, allocations: 2.062 kB / 0.7844 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-06/0.5311, allocations: 4.094 kB / 0.7844 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.5311, allocations: 0 / 0.7844 GB, free: 11.07 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 (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 7.814e-05/0.5312, allocations: 112 kB / 0.7846 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-06/0.5312, allocations: 2.219 kB / 0.7846 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.883e-05/0.5313, allocations: 39.12 kB / 0.7846 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5313, allocations: 0 / 0.7846 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5313, allocations: 0.6094 kB / 0.7846 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5313, allocations: 0 / 0.7846 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.5315, allocations: 157 kB / 0.7847 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5315, allocations: 0 / 0.7847 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.297e-05/0.5315, allocations: 2.672 kB / 0.7847 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5315, allocations: 0.6562 kB / 0.7847 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.5315, allocations: 9.047 kB / 0.7848 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5315, allocations: 0 / 0.7848 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5315, allocations: 4.641 kB / 0.7848 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.783e-05/0.5316, allocations: 53.7 kB / 0.7848 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.5317, allocations: 81.75 kB / 0.7849 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.5317, allocations: 9.703 kB / 0.7849 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.5317, allocations: 0 / 0.7849 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.5317, allocations: 5.812 kB / 0.7849 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.5317, allocations: 0 / 0.7849 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.305e-05/0.5318, allocations: 76.53 kB / 0.785 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5318, allocations: 0 / 0.785 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002514/0.532, allocations: 26.31 kB / 0.785 GB, free: 10.45 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 (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.0005241/0.5325, allocations: 0.6412 MB / 0.7856 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.691e-05/0.5326, allocations: 3.016 kB / 0.7856 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.5326, allocations: 0 / 0.7856 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-06/0.5326, allocations: 2.75 kB / 0.7856 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.5328, allocations: 5.219 kB / 0.7856 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.5331, allocations: 118.4 kB / 0.7858 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.5334, allocations: 0.6712 MB / 0.7864 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.076e-05/0.5334, allocations: 0.75 kB / 0.7864 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.5334, allocations: 12.97 kB / 0.7864 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5334, allocations: 0 / 0.7864 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.5553, allocations: 1.417 MB / 0.7878 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/8.291, allocations: 3.859 kB / 0.7878 GB, free: 8.617 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.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_Functions_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)