Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000813/0.000813, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008378/0.0008378, allocations: 172.7 kB / 15.95 MB, free: 208 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.145/1.145, allocations: 223.3 MB / 240 MB, free: 5.426 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.8256/0.8256, allocations: 143.2 MB / 434.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002557/0.0002557, allocations: 8 kB / 0.5158 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1227, allocations: 83.41 MB / 0.5973 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003318/0.1261, allocations: 3.575 MB / 0.6008 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1283, allocations: 2.205 MB / 0.6029 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1285, allocations: 12 kB / 0.6029 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008935/0.1294, allocations: 450 kB / 0.6034 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.1297, allocations: 222.4 kB / 0.6036 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.1298, allocations: 83.86 kB / 0.6037 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006009/0.1305, allocations: 0.7585 MB / 0.6044 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.1308, allocations: 245.5 kB / 0.6046 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.131, allocations: 231.1 kB / 0.6049 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2135/0.3445, allocations: 276.7 kB / 0.6051 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.3447, allocations: 34.5 kB / 0.6052 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.3449, allocations: 35 kB / 0.6052 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.345, allocations: 124.8 kB / 0.6053 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.3451, allocations: 163.6 kB / 0.6055 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.3456, allocations: 0.8237 MB / 0.6063 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3456, allocations: 0 / 0.6063 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3456, allocations: 0 / 0.6063 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3456, allocations: 2.906 kB / 0.6063 GB, free: 35.51 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008733/0.3465, allocations: 0.8483 MB / 0.6071 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.3465, allocations: 8.281 kB / 0.6071 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.354e-05/0.3466, allocations: 75.58 kB / 0.6072 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.347, allocations: 436 kB / 0.6076 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.347, allocations: 34.84 kB / 0.6076 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.3471, allocations: 51.91 kB / 0.6077 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.3476, allocations: 425.7 kB / 0.6081 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3477, allocations: 1.594 kB / 0.6081 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.3477, allocations: 23.72 kB / 0.6081 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3477, allocations: 11.12 kB / 0.6081 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.3482, allocations: 376.6 kB / 0.6085 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.3496, allocations: 1.545 MB / 0.61 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.35, allocations: 336 kB / 0.6103 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/0.3504, allocations: 367.3 kB / 0.6107 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3504, allocations: 6.469 kB / 0.6107 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.3504, allocations: 37.69 kB / 0.6107 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.342e-06/0.3504, allocations: 2.938 kB / 0.6107 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0007012/0.3512, allocations: 0.4973 MB / 0.6112 GB, free: 34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.3512, allocations: 61.25 kB / 0.6113 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.3515, allocations: 485.9 kB / 0.6117 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3516, allocations: 28.7 kB / 0.6117 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3517, allocations: 275.2 kB / 0.612 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.577e-05/0.3518, allocations: 145.6 kB / 0.6121 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.3518, allocations: 7.031 kB / 0.6122 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.3518, allocations: 360.9 kB / 0.6125 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.3521, allocations: 129.2 kB / 0.6126 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3523, allocations: 131.5 kB / 0.6127 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.3525, allocations: 145.3 kB / 0.6129 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3525, allocations: 0 / 0.6129 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004898/0.353, allocations: 406.8 kB / 0.6133 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.353, allocations: 5.781 kB / 0.6133 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.353, allocations: 0 / 0.6133 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.353, allocations: 7.672 kB / 0.6133 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.3535, allocations: 128.6 kB / 0.6134 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3535, allocations: 9.266 kB / 0.6134 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.3537, allocations: 53.88 kB / 0.6135 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.3537, allocations: 8.875 kB / 0.6135 GB, free: 33.14 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001365/0.3538, allocations: 197.7 kB / 0.6137 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.3539, allocations: 52.2 kB / 0.6137 GB, free: 33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.738e-05/0.354, allocations: 64.14 kB / 0.6138 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.354, allocations: 5.906 kB / 0.6138 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.354, allocations: 3.188 kB / 0.6138 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.354, allocations: 1.125 kB / 0.6138 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.3544, allocations: 0.5665 MB / 0.6143 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.3544, allocations: 4.078 kB / 0.6143 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.3549, allocations: 128.6 kB / 0.6145 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3549, allocations: 0 / 0.6145 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.3549, allocations: 13.31 kB / 0.6145 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3549, allocations: 3.219 kB / 0.6145 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3549, allocations: 0 / 0.6145 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007483/0.3556, allocations: 0.6657 MB / 0.6151 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.3557, allocations: 134.1 kB / 0.6153 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.3558, allocations: 11.09 kB / 0.6153 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.356, allocations: 34.52 kB / 0.6153 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.356, allocations: 25.12 kB / 0.6153 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.3561, allocations: 13.5 kB / 0.6153 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002635/0.3563, allocations: 349.3 kB / 0.6157 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3563, allocations: 1.641 kB / 0.6157 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003074/0.3566, allocations: 136.5 kB / 0.6158 GB, free: 32.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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 8.799e-05/0.3567, allocations: 121.2 kB / 0.6159 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004406/0.3572, allocations: 330.9 kB / 0.6162 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3572, allocations: 1.125 kB / 0.6162 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.3574, allocations: 188.7 kB / 0.6164 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.358, allocations: 122.2 kB / 0.6165 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3593, allocations: 1.436 MB / 0.6179 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.3595, allocations: 0.8748 MB / 0.6188 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.3596, allocations: 55.52 kB / 0.6188 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.3597, allocations: 36.34 kB / 0.6189 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.3597, allocations: 0 / 0.6189 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of Templates: time 0.007067/0.3668, allocations: 5.384 MB / 0.6241 GB, free: 30.5 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)