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.InternalResistancesTwoUTube.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.005/0.005, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001226/0.001226, allocations: 194 kB / 16.67 MB, free: 5.969 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.242/1.242, 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/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/package.mo): time 0.8078/0.8078, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 68.98 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1484, allocations: 82.03 MB / 0.6753 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002508/0.1509, allocations: 1.429 MB / 0.6767 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004131/0.1551, allocations: 2.891 MB / 0.6795 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.1551, allocations: 3.938 kB / 0.6795 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.1552, allocations: 7.922 kB / 0.6795 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.275e-05/0.1552, allocations: 15.86 kB / 0.6795 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.1593, allocations: 1.602 MB / 0.6811 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.693e-05/0.1594, allocations: 43.67 kB / 0.6811 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.1594, allocations: 4 kB / 0.6811 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.639e-05/0.1595, allocations: 11.94 kB / 0.6811 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.593e-05/0.1595, allocations: 19.92 kB / 0.6811 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1595, allocations: 3.984 kB / 0.6811 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.1617, allocations: 1.533 MB / 0.6826 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.1617, allocations: 7.938 kB / 0.6826 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.1617, allocations: 23.86 kB / 0.6827 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.1634, allocations: 1.099 MB / 0.6837 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1634, allocations: 7.984 kB / 0.6838 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1634, allocations: 0 / 0.6838 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.1634, allocations: 0 / 0.6838 GB, free: 2.105 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007484/0.1642, allocations: 0.5247 MB / 0.6843 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1643, allocations: 12.03 kB / 0.6843 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.1643, allocations: 110 kB / 0.6844 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.1644, allocations: 80.17 kB / 0.6845 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1645, allocations: 251.6 kB / 0.6847 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.082e-05/0.1646, allocations: 154.9 kB / 0.6848 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.1647, allocations: 150.9 kB / 0.685 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.708e-05/0.1647, allocations: 108.9 kB / 0.6851 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.1648, allocations: 79.28 kB / 0.6852 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.1648, allocations: 154.6 kB / 0.6853 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.1649, allocations: 150.6 kB / 0.6855 GB, free: 252 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.1649, allocations: 154.6 kB / 0.6856 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.1652, allocations: 465.9 kB / 0.6861 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/0.1653, allocations: 177 kB / 0.6862 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.1653, allocations: 80.14 kB / 0.6863 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1654, allocations: 79.22 kB / 0.6864 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.1654, allocations: 105.8 kB / 0.6865 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.1654, allocations: 0 / 0.6865 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.098e-05/0.1655, allocations: 37.66 kB / 0.6865 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.1656, allocations: 130.7 kB / 0.6866 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1657, allocations: 133.8 kB / 0.6868 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1657, allocations: 29.64 kB / 0.6868 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.1658, allocations: 96.08 kB / 0.6869 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.1658, allocations: 3.938 kB / 0.6869 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.1658, allocations: 25.75 kB / 0.6869 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.1659, allocations: 314.8 kB / 0.6872 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.166, allocations: 8 kB / 0.6872 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/0.166, allocations: 8 kB / 0.6872 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.166, allocations: 12.86 kB / 0.6872 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1661, allocations: 0 / 0.6872 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001363/0.1662, allocations: 53.62 kB / 0.6873 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1662, allocations: 5.875 kB / 0.6873 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.1662, allocations: 4 kB / 0.6873 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1663, allocations: 0 / 0.6873 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.1663, allocations: 0 / 0.6873 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1663, allocations: 4 kB / 0.6873 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.1663, allocations: 11.95 kB / 0.6873 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1663, allocations: 0 / 0.6873 GB, free: 14.21 MB / 0.5294 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 8.663e-05/0.1664, allocations: 185.1 kB / 0.6875 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.1665, allocations: 112.9 kB / 0.6876 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.1665, allocations: 112.9 kB / 0.6877 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.205e-05/0.1666, allocations: 180.2 kB / 0.6879 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.474e-05/0.1667, allocations: 184.2 kB / 0.6881 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-05/0.1667, allocations: 180.2 kB / 0.6882 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.1669, allocations: 417.2 kB / 0.6886 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.218e-05/0.167, allocations: 105 kB / 0.6887 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.167, allocations: 108.9 kB / 0.6888 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-05/0.167, allocations: 184.2 kB / 0.689 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/0.1671, allocations: 180.2 kB / 0.6892 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.985e-05/0.1672, allocations: 176.3 kB / 0.6893 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.012e-05/0.1672, allocations: 184.2 kB / 0.6895 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1673, allocations: 311.8 kB / 0.6898 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.1674, allocations: 186 kB / 0.69 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.1675, allocations: 188.2 kB / 0.6902 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.1675, allocations: 105 kB / 0.6903 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.1676, allocations: 188.1 kB / 0.6905 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.1676, allocations: 101 kB / 0.6905 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.288e-05/0.1677, allocations: 107.2 kB / 0.6907 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1677, allocations: 0 / 0.6907 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007513/0.1685, allocations: 291 kB / 0.6909 GB, free: 10.28 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 (0): * Single equations (assignments): 0 * 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.001419/0.1699, allocations: 1.171 MB / 0.6921 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.17, allocations: 42.05 kB / 0.6921 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.17, allocations: 0 / 0.6921 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.17, allocations: 0 / 0.6921 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.1704, allocations: 472.3 kB / 0.6926 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.1718, allocations: 1.598 MB / 0.6941 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.172, allocations: 0.6807 MB / 0.6948 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.412e-05/0.172, allocations: 0 / 0.6948 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.172, allocations: 19.44 kB / 0.6948 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/0.172, allocations: 0 / 0.6948 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.1966, allocations: 7.118 MB / 0.7018 GB, free: 15.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.58, allocations: 14.36 kB / 0.7018 GB, free: 15.25 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)