Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004079/0.004085, allocations: 352.6 kB / 15.94 MB, free: 6.199 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.432/1.432, allocations: 165.8 MB / 182.5 MB, free: 5.445 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.818/3.818, allocations: 410.8 MB / 0.5995 GB, free: 15.15 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.001691/0.001691, allocations: 197.7 kB / 0.6662 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004626, allocations: 12 kB / 0.7423 GB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3262, allocations: 67.44 MB / 0.8082 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001254/0.3275, allocations: 1.127 MB / 0.8093 GB, free: 27.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003831/0.3313, allocations: 2.68 MB / 0.8119 GB, free: 24.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.3314, allocations: 0 / 0.8119 GB, free: 24.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.3315, allocations: 7.922 kB / 0.8119 GB, free: 24.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.752e-05/0.3315, allocations: 7.922 kB / 0.8119 GB, free: 24.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004054/0.3356, allocations: 1.302 MB / 0.8132 GB, free: 23.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.3357, allocations: 35.75 kB / 0.8132 GB, free: 23.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.3357, allocations: 7.984 kB / 0.8132 GB, free: 23.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.553e-05/0.3358, allocations: 19.92 kB / 0.8133 GB, free: 23.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.617e-05/0.3358, allocations: 11.94 kB / 0.8133 GB, free: 23.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.986e-06/0.3358, allocations: 0 / 0.8133 GB, free: 23.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.3379, allocations: 1.236 MB / 0.8145 GB, free: 22.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.06e-06/0.3379, allocations: 0 / 0.8145 GB, free: 22.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.3379, allocations: 37.64 kB / 0.8145 GB, free: 22.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009628/0.3389, allocations: 0.6961 MB / 0.8152 GB, free: 21.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.109e-06/0.3389, allocations: 0 / 0.8152 GB, free: 21.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.867e-06/0.3389, allocations: 0 / 0.8152 GB, free: 21.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.031e-06/0.3389, allocations: 0 / 0.8152 GB, free: 21.59 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004573/0.3394, allocations: 0.5105 MB / 0.8157 GB, free: 21.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3395, allocations: 8.031 kB / 0.8157 GB, free: 21.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.3395, allocations: 87.19 kB / 0.8158 GB, free: 20.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.337e-05/0.3396, allocations: 241.3 kB / 0.816 GB, free: 20.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.3397, allocations: 158.5 kB / 0.8162 GB, free: 20.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.3397, allocations: 154.5 kB / 0.8163 GB, free: 20.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.605e-05/0.3398, allocations: 109 kB / 0.8164 GB, free: 20.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3398, allocations: 79.22 kB / 0.8165 GB, free: 20.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.3398, allocations: 154.6 kB / 0.8166 GB, free: 20.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.3398, allocations: 158.5 kB / 0.8168 GB, free: 19.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.3399, allocations: 154.6 kB / 0.8169 GB, free: 19.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.3401, allocations: 469.8 kB / 0.8174 GB, free: 19.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.3402, allocations: 169.1 kB / 0.8176 GB, free: 19.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.3402, allocations: 88.03 kB / 0.8176 GB, free: 18.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3402, allocations: 75.28 kB / 0.8177 GB, free: 18.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.3403, allocations: 105.8 kB / 0.8178 GB, free: 18.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.717e-06/0.3403, allocations: 0 / 0.8178 GB, free: 18.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.41e-05/0.3403, allocations: 33.7 kB / 0.8178 GB, free: 18.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.3404, allocations: 130.7 kB / 0.818 GB, free: 18.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3405, allocations: 129.9 kB / 0.8181 GB, free: 18.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.853e-06/0.3405, allocations: 25.7 kB / 0.8181 GB, free: 18.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.3406, allocations: 96.12 kB / 0.8182 GB, free: 18.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-06/0.3406, allocations: 0 / 0.8182 GB, free: 18.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-06/0.3406, allocations: 0 / 0.8182 GB, free: 18.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.3407, allocations: 310.8 kB / 0.8185 GB, free: 17.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.3407, allocations: 15.92 kB / 0.8185 GB, free: 17.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.989e-05/0.3407, allocations: 8 kB / 0.8185 GB, free: 17.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.3408, allocations: 4 kB / 0.8185 GB, free: 17.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3408, allocations: 0 / 0.8185 GB, free: 17.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001313/0.3409, allocations: 45.66 kB / 0.8186 GB, free: 17.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3409, allocations: 8 kB / 0.8186 GB, free: 17.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.341, allocations: 3.984 kB / 0.8186 GB, free: 17.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.341, allocations: 0 / 0.8186 GB, free: 17.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.537e-06/0.341, allocations: 7.938 kB / 0.8186 GB, free: 17.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.79e-06/0.341, allocations: 0 / 0.8186 GB, free: 17.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.3411, allocations: 3.906 kB / 0.8186 GB, free: 17.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-06/0.3411, allocations: 4.062 kB / 0.8186 GB, free: 17.88 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.336e-05/0.3412, allocations: 185.1 kB / 0.8188 GB, free: 17.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.3412, allocations: 112.9 kB / 0.8189 GB, free: 17.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.3413, allocations: 112.8 kB / 0.819 GB, free: 17.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/0.3413, allocations: 180.2 kB / 0.8192 GB, free: 17.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.742e-05/0.3413, allocations: 176.3 kB / 0.8193 GB, free: 17.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/0.3414, allocations: 184.3 kB / 0.8195 GB, free: 16.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.3415, allocations: 413.2 kB / 0.8199 GB, free: 16.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.3416, allocations: 105 kB / 0.82 GB, free: 16.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.3416, allocations: 108.9 kB / 0.8201 GB, free: 16.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.693e-05/0.3416, allocations: 176.3 kB / 0.8203 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.3417, allocations: 184.3 kB / 0.8205 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.787e-05/0.3417, allocations: 184.2 kB / 0.8206 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.911e-05/0.3418, allocations: 184.3 kB / 0.8208 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.256e-05/0.3418, allocations: 307.7 kB / 0.8211 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.3419, allocations: 193.9 kB / 0.8213 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.3419, allocations: 188.2 kB / 0.8215 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.342, allocations: 104.9 kB / 0.8216 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.3421, allocations: 180.2 kB / 0.8217 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.3421, allocations: 105 kB / 0.8218 GB, free: 14.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.972e-05/0.3422, allocations: 98.39 kB / 0.8219 GB, free: 14.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.79e-07/0.3422, allocations: 0 / 0.8219 GB, free: 14.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007745/0.343, allocations: 283.8 kB / 0.8222 GB, free: 13.97 MB / 378.7 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 (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.001046/0.344, allocations: 0.5246 MB / 0.8227 GB, free: 13.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.587e-05/0.3441, allocations: 41.64 kB / 0.8227 GB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.447e-06/0.3442, allocations: 0 / 0.8227 GB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.05e-06/0.3442, allocations: 0 / 0.8227 GB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.3445, allocations: 0.5264 MB / 0.8233 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.3448, allocations: 261.8 kB / 0.8235 GB, free: 12.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.345, allocations: 0.6848 MB / 0.8242 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.612e-05/0.345, allocations: 0 / 0.8242 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.727e-06/0.345, allocations: 11.38 kB / 0.8242 GB, free: 11.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.454e-06/0.345, allocations: 4 kB / 0.8242 GB, free: 11.86 MB / 378.7 MB Notification: Performance of Templates: time 0.01062/0.3556, allocations: 5.506 MB / 0.8296 GB, free: 6.398 MB / 378.7 MB