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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 109.7 kB / 16.37 MB, free: 6.473 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.001114/0.001114, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.8863/0.8863, allocations: 143 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 0.5157 GB, free: 14.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3616, allocations: 82.04 MB / 0.5958 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002097/0.3637, allocations: 1.42 MB / 0.5972 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003084/0.3668, allocations: 2.855 MB / 0.5999 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.3668, allocations: 0 / 0.5999 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.3669, allocations: 3.938 kB / 0.5999 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.3669, allocations: 17.2 kB / 0.6 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.3696, allocations: 1.562 MB / 0.6015 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.3697, allocations: 45.14 kB / 0.6015 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.3698, allocations: 7.797 kB / 0.6015 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.161e-05/0.3698, allocations: 15.92 kB / 0.6016 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.103e-05/0.3698, allocations: 11.94 kB / 0.6016 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.3698, allocations: 1.219 kB / 0.6016 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.3713, allocations: 1.494 MB / 0.603 GB, free: 8.715 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.3713, allocations: 4.812 kB / 0.603 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.3714, allocations: 19.88 kB / 0.6031 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009464/0.3723, allocations: 1.072 MB / 0.6041 GB, free: 7.621 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3723, allocations: 0 / 0.6041 GB, free: 7.621 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3724, allocations: 0 / 0.6041 GB, free: 7.621 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.3724, allocations: 0 / 0.6041 GB, free: 7.621 MB / 446.1 MB 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.0004005/0.3728, allocations: 0.5145 MB / 0.6046 GB, free: 7.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.3728, allocations: 13.56 kB / 0.6046 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.3729, allocations: 76.22 kB / 0.6047 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.373, allocations: 257.9 kB / 0.6049 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.373, allocations: 152.4 kB / 0.6051 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.373, allocations: 154.9 kB / 0.6052 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.872e-05/0.3731, allocations: 105.9 kB / 0.6053 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3731, allocations: 76.78 kB / 0.6054 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.3731, allocations: 150.6 kB / 0.6055 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.3731, allocations: 151.9 kB / 0.6057 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.226e-05/0.3732, allocations: 154.5 kB / 0.6058 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.3733, allocations: 468.1 kB / 0.6063 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.229e-05/0.3734, allocations: 170.1 kB / 0.6064 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.3734, allocations: 80.14 kB / 0.6065 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.3734, allocations: 80.44 kB / 0.6066 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.3735, allocations: 115.2 kB / 0.6067 GB, free: 4.789 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.3735, allocations: 0 / 0.6067 GB, free: 4.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.732e-05/0.3735, allocations: 33.64 kB / 0.6067 GB, free: 4.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.3735, allocations: 127.4 kB / 0.6069 GB, free: 4.613 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.3736, allocations: 135.3 kB / 0.607 GB, free: 4.473 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.3737, allocations: 25.7 kB / 0.607 GB, free: 4.441 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.3737, allocations: 88.12 kB / 0.6071 GB, free: 4.352 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.3737, allocations: 5.375 kB / 0.6071 GB, free: 4.348 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.3737, allocations: 17.72 kB / 0.6071 GB, free: 4.324 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.223e-05/0.3738, allocations: 314.8 kB / 0.6074 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.3738, allocations: 12.62 kB / 0.6074 GB, free: 3.996 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/0.3738, allocations: 5.5 kB / 0.6074 GB, free: 3.992 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.894e-05/0.3739, allocations: 8.859 kB / 0.6074 GB, free: 3.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3739, allocations: 0 / 0.6074 GB, free: 3.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.275e-05/0.374, allocations: 53.56 kB / 0.6075 GB, free: 3.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.374, allocations: 8.844 kB / 0.6075 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.374, allocations: 0 / 0.6075 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.374, allocations: 2.156 kB / 0.6075 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.374, allocations: 4 kB / 0.6075 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.374, allocations: 0 / 0.6075 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.374, allocations: 3.906 kB / 0.6075 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.3741, allocations: 0 / 0.6075 GB, free: 3.906 MB / 446.1 MB 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.172e-05/0.3741, allocations: 190.7 kB / 0.6077 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.3742, allocations: 108.9 kB / 0.6078 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.3742, allocations: 114.1 kB / 0.6079 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.3742, allocations: 180.3 kB / 0.6081 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/0.3742, allocations: 181.7 kB / 0.6083 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/0.3743, allocations: 196.3 kB / 0.6084 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.3744, allocations: 410.5 kB / 0.6088 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.3744, allocations: 104.9 kB / 0.6089 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.3744, allocations: 106.4 kB / 0.609 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.173e-05/0.3745, allocations: 180.2 kB / 0.6092 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.3745, allocations: 181.6 kB / 0.6094 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.31e-05/0.3745, allocations: 188.2 kB / 0.6096 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.082e-05/0.3745, allocations: 181.2 kB / 0.6097 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.742e-05/0.3746, allocations: 309.4 kB / 0.61 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.3746, allocations: 194.9 kB / 0.6102 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.3747, allocations: 180.9 kB / 0.6104 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.476e-05/0.3747, allocations: 101.5 kB / 0.6105 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.3748, allocations: 179 kB / 0.6107 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3748, allocations: 108.9 kB / 0.6108 GB, free: 384 kB / 446.1 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.3748, allocations: 105.8 kB / 0.6109 GB, free: 280 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3748, allocations: 3.938 kB / 0.6109 GB, free: 276 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005038/0.3753, allocations: 271.8 kB / 0.6111 GB, free: 4 kB / 446.1 MB 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.0009463/0.3763, allocations: 0.5193 MB / 0.6116 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.27e-05/0.3764, allocations: 42.97 kB / 0.6117 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3764, allocations: 0 / 0.6117 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.3764, allocations: 0 / 0.6117 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.3768, allocations: 469.7 kB / 0.6121 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.3771, allocations: 233.7 kB / 0.6123 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.3773, allocations: 0.6853 MB / 0.613 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.078e-05/0.3773, allocations: 1.344 kB / 0.613 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.05e-05/0.3773, allocations: 11.44 kB / 0.613 GB, free: 14 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3773, allocations: 0 / 0.613 GB, free: 14 MB / 462.1 MB Notification: Performance of Templates: time 0.008695/0.386, allocations: 5.496 MB / 0.6184 GB, free: 8.598 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)