Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.005075/0.005074, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.00129/0.00129, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.916/0.916, allocations: 143.3 MB / 433.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 73.78 kB / 0.5954 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1608, allocations: 82.02 MB / 0.6755 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002524/0.1634, allocations: 1.385 MB / 0.6768 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002861/0.1663, allocations: 1.786 MB / 0.6786 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.1663, allocations: 3.938 kB / 0.6786 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.462e-05/0.1665, allocations: 11.92 kB / 0.6786 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.1666, allocations: 39.83 kB / 0.6786 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.1694, allocations: 1.146 MB / 0.6798 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1695, allocations: 51.78 kB / 0.6798 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.1696, allocations: 3.984 kB / 0.6798 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1697, allocations: 23.92 kB / 0.6798 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/0.1698, allocations: 35.84 kB / 0.6799 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1698, allocations: 0 / 0.6799 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.1711, allocations: 0.8891 MB / 0.6807 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.892e-05/0.1712, allocations: 71.75 kB / 0.6808 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.578e-05/0.1713, allocations: 59.44 kB / 0.6809 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.1724, allocations: 0.8844 MB / 0.6817 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1725, allocations: 4 kB / 0.6817 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1725, allocations: 0 / 0.6817 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.1725, allocations: 0 / 0.6817 GB, free: 4.191 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007326/0.1732, allocations: 0.5984 MB / 0.6823 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1733, allocations: 8.031 kB / 0.6823 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.1733, allocations: 46.73 kB / 0.6824 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.1734, allocations: 24.75 kB / 0.6824 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1736, allocations: 222.9 kB / 0.6826 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1736, allocations: 384 / 0.6826 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-06/0.1737, allocations: 384 / 0.6826 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1738, allocations: 109.6 kB / 0.6827 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1738, allocations: 4 kB / 0.6827 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.1738, allocations: 0 / 0.6827 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1739, allocations: 4 kB / 0.6827 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.1739, allocations: 79.91 kB / 0.6828 GB, free: 3 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.1742, allocations: 273.9 kB / 0.6831 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.1744, allocations: 122.5 kB / 0.6832 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.1745, allocations: 108.9 kB / 0.6833 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.1746, allocations: 7.875 kB / 0.6833 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.1746, allocations: 38.56 kB / 0.6833 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 1.263e-06/0.1746, allocations: 0 / 0.6833 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.0004279/0.175, allocations: 342.7 kB / 0.6836 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1751, allocations: 51.41 kB / 0.6837 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.1754, allocations: 257 kB / 0.6839 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1754, allocations: 25.7 kB / 0.684 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.1755, allocations: 128.7 kB / 0.6841 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.753e-05/0.1756, allocations: 111 kB / 0.6842 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.1756, allocations: 25.72 kB / 0.6842 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1758, allocations: 346.8 kB / 0.6845 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.1759, allocations: 71.98 kB / 0.6846 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.176, allocations: 79.95 kB / 0.6847 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.1762, allocations: 200.8 kB / 0.6849 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1762, allocations: 0 / 0.6849 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002454/0.1764, allocations: 233.5 kB / 0.6851 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1765, allocations: 8 kB / 0.6851 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.1765, allocations: 0 / 0.6851 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1765, allocations: 0 / 0.6851 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.1765, allocations: 4.062 kB / 0.6851 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1765, allocations: 0 / 0.6851 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.1766, allocations: 11.89 kB / 0.6851 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.1766, allocations: 0 / 0.6851 GB, free: 484 kB / 0.5137 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001529/0.1767, allocations: 161.8 kB / 0.6853 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.1768, allocations: 27.75 kB / 0.6853 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.1771, allocations: 248.4 kB / 0.6855 GB, free: 28 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1771, allocations: 0 / 0.6855 GB, free: 28 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1771, allocations: 3.984 kB / 0.6856 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1771, allocations: 4.031 kB / 0.6856 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.1774, allocations: 289.8 kB / 0.6858 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1774, allocations: 0 / 0.6858 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1774, allocations: 0 / 0.6858 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1774, allocations: 0 / 0.6858 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.1774, allocations: 4 kB / 0.6858 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1774, allocations: 0 / 0.6858 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1774, allocations: 0 / 0.6858 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.1777, allocations: 260.8 kB / 0.6861 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.1778, allocations: 100.9 kB / 0.6862 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.1778, allocations: 7.984 kB / 0.6862 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.815e-05/0.1779, allocations: 4 kB / 0.6862 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.1779, allocations: 3.938 kB / 0.6862 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1779, allocations: 0 / 0.6862 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000171/0.1781, allocations: 188.5 kB / 0.6864 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.144e-06/0.1781, allocations: 0 / 0.6864 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006274/0.1787, allocations: 219.3 kB / 0.6866 GB, free: 14.88 MB / 0.5294 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001253/0.18, allocations: 1.04 MB / 0.6876 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003302/0.1803, allocations: 265.6 kB / 0.6879 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1803, allocations: 0 / 0.6879 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.1805, allocations: 185.6 kB / 0.688 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.1808, allocations: 22.25 kB / 0.6881 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.1836, allocations: 2.571 MB / 0.6906 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.1841, allocations: 0.771 MB / 0.6913 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.065e-05/0.1841, allocations: 0 / 0.6913 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.1842, allocations: 59.42 kB / 0.6914 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.1842, allocations: 0 / 0.6914 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.2171, allocations: 7.763 MB / 0.699 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.661/8.878, allocations: 11.56 kB / 0.699 GB, free: 2.273 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)