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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001269/0.001269, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001558/0.001558, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.099/1.099, allocations: 143.3 MB / 434.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004011, allocations: 16 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2029, allocations: 83.41 MB / 0.5974 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001824/0.2048, allocations: 1.115 MB / 0.5984 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004476/0.2093, allocations: 2.575 MB / 0.601 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.2094, allocations: 0 / 0.601 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.413e-05/0.2095, allocations: 3.938 kB / 0.601 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.2096, allocations: 19.95 kB / 0.601 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004041/0.2136, allocations: 1.235 MB / 0.6022 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.433e-05/0.2137, allocations: 35.86 kB / 0.6022 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.2138, allocations: 4 kB / 0.6022 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.2138, allocations: 15.94 kB / 0.6022 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.2139, allocations: 19.86 kB / 0.6023 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.2139, allocations: 0 / 0.6023 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.2163, allocations: 1.197 MB / 0.6034 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.2163, allocations: 0 / 0.6034 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.2164, allocations: 33.64 kB / 0.6035 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.2179, allocations: 0.7255 MB / 0.6042 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2179, allocations: 0 / 0.6042 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2179, allocations: 0 / 0.6042 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2179, allocations: 0 / 0.6042 GB, free: 0.7227 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.000755/0.2186, allocations: 0.5183 MB / 0.6047 GB, free: 160 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2187, allocations: 8.031 kB / 0.6047 GB, free: 152 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.2188, allocations: 83.19 kB / 0.6048 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3339/0.5526, allocations: 246.1 kB / 0.605 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.5527, allocations: 154 kB / 0.6051 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.5528, allocations: 154.3 kB / 0.6053 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.064e-05/0.5529, allocations: 101 kB / 0.6054 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.5529, allocations: 75.28 kB / 0.6055 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.5529, allocations: 153.4 kB / 0.6056 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.5529, allocations: 159 kB / 0.6058 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.254e-05/0.553, allocations: 153.3 kB / 0.6059 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.5532, allocations: 463.7 kB / 0.6063 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/0.5533, allocations: 169.3 kB / 0.6065 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.5533, allocations: 78.61 kB / 0.6066 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.5534, allocations: 114.4 kB / 0.6067 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.255e-06/0.5534, allocations: 0 / 0.6067 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.807e-05/0.5535, allocations: 32.31 kB / 0.6067 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.5535, allocations: 127.2 kB / 0.6068 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.5537, allocations: 140 kB / 0.607 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.5537, allocations: 25.7 kB / 0.607 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.5538, allocations: 91.14 kB / 0.6071 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.5538, allocations: 0.6562 kB / 0.6071 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.5538, allocations: 1.75 kB / 0.6071 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.801e-05/0.5538, allocations: 320 kB / 0.6074 GB, free: 38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.5539, allocations: 5.672 kB / 0.6074 GB, free: 38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.59e-05/0.5539, allocations: 7.141 kB / 0.6074 GB, free: 38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.5539, allocations: 11.03 kB / 0.6074 GB, free: 38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5539, allocations: 0 / 0.6074 GB, free: 38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001333/0.5541, allocations: 51.31 kB / 0.6075 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5541, allocations: 7.031 kB / 0.6075 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.5541, allocations: 2.828 kB / 0.6075 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5541, allocations: 10.3 kB / 0.6075 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.5542, allocations: 0 / 0.6075 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.5542, allocations: 1.453 kB / 0.6075 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.5542, allocations: 4.625 kB / 0.6075 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.5542, allocations: 0 / 0.6075 GB, free: 37.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.46e-05/0.5543, allocations: 188.8 kB / 0.6077 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.5543, allocations: 110.2 kB / 0.6078 GB, free: 37.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.5544, allocations: 115.2 kB / 0.6079 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/0.5544, allocations: 183 kB / 0.6081 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.732e-05/0.5544, allocations: 185.2 kB / 0.6082 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/0.5545, allocations: 178.2 kB / 0.6084 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.5546, allocations: 420.2 kB / 0.6088 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.5546, allocations: 101.7 kB / 0.6089 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.5547, allocations: 108.4 kB / 0.609 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.501e-05/0.5547, allocations: 180.2 kB / 0.6092 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.5547, allocations: 185 kB / 0.6094 GB, free: 36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.406e-05/0.5548, allocations: 180.3 kB / 0.6095 GB, free: 35.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.459e-05/0.5548, allocations: 181.9 kB / 0.6097 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.708e-05/0.5549, allocations: 316 kB / 0.61 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.5549, allocations: 191.9 kB / 0.6102 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.5549, allocations: 176.3 kB / 0.6104 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.555, allocations: 110.8 kB / 0.6105 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.5551, allocations: 179 kB / 0.6106 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.5551, allocations: 111.2 kB / 0.6107 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.5551, allocations: 100.2 kB / 0.6108 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5551, allocations: 0 / 0.6108 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008987/0.556, allocations: 274.1 kB / 0.6111 GB, free: 34.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009116/0.557, allocations: 0.4975 MB / 0.6116 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.5571, allocations: 41.88 kB / 0.6116 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5571, allocations: 5.188 kB / 0.6116 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.5571, allocations: 0 / 0.6116 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.5574, allocations: 0.5232 MB / 0.6121 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.5577, allocations: 266.2 kB / 0.6124 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.5579, allocations: 0.6838 MB / 0.6131 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.769e-05/0.5579, allocations: 0 / 0.6131 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.5579, allocations: 10.41 kB / 0.6131 GB, free: 32.81 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.5579, allocations: 0 / 0.6131 GB, free: 32.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.008664/0.5666, allocations: 5.663 MB / 0.6186 GB, free: 32.45 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: