Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001491/0.001491, allocations: 108 kB / 15.61 MB, free: 152 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.002041/0.00204, allocations: 195 kB / 16.53 MB, free: 6.664 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.58/1.58, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 59.91 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7023/0.7045, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001689/0.7062, allocations: 0.5671 MB / 0.9503 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.708, allocations: 1.597 MB / 0.9519 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.708, allocations: 0.8438 kB / 0.9519 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.7081, allocations: 0 / 0.9519 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.408e-05/0.7081, allocations: 5.344 kB / 0.9519 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.7087, allocations: 201 kB / 0.9521 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.7087, allocations: 32.19 kB / 0.9521 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.7088, allocations: 3.984 kB / 0.9521 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.722e-05/0.7088, allocations: 4 kB / 0.9521 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.025e-05/0.7088, allocations: 11.98 kB / 0.9521 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.7089, allocations: 5.219 kB / 0.9521 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004123/0.7093, allocations: 263.9 kB / 0.9524 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.7093, allocations: 16.05 kB / 0.9524 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.7093, allocations: 14.12 kB / 0.9524 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.7096, allocations: 162 kB / 0.9526 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7096, allocations: 1.312 kB / 0.9526 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7096, allocations: 0 / 0.9526 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7096, allocations: 0 / 0.9526 GB, free: 7.082 MB / 0.7169 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.0002939/0.7099, allocations: 366.5 kB / 0.9529 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.71, allocations: 9.781 kB / 0.9529 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.656e-05/0.71, allocations: 31.88 kB / 0.9529 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007829/0.7108, allocations: 77.98 kB / 0.953 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.796e-05/0.7109, allocations: 174.7 kB / 0.9532 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.7109, allocations: 1.625 kB / 0.9532 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.7109, allocations: 1.594 kB / 0.9532 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.7111, allocations: 84.72 kB / 0.9533 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.7111, allocations: 4 kB / 0.9533 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.7111, allocations: 4 kB / 0.9533 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7111, allocations: 1.469 kB / 0.9533 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.7113, allocations: 81.16 kB / 0.9534 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.7114, allocations: 187.1 kB / 0.9535 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.7116, allocations: 93.56 kB / 0.9536 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.7117, allocations: 39.3 kB / 0.9537 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.7117, allocations: 5.344 kB / 0.9537 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.196e-05/0.7117, allocations: 36 kB / 0.9537 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.7117, allocations: 0 / 0.9537 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003039/0.712, allocations: 140.5 kB / 0.9538 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.7121, allocations: 56.56 kB / 0.9539 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.414e-05/0.7121, allocations: 108.9 kB / 0.954 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.7121, allocations: 30.86 kB / 0.954 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.995e-05/0.7122, allocations: 85.52 kB / 0.9541 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.7122, allocations: 18.23 kB / 0.9541 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.7122, allocations: 26.38 kB / 0.9542 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.7123, allocations: 313.1 kB / 0.9544 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.915e-05/0.7124, allocations: 30.59 kB / 0.9545 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/0.7124, allocations: 33.75 kB / 0.9545 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.7126, allocations: 75.55 kB / 0.9546 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7126, allocations: 0 / 0.9546 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001906/0.7128, allocations: 118.1 kB / 0.9547 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.7128, allocations: 9 kB / 0.9547 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.7128, allocations: 0 / 0.9547 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.7128, allocations: 1.25 kB / 0.9547 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.713, allocations: 18.03 kB / 0.9547 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.713, allocations: 1.438 kB / 0.9547 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.7131, allocations: 6.578 kB / 0.9547 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.7131, allocations: 6.156 kB / 0.9547 GB, free: 5.027 MB / 0.7169 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 5.715e-05/0.7132, allocations: 113.7 kB / 0.9548 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.7132, allocations: 5.188 kB / 0.9548 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.7136, allocations: 220.5 kB / 0.9551 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.7136, allocations: 2.5 kB / 0.9551 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7136, allocations: 4 kB / 0.9551 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7136, allocations: 1.625 kB / 0.9551 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.7138, allocations: 219 kB / 0.9553 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7138, allocations: 0 / 0.9553 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.7139, allocations: 37.98 kB / 0.9553 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7139, allocations: 1.156 kB / 0.9553 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.7139, allocations: 0.9688 kB / 0.9553 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.714, allocations: 0.9688 kB / 0.9553 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.714, allocations: 0 / 0.9553 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.7142, allocations: 194 kB / 0.9555 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.7142, allocations: 91.86 kB / 0.9556 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.7142, allocations: 1.344 kB / 0.9556 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.7143, allocations: 9.531 kB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.7144, allocations: 9.484 kB / 0.9556 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.7144, allocations: 6.828 kB / 0.9556 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.7144, allocations: 84.34 kB / 0.9557 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7144, allocations: 0 / 0.9557 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002737/0.7147, allocations: 65.61 kB / 0.9558 GB, free: 4.16 MB / 0.7169 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.0006089/0.7153, allocations: 0.8125 MB / 0.9566 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.7155, allocations: 116.4 kB / 0.9567 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7155, allocations: 0 / 0.9567 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.7156, allocations: 78.8 kB / 0.9567 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.7158, allocations: 8.875 kB / 0.9567 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.7163, allocations: 270 kB / 0.957 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.7164, allocations: 0.6967 MB / 0.9577 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.177e-05/0.7165, allocations: 39.39 kB / 0.9577 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.449e-05/0.7166, allocations: 26.02 kB / 0.9577 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7166, allocations: 0 / 0.9577 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.7361, allocations: 3.612 MB / 0.9613 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/8.201, allocations: 6.219 kB / 0.9613 GB, free: 0.5781 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)