Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_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.FiniteLineSource_Integrand,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_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.001699/0.001705, 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.002107/0.002107, allocations: 193.3 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.385/1.385, 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 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 71.89 kB / 0.8694 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6705/0.672, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.00327/0.6754, allocations: 1.339 MB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.6769, allocations: 0.7556 MB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.6769, allocations: 0 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.677, allocations: 0 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.009e-05/0.6771, allocations: 3.938 kB / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007127/0.6778, allocations: 143.5 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.6779, allocations: 15.92 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.6779, allocations: 7.984 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.217e-05/0.6779, allocations: 7.938 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.73e-05/0.678, allocations: 7.938 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.678, allocations: 0 / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.6785, allocations: 175.7 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.6785, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.6785, allocations: 15.94 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.6788, allocations: 110 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6788, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6788, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.6788, allocations: 0 / 1.02 GB, free: 15.88 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004181/0.6792, allocations: 359.3 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.6793, allocations: 11.98 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.6793, allocations: 30.75 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.6794, allocations: 4.844 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.6795, allocations: 172.3 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.6795, allocations: 4.375 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.6796, allocations: 4.375 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.6797, allocations: 37.81 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.6797, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.6797, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.6797, allocations: 7.984 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/0.6797, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.6799, allocations: 153.7 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.258e-05/0.68, allocations: 34.52 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.68, allocations: 8.922 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/0.6806, allocations: 130.2 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.6807, allocations: 38.5 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.6807, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001539/0.6808, allocations: 45.69 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.6809, allocations: 51.41 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.681, allocations: 97.86 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.681, allocations: 25.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.681, allocations: 88.12 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.6811, allocations: 19.95 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.6811, allocations: 17.66 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6813, allocations: 310.8 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.6813, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.6813, allocations: 8 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.6813, allocations: 12.84 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6813, allocations: 4 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.468e-05/0.6814, allocations: 45.61 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.6814, allocations: 8.031 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6815, allocations: 3.938 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6815, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.997e-05/0.6815, allocations: 7.938 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.6815, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.6816, allocations: 7.938 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.6816, allocations: 0 / 1.022 GB, free: 13.91 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 (2): * Single equations (assignments): 2 * 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.864e-05/0.6817, allocations: 109.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.6817, allocations: 7.938 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.6818, allocations: 48.81 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6818, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6818, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6818, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.682, allocations: 153.7 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.682, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.682, allocations: 7.938 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.682, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.682, allocations: 256 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.682, allocations: 3.938 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.682, allocations: 8.031 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.332e-05/0.6821, allocations: 65.12 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.6822, allocations: 84.95 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.6822, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.6822, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.6822, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.6822, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.6823, allocations: 91.3 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6823, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002771/0.6826, allocations: 36 kB / 1.022 GB, free: 13.2 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 (2): * Single equations (assignments): 2 * 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.0006097/0.6832, allocations: 0.6709 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.702e-05/0.6833, allocations: 16.02 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6833, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.6833, allocations: 11.94 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.6836, allocations: 13.11 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.684, allocations: 155.1 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.6843, allocations: 0.6769 MB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.6843, allocations: 4 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.6844, allocations: 15.42 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6844, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.7047, allocations: 2.197 MB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/8.288, allocations: 13 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_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_FiniteLineSource_Integrand.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1)