Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_latest_Buildings_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.001594/0.001594, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.806/2.806, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001325, allocations: 68.86 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2906, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001778/0.2924, allocations: 0.5712 MB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.2944, allocations: 1.612 MB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.2944, allocations: 3.938 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.2944, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.4e-05/0.2945, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006631/0.2952, allocations: 203.4 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.2952, allocations: 23.98 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.2953, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.089e-05/0.2953, allocations: 11.97 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.944e-05/0.2954, allocations: 15.94 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.2954, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004689/0.2958, allocations: 271.5 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.2959, allocations: 4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.2959, allocations: 15.92 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.2962, allocations: 163.7 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2962, allocations: 3.938 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2962, allocations: 0 / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2962, allocations: 0 / 1.067 GB, free: 11.59 MB / 0.8262 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.0003484/0.2966, allocations: 371.7 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2966, allocations: 8.031 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.715e-05/0.2967, allocations: 34.75 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008391/0.2975, allocations: 68.86 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2976, allocations: 172.3 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.2977, allocations: 384 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.2977, allocations: 384 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.2979, allocations: 89.72 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2979, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.2979, allocations: 7.922 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2979, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.2981, allocations: 91.81 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.2983, allocations: 177.6 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.2985, allocations: 90.56 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/0.2986, allocations: 40.95 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.2986, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.2986, allocations: 38.5 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.2986, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0003245/0.299, allocations: 145.4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.299, allocations: 51.41 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.106e-05/0.2991, allocations: 109.8 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2991, allocations: 29.64 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.2991, allocations: 84.14 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.2992, allocations: 15.75 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.2992, allocations: 25.69 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.2993, allocations: 322.8 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.2994, allocations: 27.97 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.2995, allocations: 31.97 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2996, allocations: 72.81 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2996, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002082/0.2998, allocations: 121.5 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2998, allocations: 4 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2999, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2999, allocations: 0.6875 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.3001, allocations: 19.97 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3001, allocations: 0 / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.3002, allocations: 8 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.3002, allocations: 3.984 kB / 1.069 GB, free: 9.137 MB / 0.8262 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 7.837e-05/0.3003, allocations: 117.8 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.3003, allocations: 15.78 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/0.3007, allocations: 214.8 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3008, allocations: 4 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3008, allocations: 0 / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3008, allocations: 4 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.3009, allocations: 221.5 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3009, allocations: 0 / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.3011, allocations: 27.92 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3011, allocations: 0 / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3011, allocations: 4 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3012, allocations: 3.984 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3012, allocations: 3.938 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.3014, allocations: 193.8 kB / 1.069 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.3015, allocations: 88.89 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3015, allocations: 4 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.3016, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.3016, allocations: 7.984 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3017, allocations: 4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.3017, allocations: 87.27 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3017, allocations: 0 / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002959/0.302, allocations: 64 kB / 1.07 GB, free: 7.992 MB / 0.8262 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.0007561/0.3028, allocations: 0.8176 MB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.303, allocations: 112 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.303, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.3031, allocations: 79.91 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.3033, allocations: 8.5 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.3039, allocations: 279.8 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.3041, allocations: 0.6924 MB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.937e-05/0.3042, allocations: 28.11 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.3043, allocations: 27.41 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3043, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.3239, allocations: 3.631 MB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.745/9.069, allocations: 7.625 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.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 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)