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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001/0.001, allocations: 108 kB / 15.61 MB, free: 152 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.001052/0.001052, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.9142/0.9142, allocations: 143 MB / 433.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 67.91 kB / 0.5144 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1522, allocations: 82.03 MB / 0.5945 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002459/0.1547, allocations: 1.438 MB / 0.5959 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004051/0.1588, allocations: 2.876 MB / 0.5987 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.1589, allocations: 0 / 0.5987 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.1589, allocations: 3.938 kB / 0.5987 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.387e-05/0.159, allocations: 19.84 kB / 0.5987 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.1626, allocations: 1.578 MB / 0.6002 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.362e-05/0.1627, allocations: 39.69 kB / 0.6003 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.1627, allocations: 7.984 kB / 0.6003 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.1628, allocations: 15.94 kB / 0.6003 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.763e-05/0.1628, allocations: 23.81 kB / 0.6003 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1628, allocations: 0 / 0.6003 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.1647, allocations: 1.463 MB / 0.6017 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.1648, allocations: 0 / 0.6017 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.1648, allocations: 23.86 kB / 0.6018 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.1662, allocations: 1.096 MB / 0.6028 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1662, allocations: 0 / 0.6028 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1662, allocations: 3.938 kB / 0.6028 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.1662, allocations: 4 kB / 0.6028 GB, free: 0.8203 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.0005672/0.1668, allocations: 0.5185 MB / 0.6034 GB, free: 260 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1668, allocations: 12.03 kB / 0.6034 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.1669, allocations: 106 kB / 0.6035 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.1669, allocations: 80.22 kB / 0.6035 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.257/0.4239, allocations: 247.6 kB / 0.6038 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.424, allocations: 150.9 kB / 0.6039 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.424, allocations: 158.8 kB / 0.6041 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.682e-05/0.4241, allocations: 103.5 kB / 0.6042 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4241, allocations: 75.28 kB / 0.6042 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.4241, allocations: 150.6 kB / 0.6044 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.4242, allocations: 155.8 kB / 0.6045 GB, free: 42.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.554e-05/0.4242, allocations: 157.4 kB / 0.6047 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.4244, allocations: 470.5 kB / 0.6051 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.448e-05/0.4245, allocations: 174.1 kB / 0.6053 GB, free: 42.17 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.4245, allocations: 84.61 kB / 0.6054 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.4245, allocations: 77.59 kB / 0.6055 GB, free: 42.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.4245, allocations: 107.9 kB / 0.6056 GB, free: 41.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.4245, allocations: 1.156 kB / 0.6056 GB, free: 41.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.3e-05/0.4246, allocations: 33.98 kB / 0.6056 GB, free: 41.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.4247, allocations: 132.9 kB / 0.6057 GB, free: 41.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.4248, allocations: 136.7 kB / 0.6059 GB, free: 41.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.4248, allocations: 25.7 kB / 0.6059 GB, free: 41.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.4248, allocations: 91.64 kB / 0.606 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.4248, allocations: 0 / 0.606 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.4249, allocations: 19.83 kB / 0.606 GB, free: 41.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.4249, allocations: 318.1 kB / 0.6063 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.425, allocations: 5.094 kB / 0.6063 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.425, allocations: 5.906 kB / 0.6063 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.425, allocations: 18.2 kB / 0.6063 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4251, allocations: 4.328 kB / 0.6063 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001314/0.4252, allocations: 50.58 kB / 0.6064 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4252, allocations: 6.031 kB / 0.6064 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.4252, allocations: 5.484 kB / 0.6064 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4253, allocations: 0 / 0.6064 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-06/0.4253, allocations: 9.25 kB / 0.6064 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.4253, allocations: 2.906 kB / 0.6064 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/0.4253, allocations: 0 / 0.6064 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.4253, allocations: 5.234 kB / 0.6064 GB, free: 41.14 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 5.086e-05/0.4254, allocations: 188.7 kB / 0.6066 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.4254, allocations: 110.9 kB / 0.6067 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.4254, allocations: 109.9 kB / 0.6068 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/0.4255, allocations: 186.9 kB / 0.607 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.616e-05/0.4255, allocations: 183.2 kB / 0.6071 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.4255, allocations: 180.1 kB / 0.6073 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.4257, allocations: 413 kB / 0.6077 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.4257, allocations: 102.6 kB / 0.6078 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.4257, allocations: 111 kB / 0.6079 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.291e-05/0.4257, allocations: 182.3 kB / 0.6081 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.4258, allocations: 178.4 kB / 0.6082 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.378e-05/0.4258, allocations: 186.5 kB / 0.6084 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.157e-05/0.4258, allocations: 181.9 kB / 0.6086 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.247e-05/0.4259, allocations: 311.8 kB / 0.6089 GB, free: 38.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.4259, allocations: 183.1 kB / 0.6091 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.426, allocations: 183.6 kB / 0.6092 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.426, allocations: 110.7 kB / 0.6094 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.4261, allocations: 179.6 kB / 0.6095 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.4261, allocations: 109.8 kB / 0.6096 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.4261, allocations: 105.6 kB / 0.6097 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4261, allocations: 0 / 0.6097 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007491/0.4269, allocations: 283.6 kB / 0.61 GB, free: 37.65 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.0009832/0.4279, allocations: 1.166 MB / 0.6111 GB, free: 36.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.56e-05/0.428, allocations: 50.27 kB / 0.6112 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.428, allocations: 0 / 0.6112 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.428, allocations: 3.562 kB / 0.6112 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.4283, allocations: 463 kB / 0.6116 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009936/0.4293, allocations: 1.599 MB / 0.6132 GB, free: 35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.775e-05/0.4294, allocations: 0.6832 MB / 0.6139 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.315e-05/0.4294, allocations: 2.875 kB / 0.6139 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.4295, allocations: 19.61 kB / 0.6139 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.4295, allocations: 0 / 0.6139 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.4532, allocations: 7.143 MB / 0.6209 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/7.735, allocations: 8.531 kB / 0.6209 GB, free: 33.64 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)