Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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.001116/0.001116, 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.001093/0.001093, allocations: 192.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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 287.2 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9423/0.9423, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 95.28 kB / 0.5954 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1464, allocations: 86.98 MB / 0.6803 GB, free: 500 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002325/0.1487, allocations: 1.364 MB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.1513, allocations: 1.793 MB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.1513, allocations: 4 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.639e-05/0.1514, allocations: 7.922 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.1516, allocations: 27.91 kB / 0.6835 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.154, allocations: 1.149 MB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.85e-05/0.1541, allocations: 51.83 kB / 0.6846 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.1541, allocations: 4.219 kB / 0.6846 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.1542, allocations: 23.92 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.1543, allocations: 27.91 kB / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.1543, allocations: 4 kB / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.1554, allocations: 0.8539 MB / 0.6855 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.1554, allocations: 71.75 kB / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.1555, allocations: 63.42 kB / 0.6857 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008698/0.1564, allocations: 0.8768 MB / 0.6865 GB, free: 10.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1564, allocations: 0 / 0.6865 GB, free: 10.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1564, allocations: 0 / 0.6865 GB, free: 10.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1564, allocations: 0 / 0.6865 GB, free: 10.17 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00058/0.157, allocations: 0.58 MB / 0.6871 GB, free: 9.543 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1571, allocations: 20.02 kB / 0.6871 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.1571, allocations: 38.75 kB / 0.6871 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.1571, allocations: 20.66 kB / 0.6872 GB, free: 9.457 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.1573, allocations: 230.7 kB / 0.6874 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1574, allocations: 4.375 kB / 0.6874 GB, free: 9.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1574, allocations: 384 / 0.6874 GB, free: 9.191 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1575, allocations: 101.6 kB / 0.6875 GB, free: 9.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1575, allocations: 0 / 0.6875 GB, free: 9.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.1575, allocations: 4 kB / 0.6875 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1575, allocations: 0 / 0.6875 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.1576, allocations: 75.97 kB / 0.6876 GB, free: 9.008 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.1579, allocations: 277.9 kB / 0.6878 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.158, allocations: 122.5 kB / 0.6879 GB, free: 8.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.986e-05/0.1581, allocations: 104.9 kB / 0.688 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1581, allocations: 15.91 kB / 0.6881 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.1581, allocations: 30.56 kB / 0.6881 GB, free: 8.398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.011e-06/0.1581, allocations: 0 / 0.6881 GB, free: 8.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003513/0.1585, allocations: 335.7 kB / 0.6884 GB, free: 8.066 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.1585, allocations: 63.27 kB / 0.6885 GB, free: 7.992 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1587, allocations: 257 kB / 0.6887 GB, free: 7.734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1587, allocations: 25.7 kB / 0.6887 GB, free: 7.703 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.1588, allocations: 124.7 kB / 0.6889 GB, free: 7.578 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.1589, allocations: 102.4 kB / 0.6889 GB, free: 7.477 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.1589, allocations: 29.7 kB / 0.689 GB, free: 7.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1591, allocations: 346.8 kB / 0.6893 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.1592, allocations: 71.97 kB / 0.6894 GB, free: 7.023 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.1592, allocations: 83.89 kB / 0.6895 GB, free: 6.941 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1594, allocations: 200.8 kB / 0.6896 GB, free: 6.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1594, allocations: 0 / 0.6896 GB, free: 6.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000215/0.1596, allocations: 225.5 kB / 0.6899 GB, free: 6.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1597, allocations: 9.812 kB / 0.6899 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.1597, allocations: 8 kB / 0.6899 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1597, allocations: 0 / 0.6899 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.1597, allocations: 0 / 0.6899 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1597, allocations: 4.062 kB / 0.6899 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.1597, allocations: 11.78 kB / 0.6899 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1598, allocations: 4 kB / 0.6899 GB, free: 6.48 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 (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.000107/0.1599, allocations: 158.4 kB / 0.69 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.1599, allocations: 23.66 kB / 0.6901 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.1602, allocations: 257.4 kB / 0.6903 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1602, allocations: 4.031 kB / 0.6903 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1602, allocations: 0 / 0.6903 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.1602, allocations: 0 / 0.6903 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.1604, allocations: 281.8 kB / 0.6906 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1604, allocations: 0 / 0.6906 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-06/0.1604, allocations: 7.984 kB / 0.6906 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1605, allocations: 0 / 0.6906 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1605, allocations: 0 / 0.6906 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1605, allocations: 3.938 kB / 0.6906 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1605, allocations: 0 / 0.6906 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1607, allocations: 260.7 kB / 0.6908 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.1608, allocations: 104.7 kB / 0.6909 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1608, allocations: 0 / 0.6909 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.1609, allocations: 0 / 0.6909 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.1609, allocations: 0 / 0.6909 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1609, allocations: 4 kB / 0.691 GB, free: 5.289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.161, allocations: 188.4 kB / 0.6911 GB, free: 5.105 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.161, allocations: 0 / 0.6911 GB, free: 5.105 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004908/0.1615, allocations: 211.9 kB / 0.6913 GB, free: 4.898 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 (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.001072/0.1626, allocations: 1.037 MB / 0.6923 GB, free: 3.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.1629, allocations: 265.6 kB / 0.6926 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1629, allocations: 0 / 0.6926 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.1631, allocations: 177.6 kB / 0.6928 GB, free: 3.391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.1633, allocations: 25.67 kB / 0.6928 GB, free: 3.367 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.1655, allocations: 2.551 MB / 0.6953 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1658, allocations: 0.7681 MB / 0.696 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.744e-05/0.1659, allocations: 7.984 kB / 0.696 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.1659, allocations: 55.36 kB / 0.6961 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1659, allocations: 0 / 0.6961 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.1898, allocations: 7.659 MB / 0.7036 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.506, allocations: 16.33 kB / 0.7036 GB, free: 8.422 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)