Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00248/0.002483, allocations: 356.3 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.382/1.382, allocations: 165.8 MB / 182.5 MB, free: 5.512 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.654/3.654, allocations: 410.7 MB / 0.5995 GB, free: 15.17 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001734/0.001734, allocations: 195.5 kB / 0.6662 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004946, allocations: 19.94 kB / 0.7423 GB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3406, allocations: 67.43 MB / 0.8082 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004158/0.3448, allocations: 3.563 MB / 0.8117 GB, free: 25.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003142/0.348, allocations: 2.259 MB / 0.8139 GB, free: 22.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002806/0.3483, allocations: 8 kB / 0.8139 GB, free: 22.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.3495, allocations: 449.9 kB / 0.8143 GB, free: 22.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.35, allocations: 210.5 kB / 0.8145 GB, free: 22.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.3502, allocations: 87.91 kB / 0.8146 GB, free: 22.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006604/0.3509, allocations: 0.7551 MB / 0.8153 GB, free: 21.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.3512, allocations: 237.5 kB / 0.8156 GB, free: 21.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.3515, allocations: 231.1 kB / 0.8158 GB, free: 20.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.3518, allocations: 278.7 kB / 0.816 GB, free: 20.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.545e-05/0.3519, allocations: 36 kB / 0.8161 GB, free: 20.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.352, allocations: 36 kB / 0.8161 GB, free: 20.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.3521, allocations: 127.5 kB / 0.8162 GB, free: 20.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.3523, allocations: 161.4 kB / 0.8164 GB, free: 20.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006172/0.3529, allocations: 0.7828 MB / 0.8172 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.654e-06/0.3529, allocations: 4 kB / 0.8172 GB, free: 19.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.151e-06/0.3529, allocations: 0 / 0.8172 GB, free: 19.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3529, allocations: 0 / 0.8172 GB, free: 19.54 MB / 378.7 MB 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.001222/0.3542, allocations: 0.8566 MB / 0.818 GB, free: 18.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3542, allocations: 8.031 kB / 0.818 GB, free: 18.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.3544, allocations: 79.08 kB / 0.8181 GB, free: 18.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.3549, allocations: 432.8 kB / 0.8185 GB, free: 18.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.355, allocations: 37 kB / 0.8185 GB, free: 18.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.1e-05/0.3551, allocations: 55.89 kB / 0.8186 GB, free: 18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008636/0.356, allocations: 426.5 kB / 0.819 GB, free: 17.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.356, allocations: 0 / 0.819 GB, free: 17.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.3561, allocations: 24 kB / 0.819 GB, free: 17.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.3561, allocations: 12 kB / 0.819 GB, free: 17.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008824/0.357, allocations: 371.8 kB / 0.8194 GB, free: 17.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.3593, allocations: 1.543 MB / 0.8209 GB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.3599, allocations: 343.6 kB / 0.8212 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/0.3606, allocations: 364.7 kB / 0.8216 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3606, allocations: 4 kB / 0.8216 GB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.3606, allocations: 38.56 kB / 0.8216 GB, free: 14.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.16e-06/0.3607, allocations: 0 / 0.8216 GB, free: 14.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001159/0.3618, allocations: 0.5087 MB / 0.8221 GB, free: 14.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.3619, allocations: 55.41 kB / 0.8221 GB, free: 14.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/0.3625, allocations: 481.9 kB / 0.8226 GB, free: 13.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.3625, allocations: 37.7 kB / 0.8226 GB, free: 13.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.3627, allocations: 276.3 kB / 0.8229 GB, free: 13.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3628, allocations: 141.9 kB / 0.823 GB, free: 13.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.3629, allocations: 8 kB / 0.823 GB, free: 13.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.363, allocations: 358.8 kB / 0.8234 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.3633, allocations: 124.7 kB / 0.8235 GB, free: 12.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.3636, allocations: 133.2 kB / 0.8236 GB, free: 12.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.364, allocations: 141.9 kB / 0.8238 GB, free: 12.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.097e-06/0.364, allocations: 0 / 0.8238 GB, free: 12.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008243/0.3648, allocations: 412.5 kB / 0.8242 GB, free: 12.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3648, allocations: 7.984 kB / 0.8242 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.147e-06/0.3649, allocations: 0 / 0.8242 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3649, allocations: 4 kB / 0.8242 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.3655, allocations: 131.8 kB / 0.8243 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.657e-06/0.3655, allocations: 4 kB / 0.8243 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.3658, allocations: 59.52 kB / 0.8244 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3659, allocations: 12 kB / 0.8244 GB, free: 11.91 MB / 378.7 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 (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.000333/0.3662, allocations: 194.4 kB / 0.8246 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.3663, allocations: 47.44 kB / 0.8246 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.3665, allocations: 69.09 kB / 0.8247 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3665, allocations: 4 kB / 0.8247 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.191e-06/0.3665, allocations: 3.953 kB / 0.8247 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.159e-06/0.3665, allocations: 0 / 0.8247 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007134/0.3672, allocations: 0.5751 MB / 0.8252 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-06/0.3673, allocations: 3.938 kB / 0.8252 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006329/0.3679, allocations: 127.9 kB / 0.8254 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.599e-06/0.3679, allocations: 4 kB / 0.8254 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.368, allocations: 11.98 kB / 0.8254 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.396e-06/0.368, allocations: 0 / 0.8254 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.65e-06/0.368, allocations: 7.922 kB / 0.8254 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.3692, allocations: 0.6748 MB / 0.826 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.3693, allocations: 136.4 kB / 0.8262 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.3694, allocations: 8 kB / 0.8262 GB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.3698, allocations: 23.89 kB / 0.8262 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.3698, allocations: 27.97 kB / 0.8262 GB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.3699, allocations: 12 kB / 0.8262 GB, free: 9.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004588/0.3703, allocations: 347.1 kB / 0.8266 GB, free: 9.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.3704, allocations: 0 / 0.8266 GB, free: 9.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005123/0.3709, allocations: 143.6 kB / 0.8267 GB, free: 9.41 MB / 378.7 MB 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 0.0001152/0.371, allocations: 112.9 kB / 0.8268 GB, free: 9.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007158/0.3717, allocations: 335.5 kB / 0.8271 GB, free: 8.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.469e-06/0.3718, allocations: 0 / 0.8271 GB, free: 8.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.3721, allocations: 183.8 kB / 0.8273 GB, free: 8.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000855/0.373, allocations: 117.8 kB / 0.8274 GB, free: 8.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.3752, allocations: 1.446 MB / 0.8288 GB, free: 7.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3755, allocations: 0.8824 MB / 0.8297 GB, free: 6.289 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002618/0.3758, allocations: 52.38 kB / 0.8298 GB, free: 6.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.3759, allocations: 35.44 kB / 0.8298 GB, free: 6.203 MB / 378.7 MB Notification: Performance of SimCode: time 1.638e-06/0.376, allocations: 0 / 0.8298 GB, free: 6.203 MB / 378.7 MB Notification: Performance of Templates: time 0.01313/0.3891, allocations: 5.38 MB / 0.835 GB, free: 0.957 MB / 378.7 MB