Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",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.005447/0.005447, allocations: 98.83 kB / 15.73 MB, free: 6.031 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.001471/0.00147, allocations: 194 kB / 16.67 MB, free: 5.953 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.321/1.321, 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.002413/0.002413, allocations: 284.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.131/1.131, allocations: 178.5 MB / 0.5074 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 95.84 kB / 0.6944 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.384, allocations: 89.13 MB / 0.7814 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001386/0.3854, allocations: 0.563 MB / 0.782 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.3872, allocations: 1.598 MB / 0.7835 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.3873, allocations: 1.406 kB / 0.7835 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.3873, allocations: 0 / 0.7835 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.125e-05/0.3874, allocations: 0 / 0.7835 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.388, allocations: 202.6 kB / 0.7837 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.8e-05/0.3881, allocations: 30.94 kB / 0.7837 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.463e-05/0.3881, allocations: 1.5 kB / 0.7837 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.788e-05/0.3881, allocations: 10.62 kB / 0.7838 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.601e-05/0.3882, allocations: 8.047 kB / 0.7838 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.3882, allocations: 1.406 kB / 0.7838 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/0.3887, allocations: 280.3 kB / 0.784 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.3887, allocations: 4.469 kB / 0.784 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.3888, allocations: 17.55 kB / 0.784 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.389, allocations: 160.2 kB / 0.7842 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.389, allocations: 1.469 kB / 0.7842 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3891, allocations: 4 kB / 0.7842 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3891, allocations: 0 / 0.7842 GB, free: 15.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004089/0.3895, allocations: 368 kB / 0.7846 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3895, allocations: 13 kB / 0.7846 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.3896, allocations: 40.31 kB / 0.7846 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007258/0.3903, allocations: 74.34 kB / 0.7847 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3904, allocations: 169.4 kB / 0.7848 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3904, allocations: 5.5 kB / 0.7848 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.3905, allocations: 2.969 kB / 0.7849 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.3906, allocations: 83.53 kB / 0.7849 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3907, allocations: 3.984 kB / 0.7849 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3907, allocations: 1.281 kB / 0.7849 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3907, allocations: 4 kB / 0.7849 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.3909, allocations: 85.5 kB / 0.785 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.3911, allocations: 187.7 kB / 0.7852 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.3913, allocations: 82.89 kB / 0.7853 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.3914, allocations: 42.34 kB / 0.7853 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3914, allocations: 1.062 kB / 0.7853 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3914, allocations: 35.81 kB / 0.7854 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3914, allocations: 4 kB / 0.7854 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.000339/0.3918, allocations: 144.6 kB / 0.7855 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3918, allocations: 56.34 kB / 0.7855 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.3919, allocations: 101.7 kB / 0.7856 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3919, allocations: 25.7 kB / 0.7857 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.392, allocations: 85.22 kB / 0.7858 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.392, allocations: 18.39 kB / 0.7858 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.3921, allocations: 28.59 kB / 0.7858 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3922, allocations: 316.1 kB / 0.7861 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.3923, allocations: 30.81 kB / 0.7861 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.956e-05/0.3923, allocations: 31.44 kB / 0.7862 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.3925, allocations: 76.27 kB / 0.7862 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3925, allocations: 0 / 0.7862 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002057/0.3927, allocations: 117.5 kB / 0.7863 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3927, allocations: 5.594 kB / 0.7863 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.3927, allocations: 0.6875 kB / 0.7863 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3927, allocations: 1.5 kB / 0.7864 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.3929, allocations: 18 kB / 0.7864 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3929, allocations: 4 kB / 0.7864 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.896e-05/0.393, allocations: 7.406 kB / 0.7864 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.393, allocations: 9.984 kB / 0.7864 GB, free: 12.96 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 (5): * Single equations (assignments): 5 * 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.556e-05/0.3931, allocations: 113.5 kB / 0.7865 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.3932, allocations: 10.42 kB / 0.7865 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.3936, allocations: 215.2 kB / 0.7867 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3936, allocations: 6.469 kB / 0.7867 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3936, allocations: 0 / 0.7867 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3936, allocations: 9.172 kB / 0.7867 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.3938, allocations: 207.6 kB / 0.7869 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3938, allocations: 0 / 0.7869 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.394, allocations: 30.45 kB / 0.787 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.394, allocations: 0 / 0.787 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.394, allocations: 5.188 kB / 0.787 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.394, allocations: 1.125 kB / 0.787 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.394, allocations: 3.938 kB / 0.787 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.3943, allocations: 195.4 kB / 0.7871 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.3944, allocations: 95.27 kB / 0.7872 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.3944, allocations: 5.25 kB / 0.7872 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.3945, allocations: 2.438 kB / 0.7872 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.3945, allocations: 8.641 kB / 0.7873 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3945, allocations: 7.312 kB / 0.7873 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.3946, allocations: 81.03 kB / 0.7873 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3946, allocations: 0 / 0.7873 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002924/0.3949, allocations: 71.95 kB / 0.7874 GB, free: 12.09 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 (16): * Single equations (assignments): 16 * 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.0008068/0.3957, allocations: 0.8182 MB / 0.7882 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.3959, allocations: 107.5 kB / 0.7883 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3959, allocations: 0 / 0.7883 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.3961, allocations: 77.22 kB / 0.7884 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.3962, allocations: 14.03 kB / 0.7884 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.3968, allocations: 270 kB / 0.7887 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3971, allocations: 0.6924 MB / 0.7893 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.069e-05/0.3972, allocations: 31.28 kB / 0.7894 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.272e-05/0.3972, allocations: 35.02 kB / 0.7894 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.3972, allocations: 0 / 0.7894 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.421, allocations: 3.674 MB / 0.793 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.025, allocations: 9.375 kB / 0.793 GB, free: 8.477 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.csv --start-time 0.01 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005996 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)