Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001137/0.001137, 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.001158/0.001158, allocations: 192.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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.6068, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001821/0.6087, allocations: 0.5679 MB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.6107, allocations: 1.603 MB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.6108, allocations: 4 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.6108, allocations: 0 / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.516e-05/0.6109, allocations: 0 / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.6115, allocations: 207.3 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.68e-05/0.6116, allocations: 19.98 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.6116, allocations: 3.984 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.772e-05/0.6117, allocations: 8 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.893e-05/0.6117, allocations: 7.984 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.6117, allocations: 0 / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004857/0.6122, allocations: 279.5 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.959e-05/0.6123, allocations: 15.92 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.6123, allocations: 11.88 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.6126, allocations: 167.6 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6126, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6126, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.6126, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 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.0003654/0.613, allocations: 365.7 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.613, allocations: 15.98 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.6131, allocations: 30.75 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008146/0.6139, allocations: 72.86 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.614, allocations: 172.3 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.614, allocations: 4.312 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.6141, allocations: 4.375 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.6142, allocations: 85.73 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.6142, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.6143, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.6143, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.6145, allocations: 83.88 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.6147, allocations: 193.4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.6149, allocations: 86.44 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.6149, allocations: 48.95 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.615, allocations: 3.984 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.615, allocations: 34.5 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.615, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003357/0.6153, allocations: 141.6 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.6154, allocations: 51.41 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.6155, allocations: 110.1 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.6155, allocations: 25.7 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.6155, allocations: 88.14 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.6156, allocations: 15.75 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.6156, allocations: 25.69 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6157, allocations: 318.8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/0.6158, allocations: 31.97 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.6159, allocations: 27.97 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.616, allocations: 72.81 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.616, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002181/0.6163, allocations: 121.5 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.6163, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6163, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.6163, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.6165, allocations: 23.91 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.6165, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.6166, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.6167, allocations: 11.91 kB / 1.022 GB, free: 13.12 MB / 0.7794 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.889e-05/0.6168, allocations: 117.8 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.6168, allocations: 11.94 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.6172, allocations: 215.7 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-06/0.6172, allocations: 4 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.6172, allocations: 7.938 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.6172, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.6174, allocations: 213.5 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6174, allocations: 4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.6176, allocations: 27.88 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.6176, allocations: 3.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.6176, allocations: 8 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6176, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6176, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.6179, allocations: 185 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.618, allocations: 84.95 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.618, allocations: 11.94 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.47e-05/0.6181, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.6181, allocations: 7.984 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.6181, allocations: 8 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.6182, allocations: 83.27 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6182, allocations: 4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002964/0.6185, allocations: 67.98 kB / 1.023 GB, free: 11.97 MB / 0.7794 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.0007743/0.6193, allocations: 0.809 MB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.6195, allocations: 115.9 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6195, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.6196, allocations: 75.89 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.6198, allocations: 9.172 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.6204, allocations: 271.2 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.6206, allocations: 0.7039 MB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.907e-05/0.6208, allocations: 28.28 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.6208, allocations: 28.97 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6209, allocations: 0 / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.6441, allocations: 3.615 MB / 1.029 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/8.039, allocations: 6.812 kB / 1.029 GB, free: 6.418 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)