Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="BuildingSystems_BuildingSystems_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.005874/0.005874, allocations: 101.2 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 186.7 kB / 16.67 MB, free: 5.969 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002284/0.002284, allocations: 296.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9408/0.9408, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 99.84 kB / 0.681 GB, free: 7.398 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4244, allocations: 86.97 MB / 0.766 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002285/0.4268, allocations: 1.366 MB / 0.7673 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.4281, allocations: 0.7848 MB / 0.7681 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.4282, allocations: 0 / 0.7681 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.4282, allocations: 3.938 kB / 0.7681 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.864e-05/0.4283, allocations: 7.938 kB / 0.7681 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.4288, allocations: 175.5 kB / 0.7682 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.09e-05/0.4289, allocations: 51.83 kB / 0.7683 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.429, allocations: 4 kB / 0.7683 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.38e-05/0.429, allocations: 23.92 kB / 0.7683 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.4291, allocations: 35.89 kB / 0.7684 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.4291, allocations: 0 / 0.7684 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.4294, allocations: 171.7 kB / 0.7685 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.4294, allocations: 11.92 kB / 0.7685 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.4295, allocations: 15.92 kB / 0.7685 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.4297, allocations: 144.7 kB / 0.7687 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4297, allocations: 0 / 0.7687 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4297, allocations: 11.94 kB / 0.7687 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.4297, allocations: 0 / 0.7687 GB, free: 1.055 MB / 0.5294 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.0003758/0.4301, allocations: 371 kB / 0.769 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4301, allocations: 8.031 kB / 0.7691 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.4302, allocations: 38.69 kB / 0.7691 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.4302, allocations: 8.922 kB / 0.7691 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.4303, allocations: 172.3 kB / 0.7693 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.4304, allocations: 384 / 0.7693 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.4304, allocations: 384 / 0.7693 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.4305, allocations: 61.8 kB / 0.7693 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.4305, allocations: 0 / 0.7693 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4305, allocations: 7.984 kB / 0.7693 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4305, allocations: 0 / 0.7693 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.4307, allocations: 51.89 kB / 0.7694 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.431, allocations: 165.6 kB / 0.7695 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.4311, allocations: 50.67 kB / 0.7696 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.4312, allocations: 24.92 kB / 0.7696 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.4312, allocations: 4 kB / 0.7696 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.4312, allocations: 34.5 kB / 0.7696 GB, free: 15.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.4312, allocations: 0 / 0.7696 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0002118/0.4314, allocations: 93.56 kB / 0.7697 GB, free: 15.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.4315, allocations: 51.41 kB / 0.7698 GB, free: 15.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.691e-05/0.4315, allocations: 105.8 kB / 0.7699 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.4316, allocations: 25.7 kB / 0.7699 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.4316, allocations: 88.14 kB / 0.77 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.4316, allocations: 19.84 kB / 0.77 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.4317, allocations: 21.72 kB / 0.77 GB, free: 15.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4318, allocations: 322.8 kB / 0.7703 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/0.4318, allocations: 8 kB / 0.7704 GB, free: 15.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.4319, allocations: 12.36 kB / 0.7704 GB, free: 15.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.87e-05/0.432, allocations: 40.8 kB / 0.7704 GB, free: 15.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.432, allocations: 0 / 0.7704 GB, free: 15.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001247/0.4321, allocations: 77.55 kB / 0.7705 GB, free: 15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4321, allocations: 14.66 kB / 0.7705 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.4321, allocations: 0 / 0.7705 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.4321, allocations: 0 / 0.7705 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.4322, allocations: 16 kB / 0.7705 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4323, allocations: 0 / 0.7705 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.4323, allocations: 3.938 kB / 0.7705 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.4323, allocations: 7.984 kB / 0.7705 GB, free: 14.96 MB / 0.545 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 6.729e-05/0.4324, allocations: 109.8 kB / 0.7706 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.4324, allocations: 11.89 kB / 0.7706 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.4328, allocations: 210.3 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4328, allocations: 4 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4328, allocations: 0 / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4328, allocations: 0 / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.4329, allocations: 193.6 kB / 0.771 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4329, allocations: 3.938 kB / 0.771 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.4331, allocations: 31.98 kB / 0.7711 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4331, allocations: 0 / 0.7711 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4331, allocations: 4 kB / 0.7711 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4331, allocations: 0 / 0.7711 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4331, allocations: 0 / 0.7711 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.4333, allocations: 156.9 kB / 0.7712 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.4333, allocations: 93 kB / 0.7713 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.4333, allocations: 0 / 0.7713 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.333e-05/0.4334, allocations: 4 kB / 0.7713 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.4334, allocations: 11.98 kB / 0.7713 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.4334, allocations: 8.062 kB / 0.7713 GB, free: 14.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.082e-05/0.4335, allocations: 87.58 kB / 0.7714 GB, free: 13.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4335, allocations: 0 / 0.7714 GB, free: 13.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002674/0.4337, allocations: 51.88 kB / 0.7715 GB, free: 13.9 MB / 0.545 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.0006323/0.4344, allocations: 0.7567 MB / 0.7722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.4346, allocations: 55.91 kB / 0.7722 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4346, allocations: 4 kB / 0.7723 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.4346, allocations: 47.92 kB / 0.7723 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.4349, allocations: 20.14 kB / 0.7723 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.4353, allocations: 238.9 kB / 0.7725 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.4355, allocations: 0.6963 MB / 0.7732 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.013e-05/0.4356, allocations: 19.67 kB / 0.7732 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.4357, allocations: 27.42 kB / 0.7733 GB, free: 11.96 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.4357, allocations: 4 kB / 0.7733 GB, free: 11.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.4543, allocations: 3.304 MB / 0.7765 GB, free: 8.898 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/8.023, allocations: 9.188 kB / 0.7765 GB, free: 8.895 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1)