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: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 106.9 kB / 16.27 MB, free: 6.414 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.001412/0.001412, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.294/1.294, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.8236/0.8236, allocations: 143.1 MB / 434.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 59.91 kB / 0.5149 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4247, allocations: 82.03 MB / 0.595 GB, free: 16.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00253/0.4273, allocations: 1.437 MB / 0.5964 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003727/0.4311, allocations: 2.89 MB / 0.5992 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.4311, allocations: 0 / 0.5992 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.4312, allocations: 3.938 kB / 0.5992 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/0.4313, allocations: 16.41 kB / 0.5992 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.435, allocations: 1.589 MB / 0.6008 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.845e-05/0.4351, allocations: 43.73 kB / 0.6008 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.4351, allocations: 7.938 kB / 0.6008 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.639e-05/0.4352, allocations: 17.27 kB / 0.6009 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.657e-05/0.4352, allocations: 11.94 kB / 0.6009 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.4352, allocations: 0 / 0.6009 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.4371, allocations: 1.464 MB / 0.6023 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.4371, allocations: 3.938 kB / 0.6023 GB, free: 8.723 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.4372, allocations: 20.78 kB / 0.6023 GB, free: 8.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.4387, allocations: 1.103 MB / 0.6034 GB, free: 7.598 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4387, allocations: 3.938 kB / 0.6034 GB, free: 7.594 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4387, allocations: 1.438 kB / 0.6034 GB, free: 7.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.4388, allocations: 0 / 0.6034 GB, free: 7.594 MB / 446.1 MB 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.0006284/0.4394, allocations: 0.5237 MB / 0.6039 GB, free: 7.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4394, allocations: 8.031 kB / 0.6039 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.4395, allocations: 80.22 kB / 0.604 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.4396, allocations: 252.7 kB / 0.6042 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.4397, allocations: 150.9 kB / 0.6044 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.4397, allocations: 152.4 kB / 0.6045 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.406e-05/0.4397, allocations: 117 kB / 0.6046 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4398, allocations: 76.56 kB / 0.6047 GB, free: 6.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.4398, allocations: 154.6 kB / 0.6049 GB, free: 6.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.4398, allocations: 155.2 kB / 0.605 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.522e-05/0.4399, allocations: 151.9 kB / 0.6052 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.4401, allocations: 463.3 kB / 0.6056 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.078e-05/0.4401, allocations: 174.5 kB / 0.6058 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.4401, allocations: 80.14 kB / 0.6058 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.4401, allocations: 76.62 kB / 0.6059 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.4402, allocations: 113.8 kB / 0.606 GB, free: 4.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.4402, allocations: 1.312 kB / 0.606 GB, free: 4.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.196e-05/0.4403, allocations: 29.7 kB / 0.6061 GB, free: 4.715 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.4403, allocations: 128.1 kB / 0.6062 GB, free: 4.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.4404, allocations: 136.2 kB / 0.6063 GB, free: 4.438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.4405, allocations: 29.69 kB / 0.6063 GB, free: 4.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.4405, allocations: 93.05 kB / 0.6064 GB, free: 4.309 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.4405, allocations: 0 / 0.6064 GB, free: 4.309 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.4405, allocations: 22.88 kB / 0.6064 GB, free: 4.281 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.4406, allocations: 314.8 kB / 0.6067 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.4406, allocations: 9.5 kB / 0.6068 GB, free: 3.957 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.4406, allocations: 4 kB / 0.6068 GB, free: 3.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.572e-05/0.4407, allocations: 16.86 kB / 0.6068 GB, free: 3.934 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4407, allocations: 1.375 kB / 0.6068 GB, free: 3.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001154/0.4408, allocations: 53.53 kB / 0.6068 GB, free: 3.875 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4408, allocations: 8 kB / 0.6068 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.4409, allocations: 0 / 0.6068 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4409, allocations: 0.6562 kB / 0.6068 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-06/0.4409, allocations: 4 kB / 0.6068 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.4409, allocations: 1.062 kB / 0.6068 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.708e-05/0.4409, allocations: 11.86 kB / 0.6069 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.4409, allocations: 0.5938 kB / 0.6069 GB, free: 3.852 MB / 446.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 6.35e-05/0.441, allocations: 187.2 kB / 0.607 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.4411, allocations: 112.8 kB / 0.6071 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.4411, allocations: 116.9 kB / 0.6073 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.4411, allocations: 185.1 kB / 0.6074 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.523e-05/0.4412, allocations: 182.2 kB / 0.6076 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/0.4412, allocations: 188.2 kB / 0.6078 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.4413, allocations: 410.1 kB / 0.6082 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.4414, allocations: 108.9 kB / 0.6083 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.4414, allocations: 106.2 kB / 0.6084 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.286e-05/0.4414, allocations: 180.9 kB / 0.6086 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.4414, allocations: 184.8 kB / 0.6087 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.292e-05/0.4415, allocations: 185.4 kB / 0.6089 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-05/0.4415, allocations: 180.3 kB / 0.6091 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.76e-05/0.4416, allocations: 305.8 kB / 0.6094 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.4416, allocations: 196.3 kB / 0.6096 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.4417, allocations: 180.3 kB / 0.6097 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.397e-05/0.4417, allocations: 101 kB / 0.6098 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.4418, allocations: 180.2 kB / 0.61 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.4418, allocations: 107.7 kB / 0.6101 GB, free: 328 kB / 446.1 MB Notification: Performance of sorting global known variables: time 3.921e-05/0.4418, allocations: 101.6 kB / 0.6102 GB, free: 228 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4418, allocations: 0 / 0.6102 GB, free: 228 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007769/0.4426, allocations: 283.8 kB / 0.6105 GB, free: 15.95 MB / 462.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 (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.001212/0.4438, allocations: 0.5239 MB / 0.611 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.68e-05/0.4439, allocations: 49.64 kB / 0.611 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.444, allocations: 0.6562 kB / 0.611 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.404e-06/0.444, allocations: 0.5625 kB / 0.611 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.4444, allocations: 469.8 kB / 0.6115 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.4448, allocations: 272.5 kB / 0.6117 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.445, allocations: 0.6861 MB / 0.6124 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.4451, allocations: 7.438 kB / 0.6124 GB, free: 13.89 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4451, allocations: 0 / 0.6124 GB, free: 13.89 MB / 462.1 MB Notification: Performance of Templates: time 0.008349/0.4534, allocations: 4.827 MB / 0.6171 GB, free: 9.09 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)