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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002444/0.002448, allocations: 356.2 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.403/1.403, allocations: 165.8 MB / 182.5 MB, free: 5.406 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.799/3.799, allocations: 410.8 MB / 0.5995 GB, free: 15.08 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.001701/0.001701, allocations: 202 kB / 0.6662 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004664, allocations: 19.92 kB / 0.7424 GB, free: 8.883 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3316, allocations: 67.43 MB / 0.8082 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00132/0.333, allocations: 1.138 MB / 0.8093 GB, free: 27.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004029/0.337, allocations: 2.715 MB / 0.812 GB, free: 24.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.3372, allocations: 0 / 0.812 GB, free: 24.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.3372, allocations: 4 kB / 0.812 GB, free: 24.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.375e-05/0.3373, allocations: 15.84 kB / 0.812 GB, free: 24.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004649/0.3419, allocations: 1.324 MB / 0.8133 GB, free: 23.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.654e-05/0.342, allocations: 39.73 kB / 0.8133 GB, free: 23.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.3421, allocations: 10.11 kB / 0.8133 GB, free: 23.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.772e-05/0.3421, allocations: 15.92 kB / 0.8133 GB, free: 23.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.798e-05/0.3422, allocations: 15.92 kB / 0.8134 GB, free: 23.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.3422, allocations: 0 / 0.8134 GB, free: 23.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.3445, allocations: 1.263 MB / 0.8146 GB, free: 22.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.3446, allocations: 3.938 kB / 0.8146 GB, free: 22.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.3446, allocations: 33.7 kB / 0.8146 GB, free: 22.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.3461, allocations: 0.7214 MB / 0.8153 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.026e-06/0.3461, allocations: 4 kB / 0.8153 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.086e-06/0.3461, allocations: 0 / 0.8153 GB, free: 21.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.491e-06/0.3461, allocations: 0 / 0.8153 GB, free: 21.46 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.000534/0.3467, allocations: 0.5066 MB / 0.8158 GB, free: 20.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3467, allocations: 8.031 kB / 0.8158 GB, free: 20.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.3468, allocations: 83.19 kB / 0.8159 GB, free: 20.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.805e-05/0.3469, allocations: 254.2 kB / 0.8162 GB, free: 20.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.3469, allocations: 162.5 kB / 0.8163 GB, free: 20.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.347, allocations: 150.6 kB / 0.8165 GB, free: 20.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.147e-05/0.347, allocations: 101 kB / 0.8166 GB, free: 20.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.347, allocations: 75.28 kB / 0.8166 GB, free: 20.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.3471, allocations: 150.6 kB / 0.8168 GB, free: 19.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.3471, allocations: 154.6 kB / 0.8169 GB, free: 19.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.3472, allocations: 154.6 kB / 0.8171 GB, free: 19.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.3474, allocations: 465.8 kB / 0.8175 GB, free: 19.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.661e-05/0.3475, allocations: 177 kB / 0.8177 GB, free: 18.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.3475, allocations: 80.14 kB / 0.8178 GB, free: 18.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3475, allocations: 79.28 kB / 0.8178 GB, free: 18.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.3476, allocations: 109.8 kB / 0.8179 GB, free: 18.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.863e-06/0.3476, allocations: 4 kB / 0.8179 GB, free: 18.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.738e-05/0.3477, allocations: 33.62 kB / 0.818 GB, free: 18.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.3477, allocations: 126.7 kB / 0.8181 GB, free: 18.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3478, allocations: 141.5 kB / 0.8182 GB, free: 18.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.3478, allocations: 25.7 kB / 0.8183 GB, free: 18.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.3479, allocations: 88.14 kB / 0.8183 GB, free: 18.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.3479, allocations: 0 / 0.8183 GB, free: 18.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-06/0.3479, allocations: 0 / 0.8183 GB, free: 18.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.14e-05/0.348, allocations: 322.8 kB / 0.8186 GB, free: 17.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.348, allocations: 8 kB / 0.8187 GB, free: 17.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.348, allocations: 4 kB / 0.8187 GB, free: 17.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.3481, allocations: 4 kB / 0.8187 GB, free: 17.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3481, allocations: 0 / 0.8187 GB, free: 17.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001399/0.3482, allocations: 57.55 kB / 0.8187 GB, free: 17.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3483, allocations: 19.94 kB / 0.8187 GB, free: 17.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.3483, allocations: 4 kB / 0.8187 GB, free: 17.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3483, allocations: 0 / 0.8187 GB, free: 17.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.664e-06/0.3483, allocations: 0 / 0.8187 GB, free: 17.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3484, allocations: 0 / 0.8187 GB, free: 17.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.508e-05/0.3484, allocations: 0 / 0.8187 GB, free: 17.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-06/0.3484, allocations: 3.984 kB / 0.8187 GB, free: 17.74 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.748e-05/0.3485, allocations: 189.1 kB / 0.8189 GB, free: 17.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.3486, allocations: 116.8 kB / 0.819 GB, free: 17.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.3486, allocations: 112.8 kB / 0.8191 GB, free: 17.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/0.3486, allocations: 180.3 kB / 0.8193 GB, free: 17.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.013e-05/0.3487, allocations: 184.3 kB / 0.8195 GB, free: 16.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.044e-05/0.3487, allocations: 180.2 kB / 0.8197 GB, free: 16.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.3489, allocations: 413.2 kB / 0.8201 GB, free: 16.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/0.3489, allocations: 112.9 kB / 0.8202 GB, free: 16.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.349, allocations: 101 kB / 0.8203 GB, free: 16.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.9e-05/0.349, allocations: 180.3 kB / 0.8204 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.3491, allocations: 188.2 kB / 0.8206 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.744e-05/0.3491, allocations: 180.2 kB / 0.8208 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.924e-05/0.3491, allocations: 184.2 kB / 0.821 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.756e-05/0.3492, allocations: 299.8 kB / 0.8212 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.3493, allocations: 193.9 kB / 0.8214 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.3493, allocations: 180.2 kB / 0.8216 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.3494, allocations: 104.9 kB / 0.8217 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.3495, allocations: 188.3 kB / 0.8219 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.3495, allocations: 101 kB / 0.822 GB, free: 14.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.121e-05/0.3496, allocations: 103.2 kB / 0.8221 GB, free: 14.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.3496, allocations: 3.938 kB / 0.8221 GB, free: 14.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008194/0.3504, allocations: 283.8 kB / 0.8224 GB, free: 13.82 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.001142/0.3516, allocations: 0.5167 MB / 0.8229 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.3517, allocations: 41.7 kB / 0.8229 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.712e-06/0.3517, allocations: 0 / 0.8229 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.426e-06/0.3517, allocations: 0 / 0.8229 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.3521, allocations: 0.5302 MB / 0.8234 GB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.3524, allocations: 267.8 kB / 0.8237 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.3526, allocations: 0.6848 MB / 0.8243 GB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.642e-05/0.3526, allocations: 0 / 0.8243 GB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.3526, allocations: 15.44 kB / 0.8244 GB, free: 11.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.454e-06/0.3526, allocations: 0 / 0.8244 GB, free: 11.7 MB / 378.7 MB Notification: Performance of Templates: time 0.01152/0.3641, allocations: 5.71 MB / 0.8299 GB, free: 6.039 MB / 378.7 MB