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.007801/0.007801, allocations: 96.75 kB / 15.73 MB, free: 6.035 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.00207/0.002071, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002498/0.002498, allocations: 286.4 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.117/1.117, allocations: 178.6 MB / 0.5074 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 98.66 kB / 0.6943 GB, free: 3.625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.4902, allocations: 89.14 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002879/0.4931, allocations: 1.439 MB / 0.7827 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000724/0.4939, allocations: 343.9 kB / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.4939, allocations: 1.5 kB / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.494, allocations: 4.641 kB / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.839e-05/0.494, allocations: 7.922 kB / 0.7831 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.4945, allocations: 96.05 kB / 0.7832 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.204e-05/0.4946, allocations: 27.5 kB / 0.7832 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.4947, allocations: 6.906 kB / 0.7832 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.4947, allocations: 9.297 kB / 0.7832 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.185e-05/0.4947, allocations: 10.7 kB / 0.7832 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.4948, allocations: 5.531 kB / 0.7832 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.495, allocations: 127.8 kB / 0.7834 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.4951, allocations: 1.453 kB / 0.7834 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.4951, allocations: 12.11 kB / 0.7834 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.4953, allocations: 82.81 kB / 0.7835 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4953, allocations: 0.6562 kB / 0.7835 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4953, allocations: 0 / 0.7835 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.4953, allocations: 0 / 0.7835 GB, free: 12.48 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.0005815/0.4959, allocations: 361.4 kB / 0.7838 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.496, allocations: 8.781 kB / 0.7838 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.496, allocations: 35.78 kB / 0.7838 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.4961, allocations: 2.875 kB / 0.7838 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.4962, allocations: 170.7 kB / 0.784 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.4963, allocations: 5.438 kB / 0.784 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.4963, allocations: 1.469 kB / 0.784 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.4965, allocations: 48.95 kB / 0.7841 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.4965, allocations: 5.891 kB / 0.7841 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.4965, allocations: 4 kB / 0.7841 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4965, allocations: 0 / 0.7841 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.4967, allocations: 33.34 kB / 0.7841 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.4972, allocations: 250 kB / 0.7843 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.4973, allocations: 40.33 kB / 0.7844 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.512e-05/0.4974, allocations: 24.56 kB / 0.7844 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008217/0.4982, allocations: 460.7 kB / 0.7848 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.4983, allocations: 32.22 kB / 0.7849 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.4983, allocations: 4 kB / 0.7849 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004/0.4987, allocations: 83.62 kB / 0.785 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.4988, allocations: 53.22 kB / 0.785 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.4989, allocations: 101 kB / 0.7851 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.4989, allocations: 25.7 kB / 0.7851 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.499, allocations: 81.92 kB / 0.7852 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.499, allocations: 13.77 kB / 0.7852 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.499, allocations: 17.88 kB / 0.7852 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4992, allocations: 311.6 kB / 0.7855 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.4993, allocations: 18.55 kB / 0.7855 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.4993, allocations: 18.28 kB / 0.7856 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.4995, allocations: 41 kB / 0.7856 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4995, allocations: 3.938 kB / 0.7856 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.4997, allocations: 71.56 kB / 0.7857 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4998, allocations: 5.562 kB / 0.7857 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4998, allocations: 0.8906 kB / 0.7857 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4998, allocations: 0 / 0.7857 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.4999, allocations: 9.031 kB / 0.7857 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4999, allocations: 5.312 kB / 0.7857 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.4999, allocations: 5.5 kB / 0.7857 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.5, allocations: 1.094 kB / 0.7857 GB, free: 10.23 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.287e-05/0.5, allocations: 115.9 kB / 0.7858 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.5001, allocations: 5.141 kB / 0.7858 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.5003, allocations: 75.62 kB / 0.7859 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5003, allocations: 5.156 kB / 0.7859 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5003, allocations: 0.6562 kB / 0.7859 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5003, allocations: 0 / 0.7859 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.5005, allocations: 160.6 kB / 0.7861 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5005, allocations: 0.6562 kB / 0.7861 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.5006, allocations: 8.703 kB / 0.7861 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.5006, allocations: 0 / 0.7861 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.5006, allocations: 0.6094 kB / 0.7861 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5006, allocations: 1.344 kB / 0.7861 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5006, allocations: 0 / 0.7861 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.5009, allocations: 164.2 kB / 0.7862 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.5009, allocations: 81.09 kB / 0.7863 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.501, allocations: 6.234 kB / 0.7863 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.501, allocations: 6.453 kB / 0.7863 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.5011, allocations: 6.203 kB / 0.7863 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5011, allocations: 0.5156 kB / 0.7863 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.5011, allocations: 87.06 kB / 0.7864 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5011, allocations: 1.531 kB / 0.7864 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002525/0.5014, allocations: 28.36 kB / 0.7864 GB, free: 9.527 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.0007124/0.5021, allocations: 0.7346 MB / 0.7871 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.5024, allocations: 43.39 kB / 0.7872 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5024, allocations: 0 / 0.7872 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.327e-05/0.5025, allocations: 16.83 kB / 0.7872 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.5027, allocations: 11.98 kB / 0.7872 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.5031, allocations: 134.6 kB / 0.7873 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.5035, allocations: 0.6759 MB / 0.788 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.5035, allocations: 2.234 kB / 0.788 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.5035, allocations: 13.72 kB / 0.788 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.5035, allocations: 0 / 0.788 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.5268, allocations: 1.768 MB / 0.7897 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.319, allocations: 14.5 kB / 0.7898 GB, free: 7.555 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)