Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.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.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",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.001493/0.001493, 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.001704/0.001704, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.394/2.394, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002192, allocations: 63.91 kB / 0.8127 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.5749, allocations: 140.4 MB / 0.9498 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.00201/0.577, allocations: 1.357 MB / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.578, allocations: 0.7913 MB / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.578, allocations: 0 / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.5781, allocations: 7.922 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.209e-05/0.5781, allocations: 9.484 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.5786, allocations: 169.3 kB / 0.952 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.028e-05/0.5787, allocations: 55.64 kB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.5787, allocations: 2.625 kB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.5788, allocations: 22.55 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.5788, allocations: 35.81 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.5788, allocations: 4.031 kB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.5791, allocations: 176.1 kB / 0.9523 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.5792, allocations: 6.75 kB / 0.9523 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.5792, allocations: 19.06 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.5794, allocations: 146.7 kB / 0.9525 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5794, allocations: 0 / 0.9525 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5794, allocations: 0 / 0.9525 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.5794, allocations: 0 / 0.9525 GB, free: 7.039 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003152/0.5798, allocations: 373.4 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.5798, allocations: 8.969 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.563e-05/0.5798, allocations: 36.12 kB / 0.9529 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.5799, allocations: 3.219 kB / 0.9529 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.579e-05/0.5799, allocations: 173.8 kB / 0.9531 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.58, allocations: 1.969 kB / 0.9531 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.58, allocations: 5.828 kB / 0.9531 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.5801, allocations: 56.86 kB / 0.9531 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.5801, allocations: 0 / 0.9531 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.5801, allocations: 8 kB / 0.9531 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5801, allocations: 1.469 kB / 0.9531 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.907e-05/0.5802, allocations: 48.64 kB / 0.9532 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.5804, allocations: 164.3 kB / 0.9533 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.718e-05/0.5804, allocations: 49.03 kB / 0.9534 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.5805, allocations: 24.94 kB / 0.9534 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.5805, allocations: 1.094 kB / 0.9534 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.138e-05/0.5805, allocations: 43.72 kB / 0.9534 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.5805, allocations: 0 / 0.9534 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002034/0.5807, allocations: 91.2 kB / 0.9535 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.832e-05/0.5808, allocations: 52.66 kB / 0.9536 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.952e-05/0.5808, allocations: 109.1 kB / 0.9537 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.5808, allocations: 27.08 kB / 0.9537 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.646e-05/0.5809, allocations: 81.7 kB / 0.9538 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.5809, allocations: 18.34 kB / 0.9538 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.5809, allocations: 28.73 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.585e-05/0.581, allocations: 316.1 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.332e-05/0.581, allocations: 12.36 kB / 0.9541 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.581, allocations: 13.03 kB / 0.9542 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.5811, allocations: 37.34 kB / 0.9542 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5811, allocations: 0 / 0.9542 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001186/0.5813, allocations: 79.25 kB / 0.9543 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.5813, allocations: 5.844 kB / 0.9543 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.5813, allocations: 0 / 0.9543 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.5813, allocations: 4 kB / 0.9543 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.5814, allocations: 19.39 kB / 0.9543 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.5814, allocations: 1.594 kB / 0.9543 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.5814, allocations: 0 / 0.9543 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.5815, allocations: 2.75 kB / 0.9543 GB, free: 5.223 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 (6): * Single equations (assignments): 6 * 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 4.44e-05/0.5815, allocations: 108.1 kB / 0.9544 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.5815, allocations: 10.92 kB / 0.9544 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.5819, allocations: 204.7 kB / 0.9546 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5819, allocations: 2.406 kB / 0.9546 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5819, allocations: 0 / 0.9546 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5819, allocations: 1.344 kB / 0.9546 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.582, allocations: 202.6 kB / 0.9548 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5821, allocations: 3.938 kB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.5822, allocations: 31.23 kB / 0.9548 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5822, allocations: 1.156 kB / 0.9548 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.5822, allocations: 7.203 kB / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5822, allocations: 1.094 kB / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5822, allocations: 0 / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.5824, allocations: 147.5 kB / 0.955 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.5824, allocations: 91.55 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.5824, allocations: 5.516 kB / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.537e-05/0.5825, allocations: 5.469 kB / 0.9551 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.5825, allocations: 13.36 kB / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.5825, allocations: 4.156 kB / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.338e-05/0.5825, allocations: 84.88 kB / 0.9552 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5825, allocations: 3.938 kB / 0.9552 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002579/0.5828, allocations: 53.77 kB / 0.9552 GB, free: 4.434 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.0005323/0.5833, allocations: 0.7555 MB / 0.956 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.5835, allocations: 70.25 kB / 0.956 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5835, allocations: 1.438 kB / 0.956 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.5836, allocations: 43.17 kB / 0.9561 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.5838, allocations: 21.67 kB / 0.9561 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.5843, allocations: 230.6 kB / 0.9563 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.5844, allocations: 0.6963 MB / 0.957 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.536e-05/0.5845, allocations: 26.44 kB / 0.957 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.5846, allocations: 35.2 kB / 0.9571 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5846, allocations: 0 / 0.9571 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.6035, allocations: 3.256 MB / 0.9602 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/8.257, allocations: 11.53 kB / 0.9603 GB, free: 1.152 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.csv --start-time 0.01 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.199996 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1)