Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001019/0.001019, allocations: 94.12 kB / 16.67 MB, free: 6.594 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.001043/0.001043, allocations: 183.8 kB / 17.58 MB, free: 6.188 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.416/1.416, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8095/0.8095, allocations: 115.5 MB / 408.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003727, allocations: 8 kB / 496.6 MB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5535/0.5539, allocations: 77.51 MB / 0.5606 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001611/0.5555, allocations: 1.14 MB / 0.5618 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004439/0.56, allocations: 2.893 MB / 0.5646 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.56, allocations: 0 / 0.5646 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.5601, allocations: 6.094 kB / 0.5646 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.432e-05/0.5602, allocations: 11.42 kB / 0.5646 GB, free: 33.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.5636, allocations: 1.368 MB / 0.5659 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.5637, allocations: 35.25 kB / 0.566 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.5638, allocations: 3.922 kB / 0.566 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.217e-05/0.5638, allocations: 16.52 kB / 0.566 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.298e-05/0.5638, allocations: 21.34 kB / 0.566 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.5639, allocations: 1.125 kB / 0.566 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.5664, allocations: 1.429 MB / 0.5674 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.5664, allocations: 7.688 kB / 0.5674 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.5665, allocations: 41.89 kB / 0.5674 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.5678, allocations: 0.7722 MB / 0.5682 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5678, allocations: 0.9688 kB / 0.5682 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5678, allocations: 0 / 0.5682 GB, free: 32.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.5678, allocations: 0.5625 kB / 0.5682 GB, free: 32.14 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.0005598/0.5684, allocations: 0.5118 MB / 0.5687 GB, free: 31.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.5684, allocations: 17.38 kB / 0.5687 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.5685, allocations: 87.25 kB / 0.5688 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.5686, allocations: 246.5 kB / 0.569 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.5686, allocations: 152.8 kB / 0.5692 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.5687, allocations: 152.1 kB / 0.5693 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.418e-05/0.5687, allocations: 107.7 kB / 0.5694 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.5688, allocations: 76.81 kB / 0.5695 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.5688, allocations: 151.2 kB / 0.5696 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.5688, allocations: 151.5 kB / 0.5698 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.964e-05/0.5689, allocations: 160 kB / 0.5699 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.5691, allocations: 465.9 kB / 0.5704 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.32e-05/0.5692, allocations: 174.6 kB / 0.5706 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.5692, allocations: 80.94 kB / 0.5706 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.5692, allocations: 75.28 kB / 0.5707 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.5692, allocations: 112.2 kB / 0.5708 GB, free: 29.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.5692, allocations: 0 / 0.5708 GB, free: 29.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.26e-05/0.5693, allocations: 38.33 kB / 0.5708 GB, free: 29.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.5694, allocations: 128.8 kB / 0.571 GB, free: 29.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.5695, allocations: 137 kB / 0.5711 GB, free: 29.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.5695, allocations: 25.7 kB / 0.5711 GB, free: 29.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.5695, allocations: 87.94 kB / 0.5712 GB, free: 29.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.5696, allocations: 2.094 kB / 0.5712 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.5696, allocations: 15.72 kB / 0.5712 GB, free: 29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.503e-05/0.5696, allocations: 315.8 kB / 0.5715 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.5697, allocations: 8.062 kB / 0.5715 GB, free: 28.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.5697, allocations: 4.312 kB / 0.5715 GB, free: 28.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.5697, allocations: 11.17 kB / 0.5715 GB, free: 28.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5697, allocations: 3.938 kB / 0.5716 GB, free: 28.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001158/0.5699, allocations: 54.69 kB / 0.5716 GB, free: 28.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.5699, allocations: 6.953 kB / 0.5716 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.5699, allocations: 1.594 kB / 0.5716 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5699, allocations: 2.625 kB / 0.5716 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-06/0.5699, allocations: 0.6094 kB / 0.5716 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.5699, allocations: 0 / 0.5716 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.57, allocations: 6.156 kB / 0.5716 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.57, allocations: 2.188 kB / 0.5716 GB, free: 28.62 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 7.077e-05/0.5701, allocations: 184.6 kB / 0.5718 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.5701, allocations: 120.1 kB / 0.5719 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.5702, allocations: 113.9 kB / 0.572 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/0.5702, allocations: 179.6 kB / 0.5722 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.112e-05/0.5702, allocations: 181 kB / 0.5724 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/0.5703, allocations: 178.9 kB / 0.5725 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.5704, allocations: 421.9 kB / 0.5729 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.5705, allocations: 106.6 kB / 0.573 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.5705, allocations: 107 kB / 0.5731 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.914e-05/0.5705, allocations: 189.5 kB / 0.5733 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.5706, allocations: 178.3 kB / 0.5735 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.142e-05/0.5706, allocations: 184.9 kB / 0.5737 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.299e-05/0.5706, allocations: 179.4 kB / 0.5738 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.856e-05/0.5707, allocations: 303.5 kB / 0.5741 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.5708, allocations: 194.2 kB / 0.5743 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.5708, allocations: 182.5 kB / 0.5745 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.548e-05/0.5709, allocations: 103.7 kB / 0.5746 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.5709, allocations: 178.9 kB / 0.5748 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.5709, allocations: 111.6 kB / 0.5749 GB, free: 25.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.109e-05/0.571, allocations: 102.3 kB / 0.575 GB, free: 25.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.571, allocations: 1.031 kB / 0.575 GB, free: 25.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008381/0.5718, allocations: 281.6 kB / 0.5752 GB, free: 25 MB / 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.001096/0.573, allocations: 0.515 MB / 0.5757 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.556e-05/0.573, allocations: 37.42 kB / 0.5758 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5731, allocations: 1.438 kB / 0.5758 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.5731, allocations: 1.828 kB / 0.5758 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.5734, allocations: 0.5362 MB / 0.5763 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.5738, allocations: 293.5 kB / 0.5766 GB, free: 23.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.5739, allocations: 0.6817 MB / 0.5772 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-06/0.5739, allocations: 10.34 kB / 0.5773 GB, free: 23.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5739, allocations: 0 / 0.5773 GB, free: 23.23 MB / 446.1 MB Notification: Performance of Templates: time 0.01131/0.5852, allocations: 4.628 MB / 0.5818 GB, free: 22.79 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)