Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.838/4.838, allocations: 0.5623 GB / 0.5776 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002555/0.002555, allocations: 358.9 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.113/4.113, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001901/0.001901, allocations: 176 kB / 1.226 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007113/0.0007115, allocations: 16 kB / 1.349 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7335/0.7342, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006231/0.7405, allocations: 3.583 MB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005092/0.7457, allocations: 2.261 MB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.7463, allocations: 9.062 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.7486, allocations: 446.6 kB / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009326/0.7496, allocations: 218.6 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.75, allocations: 87.91 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.7512, allocations: 0.7474 MB / 1.469 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000639/0.7519, allocations: 239.2 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.7524, allocations: 235 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004921/0.7529, allocations: 274.8 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.727e-05/0.753, allocations: 39.98 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.7532, allocations: 36 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.7533, allocations: 125 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.7535, allocations: 157.4 kB / 1.47 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.7546, allocations: 0.7906 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.7546, allocations: 0 / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7546, allocations: 0.5 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.7547, allocations: 0 / 1.47 GB, free: 275.1 MB / 0.8542 GB 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.002153/0.7568, allocations: 0.8467 MB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.7569, allocations: 8.031 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.7571, allocations: 76.34 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009402/0.7581, allocations: 440.7 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.7581, allocations: 37 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.7583, allocations: 48.78 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.7598, allocations: 423.7 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.7598, allocations: 7.984 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.018e-05/0.7599, allocations: 16.5 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.76, allocations: 16.62 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.7615, allocations: 369.8 kB / 1.473 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/0.7654, allocations: 1.549 MB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.7665, allocations: 339.5 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.7675, allocations: 360 kB / 1.475 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.583e-05/0.7676, allocations: 5.406 kB / 1.475 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.7677, allocations: 43.61 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=42): time 4.559e-06/0.7677, allocations: 0.7656 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.001947/0.7696, allocations: 0.5022 MB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.7697, allocations: 55.41 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009819/0.7707, allocations: 485.9 kB / 1.476 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.7707, allocations: 34.2 kB / 1.476 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.771, allocations: 277.5 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.7712, allocations: 141.9 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.7713, allocations: 7.938 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.7714, allocations: 364.6 kB / 1.477 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.772, allocations: 125.3 kB / 1.477 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/0.7725, allocations: 135 kB / 1.477 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.7731, allocations: 143.4 kB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.7731, allocations: 2.156 kB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001403/0.7746, allocations: 407 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.7746, allocations: 4 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.7746, allocations: 1.281 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.7747, allocations: 4 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.7759, allocations: 130.6 kB / 1.478 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.7759, allocations: 3.984 kB / 1.478 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.7766, allocations: 53.56 kB / 1.478 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/0.7766, allocations: 12 kB / 1.478 GB, free: 267.6 MB / 0.8542 GB 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.0004245/0.7771, allocations: 194.8 kB / 1.478 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.7772, allocations: 55.3 kB / 1.478 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.7774, allocations: 61.11 kB / 1.478 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.7775, allocations: 4.953 kB / 1.478 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.7775, allocations: 0 / 1.478 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.7777, allocations: 141.3 kB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.7778, allocations: 8 kB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.7785, allocations: 25.67 kB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.7786, allocations: 26.41 kB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002473/0.7811, allocations: 0.5266 MB / 1.479 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002107/0.7832, allocations: 0.7493 MB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005935/0.7839, allocations: 164.7 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000771/0.7847, allocations: 351.7 kB / 1.48 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of Backend: time 7.71e-07/0.7847, allocations: 0 / 1.48 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.7862, allocations: 309.4 kB / 1.48 GB, free: 265 MB / 0.8542 GB Notification: Performance of SimCode: time 0.003807/0.79, allocations: 1.862 MB / 1.482 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.02135/0.8114, allocations: 6.1 MB / 1.488 GB, free: 257.4 MB / 0.8542 GB