Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.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_Erfint,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",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.00168/0.00168, allocations: 112.5 kB / 15.73 MB, free: 76 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.00158/0.00158, allocations: 194.6 kB / 16.67 MB, free: 6.539 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002535/0.002535, allocations: 287.1 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 178.6 MB / 0.5074 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002586/0.002586, allocations: 101.3 kB / 0.6943 GB, free: 3.574 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4346, allocations: 89.14 MB / 0.7814 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.001612/0.4362, allocations: 0.5817 MB / 0.782 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.4381, allocations: 1.308 MB / 0.7832 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.4381, allocations: 0 / 0.7832 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.4381, allocations: 0 / 0.7832 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.4381, allocations: 0 / 0.7832 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.4386, allocations: 104.8 kB / 0.7833 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.785e-05/0.4387, allocations: 10.08 kB / 0.7833 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.4387, allocations: 2.172 kB / 0.7833 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.804e-05/0.4388, allocations: 9.953 kB / 0.7834 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.577e-05/0.4388, allocations: 6.609 kB / 0.7834 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.4388, allocations: 1.312 kB / 0.7834 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.4391, allocations: 114.7 kB / 0.7835 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.4391, allocations: 2.125 kB / 0.7835 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.4392, allocations: 1.906 kB / 0.7835 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.4393, allocations: 85.2 kB / 0.7836 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4394, allocations: 0.6562 kB / 0.7836 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4394, allocations: 1.188 kB / 0.7836 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4394, allocations: 0 / 0.7836 GB, free: 12.45 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003802/0.4398, allocations: 347.7 kB / 0.7839 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.4398, allocations: 9.625 kB / 0.7839 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.4399, allocations: 32.56 kB / 0.7839 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.44, allocations: 11.42 kB / 0.7839 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.4401, allocations: 165.6 kB / 0.7841 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.4401, allocations: 1.344 kB / 0.7841 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.4401, allocations: 3.562 kB / 0.7841 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.4403, allocations: 47.58 kB / 0.7841 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4403, allocations: 4 kB / 0.7841 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.4403, allocations: 2.312 kB / 0.7842 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.4403, allocations: 0 / 0.7842 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.4404, allocations: 12.84 kB / 0.7842 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.4405, allocations: 152.3 kB / 0.7843 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.4407, allocations: 45.27 kB / 0.7844 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.4408, allocations: 23.22 kB / 0.7844 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.4419, allocations: 1.484 MB / 0.7858 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.4419, allocations: 35.02 kB / 0.7859 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4419, allocations: 1.25 kB / 0.7859 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001704/0.4421, allocations: 60.44 kB / 0.7859 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.4421, allocations: 52.56 kB / 0.786 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.9e-05/0.4422, allocations: 90.61 kB / 0.7861 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.4422, allocations: 26.8 kB / 0.7861 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.4423, allocations: 84.14 kB / 0.7862 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.4423, allocations: 15.58 kB / 0.7862 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.4423, allocations: 19.27 kB / 0.7862 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4425, allocations: 312.1 kB / 0.7865 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/0.4425, allocations: 13.88 kB / 0.7865 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.4425, allocations: 6.391 kB / 0.7865 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.774e-05/0.4426, allocations: 25.94 kB / 0.7865 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4426, allocations: 0 / 0.7865 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.089e-05/0.4427, allocations: 61.09 kB / 0.7866 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4427, allocations: 9.5 kB / 0.7866 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4427, allocations: 1.5 kB / 0.7866 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4427, allocations: 0.6094 kB / 0.7866 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/0.4428, allocations: 8.562 kB / 0.7866 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.4428, allocations: 4.453 kB / 0.7866 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.4428, allocations: 5.141 kB / 0.7866 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.4429, allocations: 2 kB / 0.7866 GB, free: 8.965 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 (5): * Single equations (assignments): 5 * 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.596e-05/0.4429, allocations: 116.5 kB / 0.7867 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.443, allocations: 5.125 kB / 0.7867 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.4431, allocations: 71.06 kB / 0.7868 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4431, allocations: 1.094 kB / 0.7868 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4431, allocations: 4.734 kB / 0.7868 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4431, allocations: 0 / 0.7868 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.4433, allocations: 161 kB / 0.787 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4433, allocations: 0 / 0.787 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.4434, allocations: 13.75 kB / 0.787 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4434, allocations: 3.938 kB / 0.787 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4434, allocations: 9.188 kB / 0.787 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4434, allocations: 2 kB / 0.787 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4434, allocations: 0 / 0.787 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.4436, allocations: 99.89 kB / 0.7871 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.4436, allocations: 87.12 kB / 0.7872 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.4436, allocations: 2.25 kB / 0.7872 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.4437, allocations: 0 / 0.7872 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.4437, allocations: 8.562 kB / 0.7872 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.4437, allocations: 5.047 kB / 0.7872 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.4437, allocations: 76.31 kB / 0.7873 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4437, allocations: 0 / 0.7873 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002246/0.444, allocations: 25.77 kB / 0.7873 GB, free: 8.305 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (erfint_num) * 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 (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 Backend phase and start with SimCode phase: time 0.0006711/0.4446, allocations: 0.6938 MB / 0.788 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.4448, allocations: 27.94 kB / 0.788 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4448, allocations: 0 / 0.788 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.4448, allocations: 21.78 kB / 0.788 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.445, allocations: 3.688 kB / 0.788 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.446, allocations: 1.133 MB / 0.7891 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.4463, allocations: 0.677 MB / 0.7898 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.551e-05/0.4463, allocations: 8.078 kB / 0.7898 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.4464, allocations: 11.09 kB / 0.7898 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.4464, allocations: 4 kB / 0.7898 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.4712, allocations: 1.859 MB / 0.7916 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.327, allocations: 18.41 kB / 0.7916 GB, free: 5.445 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_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_FiniteLineSource_Erfint.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe 2>&1)