Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",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.001086/0.001086, 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.001089/0.001089, allocations: 193 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.304/1.304, 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.00209/0.00209, allocations: 294.9 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.9385/0.9385, allocations: 169.3 MB / 0.4982 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 94.19 kB / 0.5954 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1346, allocations: 86.98 MB / 0.6803 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002188/0.1368, allocations: 1.292 MB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1386, allocations: 1.341 MB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.1387, allocations: 0 / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.1387, allocations: 0 / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.742e-05/0.1388, allocations: 11.92 kB / 0.6829 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.1396, allocations: 375.1 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.377e-05/0.1397, allocations: 39.91 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.1398, allocations: 3.984 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.564e-05/0.1398, allocations: 15.98 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.1399, allocations: 19.92 kB / 0.6834 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1399, allocations: 4 kB / 0.6834 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006835/0.1406, allocations: 0.5226 MB / 0.6839 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.1406, allocations: 19.98 kB / 0.6839 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.1407, allocations: 11.94 kB / 0.6839 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.1411, allocations: 347.3 kB / 0.6842 GB, free: 12.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1411, allocations: 4 kB / 0.6842 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1411, allocations: 0 / 0.6842 GB, free: 12.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1411, allocations: 0 / 0.6842 GB, free: 12.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004518/0.1416, allocations: 407.4 kB / 0.6846 GB, free: 12.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1416, allocations: 8.031 kB / 0.6846 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.1417, allocations: 38.75 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/0.142, allocations: 40.81 kB / 0.6847 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1421, allocations: 172.3 kB / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-06/0.1421, allocations: 384 / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1421, allocations: 4.375 kB / 0.6849 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1423, allocations: 61.73 kB / 0.6849 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1423, allocations: 0 / 0.6849 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1423, allocations: 4 kB / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1423, allocations: 0 / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.1425, allocations: 59.92 kB / 0.685 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.1427, allocations: 177.6 kB / 0.6852 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1428, allocations: 62.55 kB / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.1428, allocations: 24.97 kB / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000518/0.1434, allocations: 212.9 kB / 0.6854 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.1434, allocations: 38.44 kB / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1434, allocations: 0 / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002244/0.1436, allocations: 93.66 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.1437, allocations: 55.41 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.1437, allocations: 109.8 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1438, allocations: 33.7 kB / 0.6858 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.1438, allocations: 80.14 kB / 0.6858 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.1438, allocations: 23.66 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.1439, allocations: 29.64 kB / 0.6859 GB, free: 10.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.144, allocations: 310.8 kB / 0.6862 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/0.144, allocations: 19.98 kB / 0.6862 GB, free: 10.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.78e-05/0.1441, allocations: 19.98 kB / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.104e-05/0.1442, allocations: 49.14 kB / 0.6863 GB, free: 10.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1442, allocations: 4 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001392/0.1443, allocations: 81.61 kB / 0.6864 GB, free: 10.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1443, allocations: 8 kB / 0.6864 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1444, allocations: 0 / 0.6864 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1444, allocations: 0 / 0.6864 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.1445, allocations: 16 kB / 0.6864 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1445, allocations: 320 / 0.6864 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.315e-05/0.1445, allocations: 3.906 kB / 0.6864 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1445, allocations: 4 kB / 0.6864 GB, free: 10.07 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 (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 prepare postOptimizeDAE: time 7.22e-05/0.1446, allocations: 126.4 kB / 0.6865 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.851e-05/0.1446, allocations: 3.938 kB / 0.6865 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.1451, allocations: 293.7 kB / 0.6868 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1451, allocations: 0 / 0.6868 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1451, allocations: 0 / 0.6868 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1452, allocations: 0 / 0.6868 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1453, allocations: 177.5 kB / 0.687 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1453, allocations: 0 / 0.687 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.107e-05/0.1454, allocations: 23.92 kB / 0.687 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1454, allocations: 3.938 kB / 0.687 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1454, allocations: 4 kB / 0.687 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1454, allocations: 8 kB / 0.687 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1454, allocations: 4 kB / 0.687 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.1456, allocations: 101.1 kB / 0.6871 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.1456, allocations: 92.89 kB / 0.6872 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.1456, allocations: 3.984 kB / 0.6872 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.1457, allocations: 4 kB / 0.6872 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.381e-05/0.1457, allocations: 4 kB / 0.6872 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1457, allocations: 4 kB / 0.6872 GB, free: 9.133 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.1458, allocations: 95.27 kB / 0.6873 GB, free: 9.039 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1458, allocations: 0 / 0.6873 GB, free: 9.039 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.1461, allocations: 112 kB / 0.6874 GB, free: 8.93 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 (7): * Single equations (assignments): 7 * 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.0007534/0.1469, allocations: 0.7919 MB / 0.6882 GB, free: 8.109 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.147, allocations: 51.97 kB / 0.6882 GB, free: 8.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.147, allocations: 3.938 kB / 0.6882 GB, free: 8.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.1471, allocations: 27.98 kB / 0.6883 GB, free: 8.027 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.1473, allocations: 15.92 kB / 0.6883 GB, free: 8.012 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1485, allocations: 1.38 MB / 0.6896 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.1487, allocations: 0.6897 MB / 0.6903 GB, free: 5.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003423/0.1491, allocations: 263.7 kB / 0.6905 GB, free: 5.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.1491, allocations: 23.42 kB / 0.6906 GB, free: 5.562 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1491, allocations: 0 / 0.6906 GB, free: 5.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.1686, allocations: 4.001 MB / 0.6945 GB, free: 1.766 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.976/7.145, allocations: 9.703 kB / 0.6945 GB, free: 1.766 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_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_CylindricalHeatSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)