Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.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_Equivalent,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",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.004614/0.004614, allocations: 98.02 kB / 15.73 MB, free: 6.07 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.001232/0.001232, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002364/0.002364, allocations: 282.6 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 1.136/1.136, allocations: 178.6 MB / 0.5074 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 107.8 kB / 0.6944 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3945, allocations: 89.13 MB / 0.7814 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent): time 0.002172/0.3967, allocations: 1.359 MB / 0.7827 GB, free: 68 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.3991, allocations: 1.328 MB / 0.784 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.3991, allocations: 1.219 kB / 0.784 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.063e-05/0.3992, allocations: 3.938 kB / 0.784 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.3994, allocations: 15.75 kB / 0.7841 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.4005, allocations: 392.3 kB / 0.7844 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.4006, allocations: 50.31 kB / 0.7845 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.4007, allocations: 2.469 kB / 0.7845 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.4007, allocations: 25.31 kB / 0.7845 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.4008, allocations: 22.23 kB / 0.7845 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.4008, allocations: 3.031 kB / 0.7845 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.4018, allocations: 0.5113 MB / 0.785 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.4019, allocations: 12.73 kB / 0.785 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.402, allocations: 18.47 kB / 0.7851 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.4026, allocations: 387.7 kB / 0.7854 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4027, allocations: 0 / 0.7854 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.577e-06/0.4027, allocations: 0 / 0.7854 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4027, allocations: 9 kB / 0.7854 GB, free: 14.21 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005744/0.4033, allocations: 418.4 kB / 0.7858 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.4033, allocations: 10.31 kB / 0.7858 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.4033, allocations: 34.69 kB / 0.7859 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.4034, allocations: 7.141 kB / 0.7859 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.4035, allocations: 175.7 kB / 0.786 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.4036, allocations: 1.469 kB / 0.786 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.4036, allocations: 6.594 kB / 0.7861 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.4037, allocations: 49.88 kB / 0.7861 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4037, allocations: 4 kB / 0.7861 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-06/0.4037, allocations: 0 / 0.7861 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4038, allocations: 1.125 kB / 0.7861 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.557e-05/0.4038, allocations: 42.06 kB / 0.7861 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.4041, allocations: 183.3 kB / 0.7863 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.199e-05/0.4042, allocations: 52.22 kB / 0.7864 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.4042, allocations: 31.42 kB / 0.7864 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.4043, allocations: 8.906 kB / 0.7864 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.4043, allocations: 39.91 kB / 0.7864 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.4043, allocations: 0 / 0.7864 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002305/0.4045, allocations: 101.5 kB / 0.7865 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4046, allocations: 52.53 kB / 0.7866 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.4047, allocations: 112 kB / 0.7867 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.4047, allocations: 34.67 kB / 0.7867 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.4048, allocations: 93.19 kB / 0.7868 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.4048, allocations: 13.94 kB / 0.7868 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.4049, allocations: 23.19 kB / 0.7869 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.405, allocations: 317 kB / 0.7872 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.29e-05/0.4051, allocations: 12.41 kB / 0.7872 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.4051, allocations: 21.98 kB / 0.7872 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.4052, allocations: 41.19 kB / 0.7872 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4052, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001204/0.4053, allocations: 81.39 kB / 0.7873 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4053, allocations: 5.375 kB / 0.7873 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.4053, allocations: 0 / 0.7873 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4054, allocations: 5.375 kB / 0.7873 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.4054, allocations: 11.17 kB / 0.7873 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4055, allocations: 5 kB / 0.7873 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.4055, allocations: 3.953 kB / 0.7873 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.4055, allocations: 2.344 kB / 0.7873 GB, free: 12.36 MB / 0.5606 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 (4): * Single equations (assignments): 4 * 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 0.0001023/0.4056, allocations: 117.4 kB / 0.7875 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.4056, allocations: 6.094 kB / 0.7875 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.4058, allocations: 108.7 kB / 0.7876 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4058, allocations: 5.031 kB / 0.7876 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4059, allocations: 1.188 kB / 0.7876 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4059, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.406, allocations: 185.4 kB / 0.7877 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.406, allocations: 0 / 0.7877 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.4061, allocations: 17 kB / 0.7878 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4061, allocations: 1.375 kB / 0.7878 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.4061, allocations: 1.219 kB / 0.7878 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4061, allocations: 0 / 0.7878 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4061, allocations: 1.406 kB / 0.7878 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.4063, allocations: 108.2 kB / 0.7879 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.4063, allocations: 87.19 kB / 0.788 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.4064, allocations: 1.125 kB / 0.788 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.4064, allocations: 0 / 0.788 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.4064, allocations: 15.2 kB / 0.788 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.4064, allocations: 2.125 kB / 0.788 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.276e-05/0.4065, allocations: 97.2 kB / 0.7881 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4065, allocations: 0 / 0.7881 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003964/0.4069, allocations: 122.8 kB / 0.7882 GB, free: 11.62 MB / 0.5606 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 (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 Backend phase and start with SimCode phase: time 0.0008809/0.4078, allocations: 0.7888 MB / 0.789 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.4079, allocations: 49.94 kB / 0.789 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4079, allocations: 0 / 0.789 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.408, allocations: 31.02 kB / 0.789 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.4082, allocations: 7.484 kB / 0.789 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.4088, allocations: 233.3 kB / 0.7893 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.4091, allocations: 0.6874 MB / 0.7899 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.886e-05/0.4091, allocations: 17.11 kB / 0.7899 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.4092, allocations: 21.59 kB / 0.79 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4092, allocations: 0 / 0.79 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.4356, allocations: 3.865 MB / 0.7937 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.38, allocations: 15.84 kB / 0.7938 GB, free: 8.059 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe 2>&1)