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.006967/0.006967, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001366/0.001366, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002449/0.002449, 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.9744/0.9744, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 99.92 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1578, allocations: 86.98 MB / 0.766 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001578/0.1594, allocations: 0.5682 MB / 0.7665 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.1615, allocations: 1.6 MB / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.1615, allocations: 0 / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.1616, allocations: 3.938 kB / 0.7681 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.268e-05/0.1616, allocations: 0 / 0.7681 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006651/0.1623, allocations: 203.4 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.1624, allocations: 23.92 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.1624, allocations: 7.969 kB / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.947e-05/0.1625, allocations: 8 kB / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.583e-05/0.1625, allocations: 8 kB / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.1625, allocations: 0 / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005061/0.163, allocations: 271.5 kB / 0.7686 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.1631, allocations: 15.92 kB / 0.7686 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.1631, allocations: 7.938 kB / 0.7686 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.1634, allocations: 171.7 kB / 0.7688 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1634, allocations: 0 / 0.7688 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1634, allocations: 0 / 0.7688 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1634, allocations: 0 / 0.7688 GB, free: 5.988 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004211/0.1638, allocations: 371.1 kB / 0.7691 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1639, allocations: 12.03 kB / 0.7691 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.1639, allocations: 34.75 kB / 0.7692 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007257/0.1646, allocations: 68.81 kB / 0.7692 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1648, allocations: 172.4 kB / 0.7694 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1648, allocations: 4.375 kB / 0.7694 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1648, allocations: 4.359 kB / 0.7694 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.165, allocations: 89.61 kB / 0.7695 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.165, allocations: 0 / 0.7695 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1651, allocations: 0 / 0.7695 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1651, allocations: 0 / 0.7695 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.1653, allocations: 83.88 kB / 0.7696 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.1655, allocations: 193.5 kB / 0.7698 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1657, allocations: 90.45 kB / 0.7698 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.1658, allocations: 44.89 kB / 0.7699 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1658, allocations: 0 / 0.7699 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.1658, allocations: 34.5 kB / 0.7699 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1659, allocations: 0 / 0.7699 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003448/0.1662, allocations: 141.8 kB / 0.7701 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1663, allocations: 51.41 kB / 0.7701 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/0.1664, allocations: 113.9 kB / 0.7702 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1664, allocations: 25.7 kB / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.1664, allocations: 84.14 kB / 0.7703 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1665, allocations: 15.84 kB / 0.7703 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.1665, allocations: 29.69 kB / 0.7704 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1667, allocations: 314.8 kB / 0.7707 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.1668, allocations: 35.91 kB / 0.7707 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.1668, allocations: 31.97 kB / 0.7707 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.167, allocations: 76.81 kB / 0.7708 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.167, allocations: 0 / 0.7708 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002154/0.1672, allocations: 117.5 kB / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1672, allocations: 4 kB / 0.7709 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1672, allocations: 0 / 0.7709 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1673, allocations: 0 / 0.7709 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.1674, allocations: 19.97 kB / 0.7709 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1674, allocations: 3.938 kB / 0.7709 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/0.1676, allocations: 4 kB / 0.7709 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.1676, allocations: 7.984 kB / 0.7709 GB, free: 3.523 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 (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 9.795e-05/0.1677, allocations: 118.5 kB / 0.7711 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.1677, allocations: 11.89 kB / 0.7711 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.1681, allocations: 214.3 kB / 0.7713 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1682, allocations: 0 / 0.7713 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1682, allocations: 0 / 0.7713 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1682, allocations: 0 / 0.7713 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.1684, allocations: 221.5 kB / 0.7715 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1684, allocations: 448 / 0.7715 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.1685, allocations: 31.86 kB / 0.7715 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1686, allocations: 4 kB / 0.7715 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.1686, allocations: 11.98 kB / 0.7715 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1686, allocations: 3.938 kB / 0.7715 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1686, allocations: 0 / 0.7715 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.1689, allocations: 187.2 kB / 0.7717 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.169, allocations: 92.94 kB / 0.7718 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.169, allocations: 8 kB / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.1691, allocations: 0 / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1691, allocations: 15.91 kB / 0.7718 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1691, allocations: 8 kB / 0.7718 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.1692, allocations: 87.27 kB / 0.7719 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1692, allocations: 0 / 0.7719 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002884/0.1695, allocations: 67.86 kB / 0.772 GB, free: 2.367 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 (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.0008522/0.1704, allocations: 0.8113 MB / 0.7728 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.1706, allocations: 103.9 kB / 0.7729 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1706, allocations: 0 / 0.7729 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1707, allocations: 82.16 kB / 0.773 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1709, allocations: 8 kB / 0.773 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.1714, allocations: 266.1 kB / 0.7732 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1718, allocations: 0.6924 MB / 0.7739 GB, free: 324 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.166e-05/0.1719, allocations: 27.95 kB / 0.7739 GB, free: 296 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.1719, allocations: 31.41 kB / 0.7739 GB, free: 264 kB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1719, allocations: 0 / 0.7739 GB, free: 264 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3044/0.4764, allocations: 3.652 MB / 0.7775 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/8.18, allocations: 21.08 kB / 0.7775 GB, free: 14.13 MB / 0.5606 GB (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)