Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",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.001338/0.001338, allocations: 108 kB / 15.61 MB, free: 152 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.001339/0.001339, allocations: 195.7 kB / 16.53 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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: 283 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.054/1.054, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 111.2 kB / 0.6066 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1543, allocations: 89.13 MB / 0.6936 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.00264/0.1569, allocations: 1.356 MB / 0.695 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1591, allocations: 1.31 MB / 0.6962 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.1591, allocations: 4 kB / 0.6962 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.1592, allocations: 3.984 kB / 0.6963 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.529e-05/0.1593, allocations: 23.91 kB / 0.6963 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1603, allocations: 378.1 kB / 0.6966 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.1607, allocations: 372.7 kB / 0.697 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.1608, allocations: 15.92 kB / 0.697 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1609, allocations: 119.9 kB / 0.6971 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.1611, allocations: 179.8 kB / 0.6973 GB, free: 476 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.1612, allocations: 20 kB / 0.6973 GB, free: 456 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008459/0.162, allocations: 0.4915 MB / 0.6978 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.1622, allocations: 107.7 kB / 0.6979 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.1623, allocations: 115.5 kB / 0.698 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007392/0.1631, allocations: 0.5301 MB / 0.6985 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1631, allocations: 4 kB / 0.6985 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1631, allocations: 7.938 kB / 0.6985 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.1631, allocations: 0 / 0.6985 GB, free: 15.19 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007452/0.1639, allocations: 0.5379 MB / 0.6991 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1639, allocations: 8.031 kB / 0.6991 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.937e-05/0.164, allocations: 50.73 kB / 0.6991 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.1641, allocations: 20.75 kB / 0.6991 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.1642, allocations: 198.5 kB / 0.6993 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1643, allocations: 12.38 kB / 0.6993 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.1643, allocations: 16.38 kB / 0.6993 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.1649, allocations: 333.4 kB / 0.6997 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1649, allocations: 0 / 0.6997 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.1649, allocations: 8 kB / 0.6997 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1649, allocations: 4 kB / 0.6997 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004662/0.1696, allocations: 2.929 MB / 0.7025 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.1701, allocations: 389.1 kB / 0.7029 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/0.171, allocations: 0.4913 MB / 0.7034 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.1713, allocations: 236.7 kB / 0.7036 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/0.1729, allocations: 0.9313 MB / 0.7045 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.173, allocations: 38.5 kB / 0.7046 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 1.462e-06/0.173, allocations: 0 / 0.7046 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.00148/0.1745, allocations: 0.7567 MB / 0.7053 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1745, allocations: 59.41 kB / 0.7054 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1747, allocations: 146.1 kB / 0.7055 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.1747, allocations: 33.64 kB / 0.7055 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.1748, allocations: 101.1 kB / 0.7056 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.175, allocations: 149.8 kB / 0.7058 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.1751, allocations: 93.69 kB / 0.7059 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1753, allocations: 334.8 kB / 0.7062 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.1757, allocations: 211.8 kB / 0.7064 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.1761, allocations: 216.1 kB / 0.7066 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007986/0.1769, allocations: 485.1 kB / 0.707 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1769, allocations: 0 / 0.707 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009757/0.1779, allocations: 0.5555 MB / 0.7076 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1779, allocations: 12 kB / 0.7076 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.178, allocations: 0 / 0.7076 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.178, allocations: 0 / 0.7076 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.1783, allocations: 95.89 kB / 0.7077 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1783, allocations: 7.938 kB / 0.7077 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.1784, allocations: 15.84 kB / 0.7077 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.1784, allocations: 27.98 kB / 0.7077 GB, free: 5.355 MB / 0.4981 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 (43): * Single equations (assignments): 43 * 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.0001798/0.1786, allocations: 154.4 kB / 0.7079 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.1787, allocations: 23.66 kB / 0.7079 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.1804, allocations: 0.9002 MB / 0.7088 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1804, allocations: 7.938 kB / 0.7088 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1804, allocations: 0 / 0.7088 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1804, allocations: 0 / 0.7088 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.1809, allocations: 397.1 kB / 0.7092 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.1809, allocations: 8 kB / 0.7092 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.1812, allocations: 99.83 kB / 0.7093 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1812, allocations: 0 / 0.7093 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.1813, allocations: 23.98 kB / 0.7093 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1813, allocations: 0 / 0.7093 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1813, allocations: 0 / 0.7093 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009853/0.1823, allocations: 0.5963 MB / 0.7099 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.1824, allocations: 104.7 kB / 0.71 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.1824, allocations: 12 kB / 0.71 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.1825, allocations: 8 kB / 0.71 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.1826, allocations: 39.94 kB / 0.71 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.1826, allocations: 27.98 kB / 0.7101 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.048e-05/0.1827, allocations: 112.6 kB / 0.7102 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1827, allocations: 3.938 kB / 0.7102 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005137/0.1832, allocations: 183.9 kB / 0.7104 GB, free: 2.598 MB / 0.4981 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 (44): * Single equations (assignments): 44 * 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.001779/0.185, allocations: 1.284 MB / 0.7116 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.1862, allocations: 0.7338 MB / 0.7123 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1862, allocations: 4 kB / 0.7123 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.1866, allocations: 284.7 kB / 0.7126 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1869, allocations: 47.97 kB / 0.7126 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.1882, allocations: 0.7021 MB / 0.7133 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.1886, allocations: 0.7524 MB / 0.7141 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005639/0.1892, allocations: 351.2 kB / 0.7144 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.1894, allocations: 87.41 kB / 0.7145 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1894, allocations: 4 kB / 0.7145 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.2193, allocations: 8.06 MB / 0.7224 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/7.974, allocations: 10.58 kB / 0.7224 GB, free: 6.512 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_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.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)