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.00113/0.00113, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00118/0.00118, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.52 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 1.003/1.003, allocations: 143 MB / 433.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 71.89 kB / 0.5138 GB, free: 11.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1573, allocations: 82.02 MB / 0.5939 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00291/0.1602, allocations: 1.504 MB / 0.5953 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004358/0.1646, allocations: 2.88 MB / 0.5981 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.1647, allocations: 0 / 0.5981 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.1647, allocations: 0 / 0.5981 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.1648, allocations: 19.84 kB / 0.5982 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.1689, allocations: 1.457 MB / 0.5996 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.59e-05/0.169, allocations: 43.69 kB / 0.5996 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.1691, allocations: 11.92 kB / 0.5996 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.1691, allocations: 15.92 kB / 0.5996 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.1692, allocations: 15.94 kB / 0.5997 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1692, allocations: 3.938 kB / 0.5997 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.1715, allocations: 1.459 MB / 0.6011 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.1715, allocations: 3.984 kB / 0.6011 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.1715, allocations: 19.86 kB / 0.6011 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.1734, allocations: 1.088 MB / 0.6022 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1734, allocations: 0 / 0.6022 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.126e-06/0.1734, allocations: 0 / 0.6022 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.1734, allocations: 3.938 kB / 0.6022 GB, free: 1.324 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.0007597/0.1742, allocations: 0.5145 MB / 0.6027 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1742, allocations: 8.031 kB / 0.6027 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.1743, allocations: 80.22 kB / 0.6028 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1744, allocations: 253.2 kB / 0.603 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.1745, allocations: 158.9 kB / 0.6032 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.1745, allocations: 154.9 kB / 0.6033 GB, free: 84 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2873/0.4618, allocations: 109.1 kB / 0.6034 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.4619, allocations: 75.91 kB / 0.6035 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.462, allocations: 152.3 kB / 0.6036 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.462, allocations: 150.6 kB / 0.6038 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.25e-05/0.462, allocations: 155.9 kB / 0.6039 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.4623, allocations: 463.1 kB / 0.6044 GB, free: 43.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.078e-05/0.4623, allocations: 170.2 kB / 0.6045 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.4624, allocations: 83.73 kB / 0.6046 GB, free: 42.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.4624, allocations: 79.33 kB / 0.6047 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.4624, allocations: 112.6 kB / 0.6048 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/0.4624, allocations: 0 / 0.6048 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.255e-05/0.4625, allocations: 29.3 kB / 0.6048 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.4626, allocations: 129.4 kB / 0.6049 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.4627, allocations: 135 kB / 0.6051 GB, free: 42.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.4627, allocations: 26.95 kB / 0.6051 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.4628, allocations: 92.61 kB / 0.6052 GB, free: 42.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.4628, allocations: 0 / 0.6052 GB, free: 42.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.4628, allocations: 21.41 kB / 0.6052 GB, free: 42.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.4629, allocations: 315.8 kB / 0.6055 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/0.4629, allocations: 6.5 kB / 0.6055 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/0.4629, allocations: 5.156 kB / 0.6055 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/0.463, allocations: 24.11 kB / 0.6055 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.463, allocations: 3.938 kB / 0.6055 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001317/0.4631, allocations: 52.52 kB / 0.6056 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4631, allocations: 6.438 kB / 0.6056 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.4632, allocations: 3.75 kB / 0.6056 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4632, allocations: 0 / 0.6056 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.734e-06/0.4632, allocations: 1.312 kB / 0.6056 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4632, allocations: 1.375 kB / 0.6056 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.4632, allocations: 2.562 kB / 0.6056 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.4633, allocations: 1.547 kB / 0.6056 GB, free: 41.94 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 6.016e-05/0.4633, allocations: 190.8 kB / 0.6058 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.4634, allocations: 109.8 kB / 0.6059 GB, free: 41.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.4634, allocations: 117.3 kB / 0.606 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/0.4635, allocations: 184.6 kB / 0.6062 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-05/0.4635, allocations: 185.8 kB / 0.6064 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.4635, allocations: 180.2 kB / 0.6065 GB, free: 41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.4637, allocations: 415.4 kB / 0.6069 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.4637, allocations: 102.5 kB / 0.607 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.43e-05/0.4637, allocations: 113.5 kB / 0.6071 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.687e-05/0.4637, allocations: 179.8 kB / 0.6073 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.4638, allocations: 181.6 kB / 0.6075 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.17e-05/0.4638, allocations: 179.2 kB / 0.6076 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-05/0.4638, allocations: 181.3 kB / 0.6078 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.309e-05/0.4639, allocations: 318.5 kB / 0.6081 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.4639, allocations: 183.3 kB / 0.6083 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.464, allocations: 177.8 kB / 0.6085 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.525e-05/0.4641, allocations: 105.2 kB / 0.6086 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.4641, allocations: 189.6 kB / 0.6087 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.4641, allocations: 104.5 kB / 0.6088 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.4642, allocations: 104.5 kB / 0.6089 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4642, allocations: 1.062 kB / 0.6089 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007816/0.465, allocations: 284.8 kB / 0.6092 GB, free: 38.45 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.000923/0.4659, allocations: 0.531 MB / 0.6097 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.474e-05/0.466, allocations: 41.75 kB / 0.6098 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.466, allocations: 0 / 0.6098 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.466, allocations: 2.344 kB / 0.6098 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.4663, allocations: 476.6 kB / 0.6102 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.4666, allocations: 248 kB / 0.6105 GB, free: 37.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.936e-05/0.4667, allocations: 0.6837 MB / 0.6111 GB, free: 36.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.356e-05/0.4667, allocations: 0.8438 kB / 0.6111 GB, free: 36.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.084e-05/0.4667, allocations: 10.47 kB / 0.6112 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4667, allocations: 0 / 0.6112 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.007765/0.4745, allocations: 5.69 MB / 0.6167 GB, free: 36.54 MB / 0.4981 GB 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)