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.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002448/0.002452, allocations: 354.1 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.436/1.436, allocations: 165.8 MB / 182.5 MB, free: 5.414 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.673/3.673, allocations: 410.8 MB / 0.5995 GB, free: 15.34 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.001773/0.001772, allocations: 204.7 kB / 0.6662 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004655, allocations: 12 kB / 0.7424 GB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3326, allocations: 67.43 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001311/0.3339, allocations: 1.139 MB / 0.8093 GB, free: 27.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004004/0.338, allocations: 2.719 MB / 0.812 GB, free: 24.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.3381, allocations: 0 / 0.812 GB, free: 24.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.3381, allocations: 3.938 kB / 0.812 GB, free: 24.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.15e-05/0.3382, allocations: 19.84 kB / 0.812 GB, free: 24.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004376/0.3426, allocations: 1.32 MB / 0.8133 GB, free: 23.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.3426, allocations: 43.67 kB / 0.8133 GB, free: 23.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.3427, allocations: 6.109 kB / 0.8133 GB, free: 23.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/0.3427, allocations: 15.94 kB / 0.8133 GB, free: 23.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.842e-05/0.3428, allocations: 15.92 kB / 0.8134 GB, free: 23.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.3428, allocations: 0 / 0.8134 GB, free: 23.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.345, allocations: 1.263 MB / 0.8146 GB, free: 22.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.345, allocations: 0 / 0.8146 GB, free: 22.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.3451, allocations: 37.64 kB / 0.8146 GB, free: 22.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.3463, allocations: 0.7175 MB / 0.8153 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.839e-06/0.3464, allocations: 4 kB / 0.8153 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.006e-06/0.3464, allocations: 0 / 0.8153 GB, free: 21.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.355e-06/0.3464, allocations: 0 / 0.8153 GB, free: 21.48 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.0004942/0.3469, allocations: 0.5105 MB / 0.8158 GB, free: 20.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3469, allocations: 8.031 kB / 0.8158 GB, free: 20.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.347, allocations: 79.19 kB / 0.8159 GB, free: 20.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.711e-05/0.3471, allocations: 254.2 kB / 0.8162 GB, free: 20.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.3471, allocations: 158.6 kB / 0.8163 GB, free: 20.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.3472, allocations: 158.5 kB / 0.8165 GB, free: 20.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.418e-05/0.3472, allocations: 101 kB / 0.8166 GB, free: 20.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.3473, allocations: 75.28 kB / 0.8166 GB, free: 20.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.3473, allocations: 150.6 kB / 0.8168 GB, free: 19.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.3473, allocations: 154.6 kB / 0.8169 GB, free: 19.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.75e-05/0.3474, allocations: 158.5 kB / 0.8171 GB, free: 19.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.3476, allocations: 465.8 kB / 0.8175 GB, free: 19.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.112e-05/0.3476, allocations: 173 kB / 0.8177 GB, free: 18.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.3477, allocations: 84.14 kB / 0.8178 GB, free: 18.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3477, allocations: 75.28 kB / 0.8178 GB, free: 18.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.3477, allocations: 109.8 kB / 0.8179 GB, free: 18.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.671e-06/0.3478, allocations: 0 / 0.8179 GB, free: 18.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.946e-05/0.3478, allocations: 29.7 kB / 0.818 GB, free: 18.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.3479, allocations: 130.6 kB / 0.8181 GB, free: 18.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.348, allocations: 133.9 kB / 0.8182 GB, free: 18.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.348, allocations: 29.7 kB / 0.8182 GB, free: 18.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.3481, allocations: 92.12 kB / 0.8183 GB, free: 18.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-06/0.3481, allocations: 0 / 0.8183 GB, free: 18.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-06/0.3481, allocations: 0 / 0.8183 GB, free: 18.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.3482, allocations: 318.8 kB / 0.8186 GB, free: 17.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.3482, allocations: 3.938 kB / 0.8186 GB, free: 17.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.3482, allocations: 11.98 kB / 0.8187 GB, free: 17.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.3483, allocations: 4 kB / 0.8187 GB, free: 17.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.95e-06/0.3483, allocations: 8.031 kB / 0.8187 GB, free: 17.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001273/0.3484, allocations: 53.5 kB / 0.8187 GB, free: 17.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3484, allocations: 7.594 kB / 0.8187 GB, free: 17.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.3485, allocations: 4 kB / 0.8187 GB, free: 17.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3485, allocations: 0 / 0.8187 GB, free: 17.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.678e-06/0.3485, allocations: 11.92 kB / 0.8187 GB, free: 17.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.076e-06/0.3485, allocations: 0 / 0.8187 GB, free: 17.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.3486, allocations: 3.984 kB / 0.8187 GB, free: 17.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-06/0.3486, allocations: 0 / 0.8187 GB, free: 17.76 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.668e-05/0.3487, allocations: 197.1 kB / 0.8189 GB, free: 17.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.3487, allocations: 108.8 kB / 0.819 GB, free: 17.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.3488, allocations: 108.9 kB / 0.8191 GB, free: 17.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.86e-05/0.3488, allocations: 184.2 kB / 0.8193 GB, free: 17.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-05/0.3489, allocations: 176.3 kB / 0.8195 GB, free: 16.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/0.3489, allocations: 192.2 kB / 0.8197 GB, free: 16.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.3491, allocations: 409.2 kB / 0.8201 GB, free: 16.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/0.3491, allocations: 105 kB / 0.8202 GB, free: 16.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.3491, allocations: 108.9 kB / 0.8203 GB, free: 16.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.884e-05/0.3492, allocations: 180.3 kB / 0.8204 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.3492, allocations: 188.2 kB / 0.8206 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.819e-05/0.3492, allocations: 184.3 kB / 0.8208 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-05/0.3493, allocations: 180.2 kB / 0.821 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.605e-05/0.3494, allocations: 303.8 kB / 0.8212 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.3494, allocations: 189.9 kB / 0.8214 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.3495, allocations: 180.2 kB / 0.8216 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.3495, allocations: 112.9 kB / 0.8217 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.3496, allocations: 176.3 kB / 0.8219 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3496, allocations: 105 kB / 0.822 GB, free: 14.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.298e-05/0.3497, allocations: 99.27 kB / 0.8221 GB, free: 14.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.3497, allocations: 0 / 0.8221 GB, free: 14.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008093/0.3505, allocations: 275.8 kB / 0.8223 GB, free: 13.85 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.001094/0.3516, allocations: 0.5347 MB / 0.8229 GB, free: 13.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.3518, allocations: 41.64 kB / 0.8229 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.636e-06/0.3518, allocations: 0 / 0.8229 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.341e-06/0.3518, allocations: 0 / 0.8229 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.3522, allocations: 0.5264 MB / 0.8234 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.3525, allocations: 263.7 kB / 0.8237 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.3526, allocations: 0.6926 MB / 0.8243 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.452e-05/0.3526, allocations: 0 / 0.8243 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-06/0.3526, allocations: 7.438 kB / 0.8243 GB, free: 11.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.382e-06/0.3526, allocations: 0 / 0.8243 GB, free: 11.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01103/0.3637, allocations: 5.711 MB / 0.8299 GB, free: 6.059 MB / 378.7 MB