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.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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_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.004855/0.004855, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.00134/0.00134, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 279.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9462/0.9462, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 95.86 kB / 0.681 GB, free: 7.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4427, allocations: 86.99 MB / 0.766 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002303/0.4451, allocations: 1.319 MB / 0.7673 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.4463, allocations: 0.7536 MB / 0.768 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.4464, allocations: 0 / 0.768 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.4464, allocations: 4 kB / 0.768 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.4465, allocations: 3.938 kB / 0.768 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.447, allocations: 143.5 kB / 0.7681 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.772e-05/0.447, allocations: 19.92 kB / 0.7682 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.4471, allocations: 0 / 0.7682 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.888e-05/0.4471, allocations: 4 kB / 0.7682 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.337e-05/0.4471, allocations: 7.938 kB / 0.7682 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.4471, allocations: 0 / 0.7682 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.4475, allocations: 179.7 kB / 0.7683 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.278e-06/0.4475, allocations: 0 / 0.7683 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.4475, allocations: 11.94 kB / 0.7683 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.4477, allocations: 124.8 kB / 0.7685 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4477, allocations: 0 / 0.7685 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.542e-06/0.4477, allocations: 3.938 kB / 0.7685 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.4477, allocations: 0 / 0.7685 GB, free: 1.395 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003249/0.4481, allocations: 359.1 kB / 0.7688 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.4481, allocations: 12.03 kB / 0.7688 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.906e-05/0.4481, allocations: 30.75 kB / 0.7689 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.4482, allocations: 8.891 kB / 0.7689 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4483, allocations: 168.4 kB / 0.769 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4483, allocations: 384 / 0.769 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.4483, allocations: 384 / 0.769 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.566e-05/0.4484, allocations: 37.81 kB / 0.7691 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.4484, allocations: 0 / 0.7691 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.4484, allocations: 0 / 0.7691 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4484, allocations: 0 / 0.7691 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.237e-05/0.4485, allocations: 8 kB / 0.7691 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.4486, allocations: 161.5 kB / 0.7692 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.98e-05/0.4487, allocations: 26.61 kB / 0.7692 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.4487, allocations: 8.922 kB / 0.7693 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006105/0.4493, allocations: 132.3 kB / 0.7694 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.4494, allocations: 38.5 kB / 0.7694 GB, free: 244 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4494, allocations: 4 kB / 0.7694 GB, free: 240 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001245/0.4495, allocations: 41.62 kB / 0.7695 GB, free: 192 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.4495, allocations: 51.41 kB / 0.7695 GB, free: 128 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.4496, allocations: 101.9 kB / 0.7696 GB, free: 16 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.4497, allocations: 25.83 kB / 0.7696 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.4497, allocations: 92.12 kB / 0.7697 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.4497, allocations: 7.953 kB / 0.7697 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.4498, allocations: 9.719 kB / 0.7697 GB, free: 15.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.4499, allocations: 318.8 kB / 0.77 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.4499, allocations: 0 / 0.77 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.4499, allocations: 4 kB / 0.77 GB, free: 15.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.4499, allocations: 12.84 kB / 0.7701 GB, free: 15.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4499, allocations: 4.062 kB / 0.7701 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.111e-05/0.45, allocations: 53.53 kB / 0.7701 GB, free: 15.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.45, allocations: 6.656 kB / 0.7701 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.45, allocations: 0 / 0.7701 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.45, allocations: 0 / 0.7701 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.004e-05/0.4501, allocations: 4 kB / 0.7701 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.4501, allocations: 0 / 0.7701 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.172e-05/0.4501, allocations: 0 / 0.7701 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.4501, allocations: 4 kB / 0.7701 GB, free: 15.45 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 (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 6.43e-05/0.4502, allocations: 113.9 kB / 0.7702 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.4502, allocations: 3.938 kB / 0.7702 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.4503, allocations: 60.67 kB / 0.7703 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.4503, allocations: 0 / 0.7703 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.4503, allocations: 0 / 0.7703 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.4503, allocations: 0 / 0.7703 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.969e-05/0.4504, allocations: 153.7 kB / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4504, allocations: 0 / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.4504, allocations: 8.188 kB / 0.7705 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.4504, allocations: 3.938 kB / 0.7705 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.4504, allocations: 12.03 kB / 0.7705 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.4505, allocations: 0 / 0.7705 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4505, allocations: 0 / 0.7705 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.763e-05/0.4505, allocations: 65.12 kB / 0.7705 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.4506, allocations: 88.94 kB / 0.7706 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.4506, allocations: 0 / 0.7706 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-06/0.4506, allocations: 0 / 0.7706 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.4506, allocations: 8.031 kB / 0.7706 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.4506, allocations: 4 kB / 0.7706 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.379e-05/0.4507, allocations: 87.2 kB / 0.7707 GB, free: 14.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4507, allocations: 0 / 0.7707 GB, free: 14.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002446/0.4509, allocations: 35.88 kB / 0.7707 GB, free: 14.72 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 (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.0004775/0.4514, allocations: 0.6677 MB / 0.7714 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.358e-05/0.4515, allocations: 15.98 kB / 0.7714 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4515, allocations: 0 / 0.7714 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.4515, allocations: 7.938 kB / 0.7714 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.4517, allocations: 7.75 kB / 0.7714 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.4521, allocations: 147.2 kB / 0.7716 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.4524, allocations: 0.6768 MB / 0.7722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.4524, allocations: 8 kB / 0.7722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.4525, allocations: 19.42 kB / 0.7723 GB, free: 13.08 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4525, allocations: 0 / 0.7723 GB, free: 13.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.4704, allocations: 2.245 MB / 0.7744 GB, free: 11.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/8.004, allocations: 7.312 kB / 0.7745 GB, free: 11.07 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1)