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.0008023/0.0008023, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.000906/0.000906, allocations: 176.8 kB / 16.27 MB, free: 6.664 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001806/0.001806, allocations: 269.9 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9335/0.9335, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.000448, allocations: 14.91 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1685, allocations: 88.54 MB / 0.6853 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.001502/0.17, allocations: 1.053 MB / 0.6863 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1714, allocations: 0.756 MB / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.1714, allocations: 1.812 kB / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.1714, allocations: 3.938 kB / 0.687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/0.1715, allocations: 0 / 0.687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.172, allocations: 116.4 kB / 0.6872 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.952e-05/0.1721, allocations: 16.69 kB / 0.6872 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.1721, allocations: 0 / 0.6872 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.096e-05/0.1722, allocations: 9.125 kB / 0.6872 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.481e-05/0.1722, allocations: 7.984 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1722, allocations: 0 / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.1726, allocations: 197.2 kB / 0.6874 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.1727, allocations: 3.984 kB / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.1727, allocations: 37.62 kB / 0.6874 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.173, allocations: 120 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.173, allocations: 0.625 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.173, allocations: 1.156 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.173, allocations: 0 / 0.6875 GB, free: 12.59 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.0003587/0.1734, allocations: 356.9 kB / 0.6879 GB, free: 12.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1734, allocations: 8.031 kB / 0.6879 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.1735, allocations: 30.75 kB / 0.6879 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.1735, allocations: 4.938 kB / 0.6879 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1736, allocations: 160.9 kB / 0.6881 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1736, allocations: 384 / 0.6881 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.1736, allocations: 7.156 kB / 0.6881 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1738, allocations: 37.81 kB / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1738, allocations: 0 / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1738, allocations: 3.938 kB / 0.6881 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1738, allocations: 4 kB / 0.6881 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.244e-05/0.1738, allocations: 4 kB / 0.6881 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.174, allocations: 155.5 kB / 0.6883 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.354e-05/0.1741, allocations: 18.58 kB / 0.6883 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.1741, allocations: 13.8 kB / 0.6883 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005073/0.1746, allocations: 131.8 kB / 0.6884 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1746, allocations: 38.5 kB / 0.6885 GB, free: 11.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1746, allocations: 0 / 0.6885 GB, free: 11.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.1748, allocations: 46.2 kB / 0.6885 GB, free: 11.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.1748, allocations: 59.52 kB / 0.6886 GB, free: 11.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.97e-05/0.1749, allocations: 101.9 kB / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1749, allocations: 25.7 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.175, allocations: 80.14 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.175, allocations: 4 kB / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.175, allocations: 13.7 kB / 0.6888 GB, free: 11.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.1751, allocations: 314.8 kB / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.1752, allocations: 4 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-06/0.1752, allocations: 4 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.232e-05/0.1752, allocations: 20.8 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1752, allocations: 0 / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.446e-05/0.1753, allocations: 45.53 kB / 0.6892 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1753, allocations: 4 kB / 0.6892 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1753, allocations: 4 kB / 0.6892 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1754, allocations: 0 / 0.6892 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.454e-05/0.1754, allocations: 7.938 kB / 0.6892 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1754, allocations: 3.938 kB / 0.6892 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.1754, allocations: 4.094 kB / 0.6892 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.1754, allocations: 0 / 0.6892 GB, free: 10.67 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.596e-05/0.1755, allocations: 110.5 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.1755, allocations: 7.938 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.1756, allocations: 50.72 kB / 0.6893 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1757, allocations: 4 kB / 0.6893 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1757, allocations: 0 / 0.6893 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1757, allocations: 256 / 0.6893 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.1758, allocations: 153.7 kB / 0.6895 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.1758, allocations: 4 kB / 0.6895 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.1758, allocations: 7.938 kB / 0.6895 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1758, allocations: 0 / 0.6895 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1758, allocations: 3.984 kB / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1758, allocations: 0 / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1759, allocations: 0 / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.408e-05/0.1759, allocations: 69.08 kB / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.176, allocations: 92.92 kB / 0.6897 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.176, allocations: 3.984 kB / 0.6897 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.069e-05/0.176, allocations: 4 kB / 0.6897 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.176, allocations: 0 / 0.6897 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1761, allocations: 0 / 0.6897 GB, free: 10.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.782e-05/0.1761, allocations: 79.28 kB / 0.6897 GB, free: 9.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1761, allocations: 0 / 0.6897 GB, free: 9.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1764, allocations: 43.98 kB / 0.6898 GB, free: 9.949 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.0005749/0.1769, allocations: 0.6639 MB / 0.6904 GB, free: 9.254 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.822e-05/0.177, allocations: 15.94 kB / 0.6904 GB, free: 9.238 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.177, allocations: 0 / 0.6904 GB, free: 9.238 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.1771, allocations: 4 kB / 0.6905 GB, free: 9.234 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.1773, allocations: 12.14 kB / 0.6905 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.1777, allocations: 158.3 kB / 0.6906 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1779, allocations: 0.677 MB / 0.6913 GB, free: 8.324 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.329e-05/0.1779, allocations: 0 / 0.6913 GB, free: 8.324 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.178, allocations: 15.44 kB / 0.6913 GB, free: 8.309 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.178, allocations: 0 / 0.6913 GB, free: 8.309 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01196/0.1899, allocations: 2.044 MB / 0.6933 GB, free: 6.527 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003628/0.1903, allocations: 300.8 kB / 0.6936 GB, free: 6.152 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/1.864, allocations: 0 / 0.6936 GB, free: 6.152 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 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)