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.004202/0.004201, allocations: 359 kB / 16.59 MB, free: 5.566 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.566/1.566, allocations: 165.8 MB / 183.1 MB, free: 5.473 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.909/3.909, allocations: 410.8 MB / 0.6001 GB, free: 15.14 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.001785/0.001785, allocations: 198.3 kB / 0.6668 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006322/0.0006325, allocations: 12 kB / 0.7429 GB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.427, allocations: 67.45 MB / 0.8088 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004661/0.4317, allocations: 3.555 MB / 0.8123 GB, free: 25.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.4363, allocations: 2.259 MB / 0.8145 GB, free: 22.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005925/0.437, allocations: 16 kB / 0.8145 GB, free: 22.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.4389, allocations: 445.9 kB / 0.8149 GB, free: 22.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007911/0.4397, allocations: 218.4 kB / 0.8151 GB, free: 22.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.44, allocations: 79.92 kB / 0.8152 GB, free: 22.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.4411, allocations: 0.7551 MB / 0.8159 GB, free: 21.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004748/0.4416, allocations: 241.5 kB / 0.8162 GB, free: 21.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.442, allocations: 231.1 kB / 0.8164 GB, free: 20.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004017/0.4424, allocations: 278.7 kB / 0.8166 GB, free: 20.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.754e-05/0.4425, allocations: 36 kB / 0.8167 GB, free: 20.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.4426, allocations: 36 kB / 0.8167 GB, free: 20.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.4428, allocations: 123.5 kB / 0.8168 GB, free: 20.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.443, allocations: 161.4 kB / 0.817 GB, free: 20.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008311/0.4438, allocations: 0.7906 MB / 0.8178 GB, free: 19.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4438, allocations: 3.984 kB / 0.8178 GB, free: 19.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4438, allocations: 0 / 0.8178 GB, free: 19.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4439, allocations: 0 / 0.8178 GB, free: 19.53 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.001792/0.4457, allocations: 0.8488 MB / 0.8186 GB, free: 18.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.4457, allocations: 12.03 kB / 0.8186 GB, free: 18.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.4459, allocations: 71.16 kB / 0.8187 GB, free: 18.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007511/0.4467, allocations: 436.8 kB / 0.8191 GB, free: 18.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.4467, allocations: 33 kB / 0.8191 GB, free: 18.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.4468, allocations: 55.94 kB / 0.8192 GB, free: 18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.448, allocations: 426.4 kB / 0.8196 GB, free: 17.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.448, allocations: 0 / 0.8196 GB, free: 17.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.4481, allocations: 24 kB / 0.8196 GB, free: 17.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.4481, allocations: 12 kB / 0.8196 GB, free: 17.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.4492, allocations: 375.8 kB / 0.82 GB, free: 17.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.4522, allocations: 1.543 MB / 0.8215 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.453, allocations: 347.7 kB / 0.8218 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.4538, allocations: 358.3 kB / 0.8221 GB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.4538, allocations: 4 kB / 0.8222 GB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.4539, allocations: 42.56 kB / 0.8222 GB, free: 14.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.308e-06/0.4539, allocations: 0 / 0.8222 GB, free: 14.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001459/0.4553, allocations: 0.5087 MB / 0.8227 GB, free: 14.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.4554, allocations: 55.41 kB / 0.8227 GB, free: 14.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007281/0.4561, allocations: 481.9 kB / 0.8232 GB, free: 13.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.4562, allocations: 37.7 kB / 0.8232 GB, free: 13.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.4564, allocations: 280.2 kB / 0.8235 GB, free: 13.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.4565, allocations: 145.9 kB / 0.8236 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.4566, allocations: 8 kB / 0.8237 GB, free: 13.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.4567, allocations: 358.8 kB / 0.824 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.4571, allocations: 124.7 kB / 0.8241 GB, free: 12.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.4575, allocations: 137.2 kB / 0.8242 GB, free: 12.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.4579, allocations: 145.8 kB / 0.8244 GB, free: 12.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.4579, allocations: 0 / 0.8244 GB, free: 12.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001012/0.4589, allocations: 408.5 kB / 0.8248 GB, free: 12.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.459, allocations: 4 kB / 0.8248 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.459, allocations: 0 / 0.8248 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.459, allocations: 4 kB / 0.8248 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.4599, allocations: 123.9 kB / 0.8249 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.46, allocations: 7.953 kB / 0.8249 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.4604, allocations: 59.52 kB / 0.825 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.4605, allocations: 11.98 kB / 0.825 GB, free: 11.89 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.0002932/0.4608, allocations: 190.9 kB / 0.8252 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.4609, allocations: 47.44 kB / 0.8252 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.461, allocations: 69.09 kB / 0.8253 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4611, allocations: 0 / 0.8253 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4611, allocations: 0 / 0.8253 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.4612, allocations: 144.3 kB / 0.8254 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.812e-05/0.4613, allocations: 8 kB / 0.8254 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.4618, allocations: 19.98 kB / 0.8254 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.4619, allocations: 19.97 kB / 0.8254 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001807/0.4637, allocations: 0.5443 MB / 0.826 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001447/0.4651, allocations: 0.7356 MB / 0.8267 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004088/0.4656, allocations: 180.2 kB / 0.8269 GB, free: 9.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005347/0.4661, allocations: 351 kB / 0.8272 GB, free: 9.551 MB / 378.7 MB Notification: Performance of Backend: time 5.41e-07/0.4661, allocations: 0 / 0.8272 GB, free: 9.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009938/0.4671, allocations: 286.1 kB / 0.8275 GB, free: 9.266 MB / 378.7 MB Notification: Performance of SimCode: time 0.002887/0.4701, allocations: 1.877 MB / 0.8293 GB, free: 7.336 MB / 378.7 MB Notification: Performance of Templates: time 0.01693/0.487, allocations: 6.099 MB / 0.8353 GB, free: 1.363 MB / 378.7 MB