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.006857/0.006857, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001644/0.001644, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 291 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9486/0.9486, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 108 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1417, allocations: 86.97 MB / 0.766 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.002254/0.144, allocations: 1.353 MB / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.146, allocations: 1.317 MB / 0.7686 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.146, allocations: 0 / 0.7686 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/0.1461, allocations: 3.984 kB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.061e-05/0.1462, allocations: 19.84 kB / 0.7686 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009706/0.1472, allocations: 379.1 kB / 0.769 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.1475, allocations: 376.6 kB / 0.7693 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.1476, allocations: 4 kB / 0.7693 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1477, allocations: 119.9 kB / 0.7694 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.1479, allocations: 183.7 kB / 0.7696 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.1479, allocations: 28 kB / 0.7696 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007744/0.1487, allocations: 491.3 kB / 0.7701 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1488, allocations: 107.8 kB / 0.7702 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.149, allocations: 115.5 kB / 0.7703 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006711/0.1497, allocations: 0.5376 MB / 0.7708 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1497, allocations: 0 / 0.7708 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1497, allocations: 3.938 kB / 0.7708 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.1497, allocations: 0 / 0.7708 GB, free: 3.855 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.0006697/0.1504, allocations: 0.5488 MB / 0.7714 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1504, allocations: 8.031 kB / 0.7714 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.468e-05/0.1505, allocations: 58.73 kB / 0.7714 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.1506, allocations: 20.8 kB / 0.7715 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1507, allocations: 198.3 kB / 0.7717 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1507, allocations: 16.38 kB / 0.7717 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.1508, allocations: 12.38 kB / 0.7717 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.1513, allocations: 329.4 kB / 0.772 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1513, allocations: 4 kB / 0.772 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.1513, allocations: 4 kB / 0.772 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1513, allocations: 8 kB / 0.772 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2794/0.4307, allocations: 2.925 MB / 0.7749 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.4313, allocations: 388.4 kB / 0.7752 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/0.4321, allocations: 0.4975 MB / 0.7757 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.4325, allocations: 237.3 kB / 0.7759 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/0.4337, allocations: 0.9301 MB / 0.7769 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.4337, allocations: 37.53 kB / 0.7769 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/0.4337, allocations: 0.5312 kB / 0.7769 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.001406/0.4352, allocations: 0.7574 MB / 0.7776 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.4352, allocations: 62.92 kB / 0.7777 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.4353, allocations: 145.6 kB / 0.7778 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4353, allocations: 34.52 kB / 0.7779 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.4354, allocations: 97.62 kB / 0.778 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.773e-05/0.4355, allocations: 150.2 kB / 0.7781 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.4356, allocations: 98.84 kB / 0.7782 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.4357, allocations: 331.8 kB / 0.7785 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.436, allocations: 208.9 kB / 0.7787 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.4364, allocations: 209.9 kB / 0.7789 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.4371, allocations: 492 kB / 0.7794 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4371, allocations: 10.06 kB / 0.7794 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008358/0.4379, allocations: 0.5421 MB / 0.7799 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.438, allocations: 7.719 kB / 0.7799 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.438, allocations: 0 / 0.7799 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.438, allocations: 11.52 kB / 0.7799 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.4383, allocations: 94.66 kB / 0.78 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4383, allocations: 2.781 kB / 0.78 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/0.4384, allocations: 26.97 kB / 0.7801 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.4384, allocations: 24.22 kB / 0.7801 GB, free: 13.38 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.000126/0.4386, allocations: 159 kB / 0.7802 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.4386, allocations: 18.69 kB / 0.7802 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.4401, allocations: 0.9014 MB / 0.7811 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4401, allocations: 9.188 kB / 0.7811 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.4402, allocations: 0 / 0.7811 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4402, allocations: 6.672 kB / 0.7811 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.4406, allocations: 399.4 kB / 0.7815 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4406, allocations: 0 / 0.7815 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.4408, allocations: 102.3 kB / 0.7816 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.4408, allocations: 3.984 kB / 0.7816 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.4409, allocations: 22.16 kB / 0.7816 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4409, allocations: 5.281 kB / 0.7817 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4409, allocations: 0 / 0.7817 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007616/0.4417, allocations: 0.5945 MB / 0.7822 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.4417, allocations: 103.5 kB / 0.7823 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.4418, allocations: 10.12 kB / 0.7823 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.14e-05/0.4418, allocations: 15.81 kB / 0.7824 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.4419, allocations: 35.38 kB / 0.7824 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.4419, allocations: 23.09 kB / 0.7824 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.442, allocations: 114.6 kB / 0.7825 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.442, allocations: 0 / 0.7825 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000434/0.4424, allocations: 188.1 kB / 0.7827 GB, free: 12.51 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.001249/0.4437, allocations: 1.273 MB / 0.7839 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007538/0.4444, allocations: 0.5086 MB / 0.7844 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4445, allocations: 0 / 0.7844 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.4448, allocations: 283.2 kB / 0.7847 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.4451, allocations: 61.58 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.00101/0.4461, allocations: 0.7018 MB / 0.7855 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.4463, allocations: 0.7521 MB / 0.7862 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005163/0.4468, allocations: 349.1 kB / 0.7865 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.447, allocations: 92.02 kB / 0.7866 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.447, allocations: 0 / 0.7866 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.4721, allocations: 8.139 MB / 0.7946 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/8.059, allocations: 7.094 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)