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.001396/0.0014, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001667/0.001667, allocations: 194.3 kB / 16.14 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.9607/0.9607, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 59.91 kB / 0.5136 GB, free: 12.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1512, allocations: 82.04 MB / 0.5937 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002677/0.1539, allocations: 1.491 MB / 0.5951 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004772/0.1587, allocations: 3.005 MB / 0.5981 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.1587, allocations: 0 / 0.5981 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.1588, allocations: 7.938 kB / 0.5981 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.1589, allocations: 11.86 kB / 0.5981 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003508/0.1624, allocations: 1.396 MB / 0.5995 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.187e-05/0.1624, allocations: 47.67 kB / 0.5995 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.1625, allocations: 3.984 kB / 0.5995 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.614e-05/0.1625, allocations: 11.94 kB / 0.5995 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.667e-05/0.1626, allocations: 19.92 kB / 0.5995 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.1626, allocations: 0 / 0.5995 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.1645, allocations: 1.463 MB / 0.601 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.1646, allocations: 7.922 kB / 0.601 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.1646, allocations: 27.8 kB / 0.601 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.1661, allocations: 1.111 MB / 0.6021 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1661, allocations: 0 / 0.6021 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.81e-07/0.1661, allocations: 4 kB / 0.6021 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1661, allocations: 0 / 0.6021 GB, free: 1.395 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.0005919/0.1667, allocations: 0.5185 MB / 0.6026 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1667, allocations: 12.03 kB / 0.6026 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.866e-05/0.1668, allocations: 76.22 kB / 0.6027 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.167, allocations: 259.5 kB / 0.6029 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.167, allocations: 158.9 kB / 0.6031 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.1671, allocations: 154.9 kB / 0.6032 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.611e-05/0.1672, allocations: 109.1 kB / 0.6033 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.278/0.4452, allocations: 75.28 kB / 0.6034 GB, free: 44.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.4453, allocations: 150.6 kB / 0.6035 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.4453, allocations: 150.6 kB / 0.6037 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.56e-05/0.4453, allocations: 150.6 kB / 0.6038 GB, free: 43.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.4456, allocations: 467.2 kB / 0.6043 GB, free: 43.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.161e-05/0.4456, allocations: 167.8 kB / 0.6044 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.4457, allocations: 80.14 kB / 0.6045 GB, free: 42.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.4457, allocations: 77.08 kB / 0.6046 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.4457, allocations: 117.8 kB / 0.6047 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.492e-06/0.4457, allocations: 0 / 0.6047 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.91e-05/0.4458, allocations: 30.98 kB / 0.6047 GB, free: 42.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.4458, allocations: 131 kB / 0.6048 GB, free: 42.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.4459, allocations: 134.3 kB / 0.605 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-06/0.446, allocations: 28.27 kB / 0.605 GB, free: 42.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.446, allocations: 90.83 kB / 0.6051 GB, free: 42.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.446, allocations: 0 / 0.6051 GB, free: 42.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.446, allocations: 18.8 kB / 0.6051 GB, free: 42.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.4461, allocations: 319 kB / 0.6054 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.4461, allocations: 5.172 kB / 0.6054 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.4461, allocations: 5.438 kB / 0.6054 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.4462, allocations: 20.28 kB / 0.6054 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4462, allocations: 0.75 kB / 0.6054 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001194/0.4463, allocations: 53.55 kB / 0.6055 GB, free: 42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4463, allocations: 5.656 kB / 0.6055 GB, free: 42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.4464, allocations: 5 kB / 0.6055 GB, free: 42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.4464, allocations: 2.203 kB / 0.6055 GB, free: 42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.4464, allocations: 0.75 kB / 0.6055 GB, free: 42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.4464, allocations: 3.375 kB / 0.6055 GB, free: 42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.4464, allocations: 4.25 kB / 0.6055 GB, free: 42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4464, allocations: 0.5 kB / 0.6055 GB, free: 42 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.639e-05/0.4465, allocations: 188.6 kB / 0.6057 GB, free: 41.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.4465, allocations: 119.7 kB / 0.6058 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.4466, allocations: 108.4 kB / 0.6059 GB, free: 41.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.4466, allocations: 186.9 kB / 0.6061 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.45e-05/0.4466, allocations: 178.8 kB / 0.6063 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/0.4467, allocations: 180.5 kB / 0.6064 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.4468, allocations: 422.1 kB / 0.6068 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.4468, allocations: 101 kB / 0.6069 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.359e-05/0.4468, allocations: 110.5 kB / 0.607 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.01e-05/0.4469, allocations: 180.3 kB / 0.6072 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.4469, allocations: 176.8 kB / 0.6074 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-05/0.4469, allocations: 185.8 kB / 0.6076 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.268e-05/0.4469, allocations: 184.2 kB / 0.6077 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.645e-05/0.447, allocations: 314.3 kB / 0.608 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.447, allocations: 183.2 kB / 0.6082 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.4471, allocations: 184.6 kB / 0.6084 GB, free: 38.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.4472, allocations: 108.3 kB / 0.6085 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.4472, allocations: 179.7 kB / 0.6087 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.4472, allocations: 104.5 kB / 0.6088 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.913e-05/0.4472, allocations: 102 kB / 0.6089 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4472, allocations: 0 / 0.6089 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007382/0.448, allocations: 287.5 kB / 0.6091 GB, free: 38.52 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.4489, allocations: 0.536 MB / 0.6097 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.445e-05/0.449, allocations: 40.3 kB / 0.6097 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.449, allocations: 0 / 0.6097 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.449, allocations: 0 / 0.6097 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.4493, allocations: 0.5285 MB / 0.6102 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.4496, allocations: 251 kB / 0.6104 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.416e-05/0.4497, allocations: 0.6886 MB / 0.6111 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.264e-05/0.4497, allocations: 1.266 kB / 0.6111 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.726e-06/0.4497, allocations: 12.03 kB / 0.6111 GB, free: 36.88 MB / 0.4981 GB Notification: Performance of SimCode: time 1.363e-06/0.4497, allocations: 0 / 0.6111 GB, free: 36.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.00744/0.4572, allocations: 5.728 MB / 0.6167 GB, free: 36.53 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)