Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.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_SteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",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.006009/0.00601, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.00155/0.00155, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002558/0.002558, allocations: 282.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.188/1.188, allocations: 178.6 MB / 0.5074 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 99.84 kB / 0.6944 GB, free: 15.11 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4343, allocations: 89.12 MB / 0.7814 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState): time 0.002234/0.4366, allocations: 1.343 MB / 0.7827 GB, free: 84 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004476/0.4371, allocations: 179.8 kB / 0.7829 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.4371, allocations: 0 / 0.7829 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.4371, allocations: 7.938 kB / 0.7829 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.234e-05/0.4372, allocations: 13.88 kB / 0.7829 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.4376, allocations: 68.19 kB / 0.783 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.449e-05/0.4377, allocations: 31.58 kB / 0.783 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.4377, allocations: 6.047 kB / 0.783 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.4378, allocations: 9.734 kB / 0.783 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.987e-05/0.4379, allocations: 13.34 kB / 0.783 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.4379, allocations: 1.469 kB / 0.783 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.4382, allocations: 123.3 kB / 0.7831 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.4382, allocations: 1.688 kB / 0.7831 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.4383, allocations: 12.12 kB / 0.7832 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.4384, allocations: 87.56 kB / 0.7832 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4385, allocations: 7.938 kB / 0.7832 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4385, allocations: 1.188 kB / 0.7832 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.4385, allocations: 0 / 0.7832 GB, free: 15.72 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.0004045/0.4389, allocations: 334.3 kB / 0.7836 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.4389, allocations: 9.125 kB / 0.7836 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.439, allocations: 40.06 kB / 0.7836 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.439, allocations: 6.234 kB / 0.7836 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.4391, allocations: 161.8 kB / 0.7838 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.4392, allocations: 5.656 kB / 0.7838 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.4392, allocations: 1.688 kB / 0.7838 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.4393, allocations: 40.53 kB / 0.7838 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4393, allocations: 9.359 kB / 0.7838 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.4393, allocations: 0 / 0.7838 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4393, allocations: 0 / 0.7838 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.936e-05/0.4394, allocations: 24.7 kB / 0.7838 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.4396, allocations: 168.4 kB / 0.784 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.422e-05/0.4396, allocations: 35.03 kB / 0.784 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.4397, allocations: 15.78 kB / 0.7841 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008193/0.4405, allocations: 143.8 kB / 0.7842 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.4405, allocations: 35.59 kB / 0.7842 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4405, allocations: 0 / 0.7842 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0003384/0.4409, allocations: 70.52 kB / 0.7843 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.4409, allocations: 52.5 kB / 0.7843 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.441, allocations: 103.8 kB / 0.7844 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.441, allocations: 25.7 kB / 0.7845 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.4411, allocations: 85.3 kB / 0.7846 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.4411, allocations: 10.22 kB / 0.7846 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.4412, allocations: 17.47 kB / 0.7846 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4413, allocations: 320 kB / 0.7849 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.4413, allocations: 4.719 kB / 0.7849 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/0.4413, allocations: 12.66 kB / 0.7849 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.4414, allocations: 20.11 kB / 0.7849 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4414, allocations: 0 / 0.7849 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.101e-05/0.4415, allocations: 54.56 kB / 0.785 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4415, allocations: 9.25 kB / 0.785 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.4415, allocations: 1.156 kB / 0.785 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4415, allocations: 0 / 0.785 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.4416, allocations: 10.83 kB / 0.785 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.4416, allocations: 4 kB / 0.785 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.4416, allocations: 1.219 kB / 0.785 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.4416, allocations: 2.438 kB / 0.785 GB, free: 13.88 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 (4): * Single equations (assignments): 4 * 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 7.467e-05/0.4417, allocations: 111.2 kB / 0.7851 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.4417, allocations: 9.016 kB / 0.7851 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.4419, allocations: 78.14 kB / 0.7852 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4419, allocations: 1.312 kB / 0.7852 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.4419, allocations: 0 / 0.7852 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.4419, allocations: 1.469 kB / 0.7852 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.442, allocations: 160.6 kB / 0.7853 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.442, allocations: 0 / 0.7853 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.4421, allocations: 10.61 kB / 0.7854 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4421, allocations: 3.938 kB / 0.7854 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.4421, allocations: 1.156 kB / 0.7854 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4421, allocations: 1.375 kB / 0.7854 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4421, allocations: 0 / 0.7854 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.4422, allocations: 84.11 kB / 0.7854 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.4423, allocations: 94.33 kB / 0.7855 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.4423, allocations: 5.219 kB / 0.7855 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.164e-05/0.4423, allocations: 0 / 0.7855 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.4423, allocations: 6.625 kB / 0.7855 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-06/0.4423, allocations: 1.188 kB / 0.7855 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.911e-05/0.4424, allocations: 88.14 kB / 0.7856 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4424, allocations: 3.938 kB / 0.7856 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002026/0.4426, allocations: 17.78 kB / 0.7856 GB, free: 13.2 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 (4): * Single equations (assignments): 4 * 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.0005192/0.4431, allocations: 0.641 MB / 0.7863 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.073e-05/0.4432, allocations: 22.23 kB / 0.7863 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4432, allocations: 0 / 0.7863 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.4433, allocations: 13.84 kB / 0.7863 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.4434, allocations: 9.141 kB / 0.7863 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.4438, allocations: 156.5 kB / 0.7865 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.4441, allocations: 0.6783 MB / 0.7871 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.4442, allocations: 10.06 kB / 0.7871 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.4442, allocations: 15.45 kB / 0.7872 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.4442, allocations: 3.938 kB / 0.7872 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.4701, allocations: 2.426 MB / 0.7895 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.526, allocations: 22.78 kB / 0.7895 GB, free: 10.46 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe 2>&1)