Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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.CylindricalHeatSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",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.001127/0.001127, allocations: 108 kB / 15.6 MB, free: 132 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.001098/0.001098, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 286.8 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9176/0.9176, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001687, allocations: 103 kB / 0.5954 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1314, allocations: 86.98 MB / 0.6803 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.00171/0.1331, allocations: 0.5593 MB / 0.6809 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.135, allocations: 1.588 MB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.135, allocations: 3.938 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.135, allocations: 0 / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.145e-05/0.1351, allocations: 4 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.1357, allocations: 199.4 kB / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.594e-05/0.1358, allocations: 31.97 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.1358, allocations: 3.984 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.82e-05/0.1359, allocations: 4 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.085e-05/0.1359, allocations: 8 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1359, allocations: 0 / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.1364, allocations: 279.5 kB / 0.6829 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.1364, allocations: 11.92 kB / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.1365, allocations: 11.92 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1367, allocations: 163.6 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1367, allocations: 0 / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1367, allocations: 4 kB / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1367, allocations: 0 / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003502/0.1371, allocations: 371.7 kB / 0.6835 GB, free: 13.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1371, allocations: 12.03 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.1372, allocations: 34.75 kB / 0.6835 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008074/0.138, allocations: 72.86 kB / 0.6836 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1381, allocations: 172.3 kB / 0.6838 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1381, allocations: 384 / 0.6838 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1382, allocations: 12.3 kB / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1383, allocations: 77.73 kB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1383, allocations: 0 / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1384, allocations: 4 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1384, allocations: 4 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.1386, allocations: 83.88 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.1388, allocations: 185.6 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1389, allocations: 82.52 kB / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.367e-05/0.139, allocations: 48.83 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.139, allocations: 0 / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1391, allocations: 34.5 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1391, allocations: 0 / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003275/0.1394, allocations: 149.5 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.1394, allocations: 51.41 kB / 0.6845 GB, free: 12.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/0.1395, allocations: 105.8 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1395, allocations: 25.7 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.1396, allocations: 88.14 kB / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.1396, allocations: 11.75 kB / 0.6847 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.1397, allocations: 29.69 kB / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.1398, allocations: 318.8 kB / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.1398, allocations: 35.97 kB / 0.685 GB, free: 11.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.832e-05/0.1399, allocations: 31.97 kB / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.14, allocations: 77.44 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1401, allocations: 0 / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001997/0.1403, allocations: 113.5 kB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1403, allocations: 4 kB / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1403, allocations: 0 / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.1403, allocations: 0 / 0.6853 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.1405, allocations: 23.91 kB / 0.6853 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.1405, allocations: 4 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.1406, allocations: 4 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.1406, allocations: 7.984 kB / 0.6853 GB, free: 11.17 MB / 494.1 MB 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 7.286e-05/0.1407, allocations: 114.5 kB / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.1407, allocations: 11.84 kB / 0.6854 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.1411, allocations: 217 kB / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1412, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1412, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1412, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.1413, allocations: 221.4 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1413, allocations: 0 / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.1415, allocations: 31.88 kB / 0.6859 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1415, allocations: 7.984 kB / 0.6859 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1415, allocations: 0 / 0.6859 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1415, allocations: 0 / 0.6859 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1415, allocations: 4 kB / 0.6859 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1418, allocations: 190.5 kB / 0.6861 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.1418, allocations: 92.95 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1419, allocations: 0 / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.142, allocations: 4 kB / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.142, allocations: 15.92 kB / 0.6862 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.142, allocations: 3.938 kB / 0.6862 GB, free: 10.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.844e-05/0.1421, allocations: 95.33 kB / 0.6863 GB, free: 10.08 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1421, allocations: 4 kB / 0.6863 GB, free: 10.08 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1424, allocations: 63.98 kB / 0.6863 GB, free: 10.02 MB / 494.1 MB 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 (16): * Single equations (assignments): 16 * 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.0007319/0.1431, allocations: 0.8096 MB / 0.6871 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.1433, allocations: 111.9 kB / 0.6872 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1433, allocations: 4 kB / 0.6872 GB, free: 9.062 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1434, allocations: 83.83 kB / 0.6873 GB, free: 8.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.1436, allocations: 9.875 kB / 0.6873 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.1441, allocations: 266.5 kB / 0.6876 GB, free: 8.672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.1443, allocations: 0.6963 MB / 0.6883 GB, free: 7.949 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.526e-05/0.1444, allocations: 27.95 kB / 0.6883 GB, free: 7.922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.1445, allocations: 36.42 kB / 0.6883 GB, free: 7.887 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1445, allocations: 0 / 0.6883 GB, free: 7.887 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.1626, allocations: 3.634 MB / 0.6919 GB, free: 4.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.183, allocations: 12.39 kB / 0.6919 GB, free: 4.449 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.csv --start-time 0.01 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005996 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)