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.005025/0.005026, allocations: 101 kB / 15.73 MB, free: 6.059 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.001405/0.001405, allocations: 193.6 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.401/1.401, 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.002742/0.002742, allocations: 291.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.211/1.211, allocations: 178.6 MB / 0.5074 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002891/0.002891, allocations: 95.84 kB / 0.6944 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4149, allocations: 89.12 MB / 0.7814 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002407/0.4173, allocations: 1.322 MB / 0.7827 GB, free: 84 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.4187, allocations: 0.7566 MB / 0.7834 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.4188, allocations: 0 / 0.7834 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.4188, allocations: 3.938 kB / 0.7834 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.273e-05/0.4189, allocations: 9.234 kB / 0.7834 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.4195, allocations: 134.4 kB / 0.7836 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.4195, allocations: 23.84 kB / 0.7836 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.4196, allocations: 1.5 kB / 0.7836 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.927e-05/0.4196, allocations: 7.297 kB / 0.7836 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.111e-05/0.4196, allocations: 8.531 kB / 0.7836 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.4196, allocations: 0 / 0.7836 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005138/0.4202, allocations: 175 kB / 0.7838 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.4202, allocations: 3.984 kB / 0.7838 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.4202, allocations: 7.844 kB / 0.7838 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.4204, allocations: 123.7 kB / 0.7839 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4204, allocations: 1.531 kB / 0.7839 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4205, allocations: 4 kB / 0.7839 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.4205, allocations: 0 / 0.7839 GB, free: 15.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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003793/0.4208, allocations: 353.6 kB / 0.7842 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.4209, allocations: 8.656 kB / 0.7843 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.4209, allocations: 31.66 kB / 0.7843 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.421, allocations: 10.53 kB / 0.7843 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.4211, allocations: 161.8 kB / 0.7844 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.4211, allocations: 1.312 kB / 0.7845 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.4211, allocations: 1.25 kB / 0.7845 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.916e-05/0.4212, allocations: 45.61 kB / 0.7845 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4212, allocations: 0 / 0.7845 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.4213, allocations: 0 / 0.7845 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4213, allocations: 1.438 kB / 0.7845 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.998e-05/0.4213, allocations: 7.641 kB / 0.7845 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.4215, allocations: 149.7 kB / 0.7846 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.814e-05/0.4216, allocations: 27.94 kB / 0.7847 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.4216, allocations: 16.7 kB / 0.7847 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004929/0.4221, allocations: 135.3 kB / 0.7848 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.4221, allocations: 43.53 kB / 0.7849 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 3.076e-06/0.4221, allocations: 7.984 kB / 0.7849 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001379/0.4223, allocations: 41.23 kB / 0.7849 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.4223, allocations: 51.41 kB / 0.785 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.32e-05/0.4224, allocations: 100.5 kB / 0.7851 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.4224, allocations: 25.7 kB / 0.7851 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.4225, allocations: 85.2 kB / 0.7852 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.4225, allocations: 5.422 kB / 0.7852 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.4225, allocations: 16.61 kB / 0.7852 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4227, allocations: 319 kB / 0.7855 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.4228, allocations: 3.031 kB / 0.7855 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.4229, allocations: 6.281 kB / 0.7855 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.854e-05/0.423, allocations: 14.11 kB / 0.7855 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.423, allocations: 0 / 0.7855 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.418e-05/0.4231, allocations: 47.92 kB / 0.7856 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4231, allocations: 5.562 kB / 0.7856 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4231, allocations: 0 / 0.7856 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.4231, allocations: 5.062 kB / 0.7856 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.963e-05/0.4232, allocations: 2.562 kB / 0.7856 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4232, allocations: 1.5 kB / 0.7856 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.079e-05/0.4232, allocations: 0 / 0.7856 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.4232, allocations: 1.531 kB / 0.7856 GB, free: 13.4 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 (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.366e-05/0.4233, allocations: 111.1 kB / 0.7857 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.4233, allocations: 9.031 kB / 0.7857 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.961e-05/0.4234, allocations: 47.5 kB / 0.7857 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4234, allocations: 4.031 kB / 0.7857 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4234, allocations: 1.375 kB / 0.7857 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4234, allocations: 0 / 0.7857 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.4236, allocations: 150.3 kB / 0.7859 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4236, allocations: 0 / 0.7859 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.4236, allocations: 6.719 kB / 0.7859 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4236, allocations: 1.562 kB / 0.7859 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.4236, allocations: 3.938 kB / 0.7859 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4236, allocations: 5.516 kB / 0.7859 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4236, allocations: 0 / 0.7859 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.767e-05/0.4237, allocations: 75 kB / 0.786 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.4238, allocations: 82.36 kB / 0.786 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.4238, allocations: 5.234 kB / 0.786 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.4238, allocations: 256 / 0.786 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.4238, allocations: 1.188 kB / 0.786 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.4238, allocations: 5.125 kB / 0.7861 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.913e-05/0.4239, allocations: 83.12 kB / 0.7861 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4239, allocations: 0 / 0.7861 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002469/0.4241, allocations: 52.58 kB / 0.7862 GB, free: 12.74 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 (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.0005787/0.4247, allocations: 0.664 MB / 0.7868 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.009e-05/0.4248, allocations: 10.53 kB / 0.7868 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4248, allocations: 5.5 kB / 0.7868 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.067e-05/0.4248, allocations: 3.75 kB / 0.7868 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.4251, allocations: 9.234 kB / 0.7869 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.4254, allocations: 148 kB / 0.787 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.4259, allocations: 0.6772 MB / 0.7877 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.899e-05/0.4259, allocations: 2.688 kB / 0.7877 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.4259, allocations: 14.84 kB / 0.7877 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.4259, allocations: 8 kB / 0.7877 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.45, allocations: 2.253 MB / 0.7899 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/8.224, allocations: 12.25 kB / 0.7899 GB, free: 10.08 MB / 0.5606 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)