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.001042/0.001042, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 291 kB / 290.7 MB, free: 1.988 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.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 101.8 kB / 0.5954 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.143, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002503/0.1455, allocations: 1.316 MB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1468, allocations: 0.7508 MB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.1468, allocations: 0 / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.1468, allocations: 4 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.1469, allocations: 7.922 kB / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.1474, allocations: 139.5 kB / 0.6825 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.1475, allocations: 15.94 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.1475, allocations: 4 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.315e-05/0.1475, allocations: 11.92 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.092e-05/0.1476, allocations: 4 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1476, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.1479, allocations: 171.7 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.148, allocations: 3.938 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.148, allocations: 15.92 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.1482, allocations: 116 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1482, allocations: 0 / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1482, allocations: 4 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1482, allocations: 4 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB 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.0003591/0.1486, allocations: 347.4 kB / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1487, allocations: 8.031 kB / 0.6832 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.1487, allocations: 42.73 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.1487, allocations: 4.875 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1488, allocations: 160.4 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1489, allocations: 4.375 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.1489, allocations: 384 / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.524e-05/0.149, allocations: 37.83 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.149, allocations: 0 / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.149, allocations: 3.984 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.149, allocations: 0 / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.1491, allocations: 11.98 kB / 0.6834 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.1492, allocations: 145.7 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.797e-05/0.1493, allocations: 34.53 kB / 0.6836 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.1493, allocations: 12.92 kB / 0.6836 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005006/0.1498, allocations: 131.3 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1499, allocations: 38.5 kB / 0.6838 GB, free: 12.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1499, allocations: 0 / 0.6838 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001354/0.15, allocations: 45.61 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.15, allocations: 55.34 kB / 0.6839 GB, free: 12.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.1501, allocations: 105.8 kB / 0.684 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.1501, allocations: 25.7 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.1502, allocations: 84.14 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.1502, allocations: 3.906 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.1502, allocations: 17.7 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1504, allocations: 318.9 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.1504, allocations: 8 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-06/0.1504, allocations: 0 / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.1504, allocations: 12.86 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1504, allocations: 0 / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.566e-05/0.1505, allocations: 45.62 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1505, allocations: 11.94 kB / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1505, allocations: 0 / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1505, allocations: 0 / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.225e-05/0.1506, allocations: 8.344 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1506, allocations: 3.938 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.1506, allocations: 4 kB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.1506, allocations: 0 / 0.6845 GB, free: 12.04 MB / 494.1 MB 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.671e-05/0.1507, allocations: 110.5 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.1507, allocations: 3.938 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.869e-05/0.1508, allocations: 48.81 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1508, allocations: 0 / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1508, allocations: 4.031 kB / 0.6847 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1508, allocations: 0 / 0.6847 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.924e-05/0.1509, allocations: 153.7 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.151, allocations: 0 / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.151, allocations: 11.88 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.151, allocations: 0 / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.151, allocations: 3.984 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.151, allocations: 0 / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.151, allocations: 4 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.217e-05/0.1511, allocations: 65.56 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.1511, allocations: 84.98 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1512, allocations: 7.984 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-06/0.1512, allocations: 0 / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.1512, allocations: 4 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.1512, allocations: 0 / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.224e-05/0.1512, allocations: 79.28 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1512, allocations: 0 / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1515, allocations: 43.98 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB 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.000519/0.152, allocations: 0.6748 MB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.856e-05/0.1521, allocations: 12 kB / 0.6858 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1521, allocations: 0 / 0.6858 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.197e-05/0.1521, allocations: 12.03 kB / 0.6858 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.1523, allocations: 15.91 kB / 0.6858 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.1527, allocations: 157.4 kB / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.153, allocations: 0.6768 MB / 0.6866 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.153, allocations: 1.969 kB / 0.6866 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.153, allocations: 15.44 kB / 0.6866 GB, free: 9.672 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.153, allocations: 4.062 kB / 0.6866 GB, free: 9.668 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.1712, allocations: 2.214 MB / 0.6888 GB, free: 7.668 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/7.39, allocations: 11.39 kB / 0.6888 GB, free: 7.66 MB / 494.1 MB (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)