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.001087/0.001087, 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.001014/0.001014, allocations: 193.7 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.9646/0.9646, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 0.5143 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1514, allocations: 82.05 MB / 0.5945 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00283/0.1543, allocations: 1.422 MB / 0.5959 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004022/0.1583, allocations: 2.876 MB / 0.5987 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.1584, allocations: 4 kB / 0.5987 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.1585, allocations: 3.938 kB / 0.5987 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.464e-05/0.1585, allocations: 19.84 kB / 0.5987 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.1621, allocations: 1.584 MB / 0.6002 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.1622, allocations: 43.69 kB / 0.6003 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.605e-05/0.1623, allocations: 7.984 kB / 0.6003 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.969e-05/0.1623, allocations: 15.94 kB / 0.6003 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.709e-05/0.1623, allocations: 19.92 kB / 0.6003 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1623, allocations: 3.938 kB / 0.6003 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.1644, allocations: 1.462 MB / 0.6018 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.1644, allocations: 3.938 kB / 0.6018 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.1644, allocations: 23.86 kB / 0.6018 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.1659, allocations: 1.096 MB / 0.6029 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.166, allocations: 0 / 0.6029 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.166, allocations: 0 / 0.6029 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.166, allocations: 0 / 0.6029 GB, free: 0.8008 MB / 0.4981 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.0006701/0.1666, allocations: 0.5262 MB / 0.6034 GB, free: 232 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1667, allocations: 8.031 kB / 0.6034 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.1668, allocations: 106 kB / 0.6035 GB, free: 108 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.714e-05/0.1668, allocations: 80.22 kB / 0.6036 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2285/0.3954, allocations: 247.8 kB / 0.6038 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.3954, allocations: 150.9 kB / 0.6039 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.3955, allocations: 155.8 kB / 0.6041 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.13e-05/0.3955, allocations: 104.5 kB / 0.6042 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3955, allocations: 75.28 kB / 0.6043 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3956, allocations: 151.8 kB / 0.6044 GB, free: 43.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.3956, allocations: 155 kB / 0.6045 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.3956, allocations: 159.2 kB / 0.6047 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.3958, allocations: 467.3 kB / 0.6051 GB, free: 42.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.176e-05/0.3959, allocations: 175.5 kB / 0.6053 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.3959, allocations: 83.45 kB / 0.6054 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.3959, allocations: 76.12 kB / 0.6055 GB, free: 42.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3959, allocations: 106.9 kB / 0.6056 GB, free: 41.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.3959, allocations: 0.5938 kB / 0.6056 GB, free: 41.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.841e-05/0.396, allocations: 36.19 kB / 0.6056 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.3961, allocations: 132.2 kB / 0.6057 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.3962, allocations: 135.7 kB / 0.6059 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.3962, allocations: 27.48 kB / 0.6059 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.3962, allocations: 92.38 kB / 0.606 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.3962, allocations: 0.5 kB / 0.606 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.3963, allocations: 19.05 kB / 0.606 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.3963, allocations: 318.6 kB / 0.6063 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.3963, allocations: 1.656 kB / 0.6063 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.3964, allocations: 10.45 kB / 0.6063 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/0.3964, allocations: 15.05 kB / 0.6063 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3964, allocations: 0 / 0.6063 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001217/0.3965, allocations: 56.75 kB / 0.6064 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3966, allocations: 2.781 kB / 0.6064 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.3966, allocations: 3.688 kB / 0.6064 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3966, allocations: 1.156 kB / 0.6064 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.3966, allocations: 4.688 kB / 0.6064 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3966, allocations: 4.203 kB / 0.6064 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.3967, allocations: 0.875 kB / 0.6064 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3967, allocations: 2.672 kB / 0.6064 GB, free: 41.16 MB / 0.4981 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 4.929e-05/0.3967, allocations: 189.4 kB / 0.6066 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.3968, allocations: 110.4 kB / 0.6067 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.3968, allocations: 111.9 kB / 0.6068 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.3968, allocations: 183.1 kB / 0.607 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-05/0.3968, allocations: 186.8 kB / 0.6071 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.3969, allocations: 180.4 kB / 0.6073 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.397, allocations: 416.2 kB / 0.6077 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.397, allocations: 111.2 kB / 0.6078 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.073e-05/0.397, allocations: 102.7 kB / 0.6079 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/0.3971, allocations: 184 kB / 0.6081 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.3971, allocations: 178.2 kB / 0.6083 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.977e-05/0.3971, allocations: 185.6 kB / 0.6084 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.778e-05/0.3971, allocations: 178.5 kB / 0.6086 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.557e-05/0.3972, allocations: 317.7 kB / 0.6089 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.3972, allocations: 182.5 kB / 0.6091 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.3973, allocations: 185.5 kB / 0.6093 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.3973, allocations: 108.7 kB / 0.6094 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.3974, allocations: 177.3 kB / 0.6095 GB, free: 37.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.3974, allocations: 107.5 kB / 0.6096 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.3974, allocations: 109.4 kB / 0.6097 GB, free: 37.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3974, allocations: 0 / 0.6097 GB, free: 37.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006998/0.3981, allocations: 278.8 kB / 0.61 GB, free: 37.67 MB / 0.4981 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.0009331/0.3991, allocations: 1.17 MB / 0.6111 GB, free: 36.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.911e-05/0.3992, allocations: 45.94 kB / 0.6112 GB, free: 36.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3992, allocations: 4.125 kB / 0.6112 GB, free: 36.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.3992, allocations: 0 / 0.6112 GB, free: 36.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.3994, allocations: 463.2 kB / 0.6116 GB, free: 36.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009775/0.4004, allocations: 1.607 MB / 0.6132 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.977e-05/0.4005, allocations: 0.6814 MB / 0.6139 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.2e-05/0.4006, allocations: 0 / 0.6139 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.4006, allocations: 17.88 kB / 0.6139 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.4006, allocations: 0 / 0.6139 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.4217, allocations: 7.124 MB / 0.6208 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/7.82, allocations: 8.391 kB / 0.6208 GB, free: 33.65 MB / 0.4981 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)