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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.001028/0.001028, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007923/0.007923, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.003/1.003, allocations: 143.4 MB / 434.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005322/0.0005324, allocations: 8 kB / 0.5167 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1714, allocations: 83.41 MB / 0.5982 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001613/0.1731, allocations: 1.161 MB / 0.5993 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004677/0.1778, allocations: 2.943 MB / 0.6022 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.1778, allocations: 0 / 0.6022 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.1779, allocations: 0 / 0.6022 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.516e-05/0.1779, allocations: 15.86 kB / 0.6022 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003818/0.1818, allocations: 1.387 MB / 0.6035 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.271e-05/0.1819, allocations: 43.62 kB / 0.6036 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.1819, allocations: 4 kB / 0.6036 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.472e-05/0.1819, allocations: 19.92 kB / 0.6036 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.85e-05/0.182, allocations: 11.94 kB / 0.6036 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.182, allocations: 4 kB / 0.6036 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.1845, allocations: 1.466 MB / 0.605 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.1845, allocations: 11.94 kB / 0.6051 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.1846, allocations: 41.58 kB / 0.6051 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2861/0.4707, allocations: 1.107 MB / 0.6062 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4708, allocations: 0 / 0.6062 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4708, allocations: 0 / 0.6062 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.4708, allocations: 0 / 0.6062 GB, free: 36.38 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.0004852/0.4713, allocations: 0.5198 MB / 0.6067 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4713, allocations: 13.25 kB / 0.6067 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.4714, allocations: 80.12 kB / 0.6068 GB, free: 35.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.292e-05/0.4715, allocations: 248.8 kB / 0.607 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.4715, allocations: 154.8 kB / 0.6072 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.4715, allocations: 155.1 kB / 0.6073 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.882e-05/0.4716, allocations: 108.2 kB / 0.6074 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4716, allocations: 75.81 kB / 0.6075 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.4716, allocations: 154.6 kB / 0.6076 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.4716, allocations: 151.7 kB / 0.6078 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.4717, allocations: 154 kB / 0.6079 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.4718, allocations: 465.8 kB / 0.6084 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.942e-05/0.4719, allocations: 170.1 kB / 0.6085 GB, free: 34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.4719, allocations: 80.14 kB / 0.6086 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.4719, allocations: 77.28 kB / 0.6087 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.472, allocations: 113.6 kB / 0.6088 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.472, allocations: 0.5 kB / 0.6088 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.615e-05/0.4721, allocations: 40.08 kB / 0.6088 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.4721, allocations: 128.5 kB / 0.609 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.4722, allocations: 133.2 kB / 0.6091 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.4722, allocations: 25.7 kB / 0.6091 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.4723, allocations: 96.67 kB / 0.6092 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.4723, allocations: 0 / 0.6092 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.4723, allocations: 15.75 kB / 0.6092 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.4724, allocations: 318 kB / 0.6095 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.4724, allocations: 2.906 kB / 0.6095 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.4724, allocations: 7.969 kB / 0.6095 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.338e-05/0.4724, allocations: 13.58 kB / 0.6095 GB, free: 33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4724, allocations: 0 / 0.6095 GB, free: 33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000107/0.4726, allocations: 58.52 kB / 0.6096 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.4726, allocations: 6.844 kB / 0.6096 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.4726, allocations: 3 kB / 0.6096 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.4726, allocations: 3.375 kB / 0.6096 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.4726, allocations: 0 / 0.6096 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.4726, allocations: 0 / 0.6096 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.4727, allocations: 5.438 kB / 0.6096 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.4727, allocations: 0 / 0.6096 GB, free: 32.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.374e-05/0.4727, allocations: 185.6 kB / 0.6098 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.4728, allocations: 118.8 kB / 0.6099 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.4728, allocations: 121.9 kB / 0.61 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.4728, allocations: 176.3 kB / 0.6102 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.118e-05/0.4729, allocations: 186.7 kB / 0.6104 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/0.4729, allocations: 179.3 kB / 0.6105 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.473, allocations: 413.3 kB / 0.6109 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.473, allocations: 111.9 kB / 0.611 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.4731, allocations: 104.9 kB / 0.6111 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.442e-05/0.4731, allocations: 187.1 kB / 0.6113 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.4731, allocations: 176.3 kB / 0.6115 GB, free: 31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.282e-05/0.4731, allocations: 178.1 kB / 0.6117 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.718e-05/0.4732, allocations: 190.6 kB / 0.6118 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.92e-05/0.4732, allocations: 302.5 kB / 0.6121 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.4733, allocations: 196 kB / 0.6123 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.4733, allocations: 179.3 kB / 0.6125 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.675e-05/0.4734, allocations: 104.2 kB / 0.6126 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.4734, allocations: 186.6 kB / 0.6128 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.4734, allocations: 102.8 kB / 0.6129 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.4735, allocations: 102 kB / 0.613 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4735, allocations: 0 / 0.613 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006136/0.4741, allocations: 288.2 kB / 0.6132 GB, free: 29.42 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.001005/0.4751, allocations: 0.5313 MB / 0.6137 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.16e-05/0.4752, allocations: 40.59 kB / 0.6138 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4752, allocations: 0 / 0.6138 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.4753, allocations: 0 / 0.6138 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4756, allocations: 0.5391 MB / 0.6143 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.4758, allocations: 261 kB / 0.6146 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.476, allocations: 0.6882 MB / 0.6152 GB, free: 27.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.363e-05/0.476, allocations: 0 / 0.6152 GB, free: 27.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.041e-05/0.476, allocations: 10.25 kB / 0.6152 GB, free: 27.74 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.476, allocations: 0 / 0.6152 GB, free: 27.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.008928/0.485, allocations: 5.705 MB / 0.6208 GB, free: 27.38 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)