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.007295/0.007295, allocations: 101 kB / 15.73 MB, free: 6.055 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.002085/0.002085, allocations: 195.2 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002509/0.002509, allocations: 295.9 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9707/0.9707, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 95.86 kB / 0.681 GB, free: 7.398 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.368, allocations: 86.99 MB / 0.766 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent): time 0.00228/0.3703, allocations: 1.354 MB / 0.7673 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.3724, allocations: 1.333 MB / 0.7686 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.3724, allocations: 0 / 0.7686 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.3725, allocations: 3.938 kB / 0.7686 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3726, allocations: 15.91 kB / 0.7686 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009081/0.3736, allocations: 394.5 kB / 0.769 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.858e-05/0.3737, allocations: 43.78 kB / 0.769 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.3737, allocations: 8 kB / 0.7691 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.3737, allocations: 15.97 kB / 0.7691 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.3738, allocations: 27.86 kB / 0.7691 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3738, allocations: 4 kB / 0.7691 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008202/0.3746, allocations: 0.507 MB / 0.7696 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.3747, allocations: 15.98 kB / 0.7696 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.3747, allocations: 19.88 kB / 0.7696 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.3753, allocations: 384.5 kB / 0.77 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3753, allocations: 0 / 0.77 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3753, allocations: 3.938 kB / 0.77 GB, free: 15.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3753, allocations: 0 / 0.77 GB, free: 15.7 MB / 0.545 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.0004903/0.3758, allocations: 434.4 kB / 0.7704 GB, free: 15.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3759, allocations: 8.031 kB / 0.7704 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.3759, allocations: 30.75 kB / 0.7704 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.3759, allocations: 8.891 kB / 0.7705 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3761, allocations: 176.3 kB / 0.7706 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3761, allocations: 384 / 0.7706 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.3761, allocations: 384 / 0.7706 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.3762, allocations: 53.81 kB / 0.7707 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3763, allocations: 0 / 0.7707 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.3763, allocations: 0 / 0.7707 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3763, allocations: 4 kB / 0.7707 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.779e-05/0.3764, allocations: 43.91 kB / 0.7707 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.3766, allocations: 177.7 kB / 0.7709 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.49e-05/0.3767, allocations: 54.56 kB / 0.7709 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.3767, allocations: 28.94 kB / 0.771 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.3768, allocations: 8 kB / 0.771 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3768, allocations: 34.5 kB / 0.771 GB, free: 14.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3768, allocations: 0 / 0.771 GB, free: 14.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.000218/0.377, allocations: 101.5 kB / 0.7711 GB, free: 14.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3771, allocations: 51.41 kB / 0.7712 GB, free: 14.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3772, allocations: 117.8 kB / 0.7713 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.3772, allocations: 25.7 kB / 0.7713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.3773, allocations: 96.12 kB / 0.7714 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.3773, allocations: 15.84 kB / 0.7714 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.3773, allocations: 13.72 kB / 0.7714 GB, free: 14.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3775, allocations: 322.8 kB / 0.7717 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.3775, allocations: 15.94 kB / 0.7717 GB, free: 13.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.3776, allocations: 23.98 kB / 0.7718 GB, free: 13.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.965e-05/0.3776, allocations: 53.11 kB / 0.7718 GB, free: 13.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3777, allocations: 0 / 0.7718 GB, free: 13.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000128/0.3778, allocations: 81.55 kB / 0.7719 GB, free: 13.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3778, allocations: 4 kB / 0.7719 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3778, allocations: 0 / 0.7719 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3778, allocations: 0 / 0.7719 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.3779, allocations: 11.98 kB / 0.7719 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.3779, allocations: 0 / 0.7719 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.3779, allocations: 3.953 kB / 0.7719 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3779, allocations: 4 kB / 0.7719 GB, free: 13.5 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 (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 8.348e-05/0.378, allocations: 121.8 kB / 0.772 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.3781, allocations: 3.938 kB / 0.772 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.3783, allocations: 112.5 kB / 0.7721 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3783, allocations: 4 kB / 0.7721 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3783, allocations: 0 / 0.7721 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3783, allocations: 0 / 0.7721 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.3785, allocations: 185.6 kB / 0.7723 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3785, allocations: 0 / 0.7723 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.3785, allocations: 11.94 kB / 0.7723 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3785, allocations: 4 kB / 0.7723 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3785, allocations: 8 kB / 0.7723 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3786, allocations: 0 / 0.7723 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3786, allocations: 0 / 0.7723 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.3787, allocations: 101.1 kB / 0.7724 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.3788, allocations: 88.94 kB / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3788, allocations: 0 / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.3788, allocations: 4.125 kB / 0.7725 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.3788, allocations: 11.98 kB / 0.7725 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3789, allocations: 4 kB / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.3789, allocations: 91.27 kB / 0.7726 GB, free: 12.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.044e-06/0.3789, allocations: 0 / 0.7726 GB, free: 12.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000363/0.3793, allocations: 123.5 kB / 0.7727 GB, free: 12.54 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 (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.0008512/0.3801, allocations: 0.7916 MB / 0.7735 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.3803, allocations: 51.91 kB / 0.7736 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3803, allocations: 0 / 0.7736 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.3804, allocations: 27.98 kB / 0.7736 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3806, allocations: 7.266 kB / 0.7736 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.3811, allocations: 244.6 kB / 0.7738 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.3814, allocations: 0.6885 MB / 0.7745 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.237e-05/0.3815, allocations: 19.31 kB / 0.7745 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.3815, allocations: 19.44 kB / 0.7745 GB, free: 10.61 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.3815, allocations: 0 / 0.7745 GB, free: 10.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.4064, allocations: 3.872 MB / 0.7783 GB, free: 6.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.321, allocations: 8.062 kB / 0.7783 GB, free: 6.98 MB / 0.545 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)