Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.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.InfiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",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.005612/0.005612, allocations: 97.64 kB / 15.73 MB, free: 5.988 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.001513/0.001513, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002466/0.002466, allocations: 294.9 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 178.6 MB / 0.5074 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 100.1 kB / 0.6943 GB, free: 3.555 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.4674, allocations: 89.15 MB / 0.7814 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource): time 0.002345/0.4698, allocations: 1.304 MB / 0.7827 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005467/0.4704, allocations: 236.5 kB / 0.7829 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.4704, allocations: 0 / 0.7829 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.4704, allocations: 1.938 kB / 0.7829 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.4706, allocations: 15.97 kB / 0.7829 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.4708, allocations: 36.19 kB / 0.7829 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.4709, allocations: 42.95 kB / 0.783 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.471, allocations: 1.75 kB / 0.783 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.98e-05/0.471, allocations: 13.23 kB / 0.783 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.033e-05/0.4711, allocations: 22.3 kB / 0.783 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.4711, allocations: 4 kB / 0.783 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.4712, allocations: 48.28 kB / 0.7831 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.4713, allocations: 14.64 kB / 0.7831 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.4713, allocations: 16.08 kB / 0.7831 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.4715, allocations: 71.62 kB / 0.7832 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4715, allocations: 0 / 0.7832 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4715, allocations: 0 / 0.7832 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.4715, allocations: 0 / 0.7832 GB, free: 12.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004524/0.4719, allocations: 352.9 kB / 0.7835 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.472, allocations: 13.53 kB / 0.7835 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.472, allocations: 40.8 kB / 0.7836 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.4724, allocations: 23.73 kB / 0.7836 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.4726, allocations: 173.9 kB / 0.7837 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.4726, allocations: 1.562 kB / 0.7837 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.4726, allocations: 7 kB / 0.7838 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.4728, allocations: 56.91 kB / 0.7838 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4728, allocations: 3.938 kB / 0.7838 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.4728, allocations: 0 / 0.7838 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4728, allocations: 1.938 kB / 0.7838 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.473, allocations: 67.58 kB / 0.7839 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.4732, allocations: 169.8 kB / 0.784 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.4734, allocations: 60.42 kB / 0.7841 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.606e-05/0.4734, allocations: 26.69 kB / 0.7841 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.4735, allocations: 3.938 kB / 0.7841 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.4735, allocations: 31.84 kB / 0.7842 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.4735, allocations: 0 / 0.7842 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0003427/0.4738, allocations: 119.5 kB / 0.7843 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.4739, allocations: 52.88 kB / 0.7843 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.474, allocations: 109.4 kB / 0.7844 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.474, allocations: 25.7 kB / 0.7844 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.4741, allocations: 87.89 kB / 0.7845 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.4741, allocations: 20.05 kB / 0.7846 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.4741, allocations: 21.55 kB / 0.7846 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4743, allocations: 317.7 kB / 0.7849 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.216e-05/0.4743, allocations: 23.91 kB / 0.7849 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.4744, allocations: 15.44 kB / 0.7849 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.4745, allocations: 48.23 kB / 0.785 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4745, allocations: 0 / 0.785 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000215/0.4748, allocations: 79.69 kB / 0.785 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4748, allocations: 10.19 kB / 0.785 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.4748, allocations: 0 / 0.785 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.4748, allocations: 0 / 0.785 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.4749, allocations: 12.25 kB / 0.7851 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4749, allocations: 0.6562 kB / 0.7851 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.475, allocations: 13.98 kB / 0.7851 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.475, allocations: 3.203 kB / 0.7851 GB, free: 10.93 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 (6): * Single equations (assignments): 6 * 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 9.245e-05/0.4751, allocations: 120.1 kB / 0.7852 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.4752, allocations: 11.3 kB / 0.7852 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.4754, allocations: 95.44 kB / 0.7853 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4754, allocations: 1.312 kB / 0.7853 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4754, allocations: 0 / 0.7853 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4754, allocations: 4.516 kB / 0.7853 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.4756, allocations: 173.2 kB / 0.7855 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4756, allocations: 0 / 0.7855 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.808e-05/0.4757, allocations: 12.86 kB / 0.7855 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.4757, allocations: 6.062 kB / 0.7855 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4757, allocations: 4.656 kB / 0.7855 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.4757, allocations: 5.375 kB / 0.7855 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4757, allocations: 4.594 kB / 0.7855 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.476, allocations: 120.2 kB / 0.7856 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.476, allocations: 84.14 kB / 0.7857 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.4761, allocations: 4.594 kB / 0.7857 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-05/0.4761, allocations: 2.141 kB / 0.7857 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.4762, allocations: 4.609 kB / 0.7857 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.4762, allocations: 2.031 kB / 0.7857 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.206e-05/0.4762, allocations: 96.39 kB / 0.7858 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4762, allocations: 0 / 0.7858 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002523/0.4765, allocations: 22.77 kB / 0.7858 GB, free: 10.26 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 (7): * Single equations (assignments): 7 * 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.0008532/0.4774, allocations: 0.6651 MB / 0.7865 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.4776, allocations: 50.33 kB / 0.7865 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4777, allocations: 0 / 0.7865 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4778, allocations: 35.66 kB / 0.7865 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.4781, allocations: 14.09 kB / 0.7866 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.4798, allocations: 1.322 MB / 0.7878 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.4801, allocations: 0.6889 MB / 0.7885 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.078e-05/0.4802, allocations: 27.61 kB / 0.7885 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.4803, allocations: 18.7 kB / 0.7886 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.4803, allocations: 4 kB / 0.7886 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.504, allocations: 2.335 MB / 0.7909 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.532/8.036, allocations: 4.25 kB / 0.7909 GB, free: 7.359 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe 2>&1)