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.005628/0.005628, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001341/0.001341, allocations: 193.3 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 279.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.916/0.916, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 91.92 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1481, allocations: 86.97 MB / 0.766 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.00234/0.1505, allocations: 1.353 MB / 0.7673 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1524, allocations: 1.313 MB / 0.7686 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.1524, allocations: 0 / 0.7686 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.1525, allocations: 7.938 kB / 0.7686 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.1526, allocations: 19.91 kB / 0.7686 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009665/0.1536, allocations: 374.2 kB / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.1539, allocations: 376.6 kB / 0.7693 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.154, allocations: 4 kB / 0.7693 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1541, allocations: 123.9 kB / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.1543, allocations: 187.7 kB / 0.7696 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.1544, allocations: 24 kB / 0.7696 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007692/0.1552, allocations: 495.3 kB / 0.7701 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1553, allocations: 107.8 kB / 0.7702 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.1554, allocations: 115.5 kB / 0.7703 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006825/0.1561, allocations: 0.5376 MB / 0.7708 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1561, allocations: 0 / 0.7708 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.487e-06/0.1561, allocations: 0 / 0.7708 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.1562, allocations: 3.938 kB / 0.7708 GB, free: 3.859 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.000731/0.1569, allocations: 0.5488 MB / 0.7714 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.157, allocations: 12.03 kB / 0.7714 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.606e-05/0.157, allocations: 54.73 kB / 0.7714 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.1571, allocations: 20.8 kB / 0.7715 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1572, allocations: 194.3 kB / 0.7717 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1573, allocations: 16.38 kB / 0.7717 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.1573, allocations: 16.38 kB / 0.7717 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.1578, allocations: 333.3 kB / 0.772 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1579, allocations: 4 kB / 0.772 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.1579, allocations: 8 kB / 0.772 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1579, allocations: 4 kB / 0.772 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2875/0.4454, allocations: 2.925 MB / 0.7749 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.446, allocations: 386.5 kB / 0.7752 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008294/0.4469, allocations: 0.4952 MB / 0.7757 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003671/0.4472, allocations: 234.6 kB / 0.7759 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.4485, allocations: 0.9274 MB / 0.7769 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.4486, allocations: 42.31 kB / 0.7769 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.4486, allocations: 0 / 0.7769 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.001391/0.45, allocations: 0.7585 MB / 0.7776 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.45, allocations: 61.39 kB / 0.7777 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.4501, allocations: 147.1 kB / 0.7778 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.4502, allocations: 33.55 kB / 0.7779 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.4502, allocations: 101.1 kB / 0.778 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.4503, allocations: 151.1 kB / 0.7781 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.4504, allocations: 96.52 kB / 0.7782 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.4505, allocations: 333.3 kB / 0.7785 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.4509, allocations: 208.2 kB / 0.7787 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.4512, allocations: 212.5 kB / 0.7789 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.452, allocations: 492.3 kB / 0.7794 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.452, allocations: 0 / 0.7794 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000843/0.4528, allocations: 0.5484 MB / 0.7799 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4528, allocations: 6.188 kB / 0.7799 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4529, allocations: 0.7188 kB / 0.7799 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4529, allocations: 9 kB / 0.7799 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.4532, allocations: 99.3 kB / 0.78 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.4532, allocations: 1.719 kB / 0.78 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.4533, allocations: 25.81 kB / 0.7801 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.4533, allocations: 22.03 kB / 0.7801 GB, free: 13.35 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 (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.0001341/0.4535, allocations: 167 kB / 0.7802 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.4535, allocations: 17.25 kB / 0.7803 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.455, allocations: 0.8924 MB / 0.7811 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.4551, allocations: 8.281 kB / 0.7811 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4551, allocations: 2.312 kB / 0.7811 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4551, allocations: 1.453 kB / 0.7811 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.4555, allocations: 405.1 kB / 0.7815 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4555, allocations: 0 / 0.7815 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.4558, allocations: 102 kB / 0.7816 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.4558, allocations: 4.516 kB / 0.7816 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.4559, allocations: 21.81 kB / 0.7816 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.4559, allocations: 6.094 kB / 0.7817 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4559, allocations: 1.25 kB / 0.7817 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008298/0.4567, allocations: 0.5887 MB / 0.7822 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.4568, allocations: 102.9 kB / 0.7823 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.4568, allocations: 10.81 kB / 0.7823 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.4569, allocations: 11.42 kB / 0.7823 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.722e-05/0.457, allocations: 39.48 kB / 0.7824 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.457, allocations: 24.06 kB / 0.7824 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.042e-05/0.4571, allocations: 113.9 kB / 0.7825 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4571, allocations: 0 / 0.7825 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004838/0.4576, allocations: 192.9 kB / 0.7827 GB, free: 12.5 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 (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.00137/0.459, allocations: 1.281 MB / 0.784 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008641/0.4598, allocations: 0.4972 MB / 0.7844 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4598, allocations: 0 / 0.7844 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.4602, allocations: 286.5 kB / 0.7847 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.4606, allocations: 54.77 kB / 0.7848 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.4618, allocations: 0.7113 MB / 0.7855 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.462, allocations: 0.7524 MB / 0.7862 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005511/0.4625, allocations: 345.1 kB / 0.7865 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.4627, allocations: 94.27 kB / 0.7866 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.4627, allocations: 2.344 kB / 0.7866 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.4908, allocations: 8.137 MB / 0.7946 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.961, allocations: 5.25 kB / 0.7946 GB, free: 9.965 MB / 0.5606 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)