Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.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.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.598/4.598, allocations: 0.5623 GB / 0.577 GB, free: 3.344 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.002354/0.002353, allocations: 358.2 kB / 0.644 GB, free: 185.7 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 3.799/3.799, allocations: 410.7 MB / 1.112 GB, free: 5.973 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.001787/0.001786, allocations: 187.6 kB / 1.225 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004839, allocations: 12 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5657/0.5662, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.0412/0.6074, allocations: 45.33 MB / 1.505 GB, free: 239 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0173/0.6248, allocations: 12.79 MB / 1.518 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.6271, allocations: 61.62 kB / 1.518 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.6295, allocations: 0.7026 MB / 1.518 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007114/0.6366, allocations: 2.316 MB / 1.521 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005433/0.6421, allocations: 1.619 MB / 1.522 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005615/0.6477, allocations: 5.346 MB / 1.527 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.6494, allocations: 1.22 MB / 1.529 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.6517, allocations: 1.392 MB / 1.53 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.6534, allocations: 1.324 MB / 1.531 GB, free: 212.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.6536, allocations: 88 kB / 1.531 GB, free: 212.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.6565, allocations: 1.205 MB / 1.532 GB, free: 211.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004624/0.657, allocations: 453.9 kB / 1.533 GB, free: 210.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.6576, allocations: 436.8 kB / 1.533 GB, free: 210.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0032/0.6608, allocations: 3.187 MB / 1.536 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6608, allocations: 0 / 1.536 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6608, allocations: 0 / 1.536 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.413e-05/0.6609, allocations: 0 / 1.536 GB, free: 207.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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.004919/0.6658, allocations: 2.174 MB / 1.539 GB, free: 204.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.6659, allocations: 11.62 kB / 1.539 GB, free: 204.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006253/0.6665, allocations: 213.6 kB / 1.539 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.6698, allocations: 1.676 MB / 1.54 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.6699, allocations: 110.1 kB / 1.54 GB, free: 202.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002637/0.6702, allocations: 141 kB / 1.541 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.6725, allocations: 1.232 MB / 1.542 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/0.6726, allocations: 7.938 kB / 1.542 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.6727, allocations: 44 kB / 1.542 GB, free: 201.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-05/0.6728, allocations: 28 kB / 1.542 GB, free: 201.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.6748, allocations: 0.9373 MB / 1.543 GB, free: 200.3 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.6866, allocations: 7.248 MB / 1.55 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.6897, allocations: 1.1 MB / 1.551 GB, free: 191.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008197/0.6906, allocations: 457.6 kB / 1.551 GB, free: 191.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005551/0.6912, allocations: 0.6058 MB / 1.552 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008022/0.692, allocations: 448.1 kB / 1.552 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=78): time 4.078e-06/0.692, allocations: 0 / 1.552 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82): time 0.006623/0.6986, allocations: 2.934 MB / 1.555 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.6987, allocations: 68.02 kB / 1.555 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.7007, allocations: 1.377 MB / 1.557 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.7008, allocations: 57.69 kB / 1.557 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005697/0.7014, allocations: 0.6769 MB / 1.557 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.7017, allocations: 291.8 kB / 1.558 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/0.7018, allocations: 32 kB / 1.558 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.7019, allocations: 353.9 kB / 1.558 GB, free: 184 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.7031, allocations: 0.5779 MB / 1.559 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.7045, allocations: 0.8896 MB / 1.559 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.7059, allocations: 0.7013 MB / 1.56 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.382e-06/0.706, allocations: 4 kB / 1.56 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003728/0.7097, allocations: 1.836 MB / 1.562 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.7098, allocations: 268.9 kB / 1.562 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.7099, allocations: 8 kB / 1.562 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008584/0.7107, allocations: 257.2 kB / 1.562 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.7125, allocations: 287.6 kB / 1.563 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.7139, allocations: 1.591 MB / 1.564 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/0.7177, allocations: 183.6 kB / 1.564 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.7179, allocations: 55.98 kB / 1.565 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.7179, allocations: 8 kB / 1.565 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003609/0.7215, allocations: 1.677 MB / 1.566 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.7216, allocations: 8 kB / 1.566 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008295/0.7224, allocations: 261.2 kB / 1.566 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.7242, allocations: 271.6 kB / 1.567 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.7254, allocations: 0.9915 MB / 1.568 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/0.7291, allocations: 179.5 kB / 1.568 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.7293, allocations: 51.98 kB / 1.568 GB, free: 173.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.seg.TBouCon.iSam,seg.TBouCon.iSam,$PRE.seg.TBouCon.UOld,seg.TBouCon.UOld,$PRE.seg.TBouCon.QAve_flow,seg.TBouCon.QAve_flow,$whenCondition1,$PRE.seg.TBouCon.port.T,seg.TBouCon.port.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009102/0.7302, allocations: 0.4968 MB / 1.568 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.7305, allocations: 142.2 kB / 1.568 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.7328, allocations: 1.066 MB / 1.57 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.7328, allocations: 8 kB / 1.57 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.7328, allocations: 4 kB / 1.57 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001785/0.7346, allocations: 0.9528 MB / 1.57 GB, free: 170.9 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004651/0.7393, allocations: 2.863 MB / 1.573 GB, free: 168 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.117e-06/0.7393, allocations: 0 / 1.573 GB, free: 168 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/0.7403, allocations: 151.9 kB / 1.573 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003868/0.7407, allocations: 123.2 kB / 1.574 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-05/0.7408, allocations: 23.98 kB / 1.574 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00382/0.7447, allocations: 5.255 MB / 1.579 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.497e-06/0.7447, allocations: 4.031 kB / 1.579 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/0.7477, allocations: 1.601 MB / 1.58 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007721/0.7485, allocations: 371 kB / 1.581 GB, free: 160 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.7488, allocations: 27.98 kB / 1.581 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/0.7508, allocations: 95.72 kB / 1.581 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.751, allocations: 64.53 kB / 1.581 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/0.7511, allocations: 35.97 kB / 1.581 GB, free: 159.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001499/0.7526, allocations: 0.9115 MB / 1.582 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.52e-07/0.7526, allocations: 0 / 1.582 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003335/0.7559, allocations: 1.078 MB / 1.583 GB, free: 157.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (seg.pipFil.vol1.dynBal.U,seg.pipFil.vol2.dynBal.U,seg.pipFil.capFil1.T,seg.pipFil.capFil2.T,seg.soi.T[1],seg.soi.T[2],seg.soi.T[3],seg.soi.T[4],seg.soi.T[5],seg.soi.T[6],seg.soi.T[7],seg.soi.T[8],seg.soi.T[9],seg.TBouCon.U) * Number of discrete variables: 5 ($whenCondition1,seg.TBouCon.QAve_flow,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.iSam) * Number of discrete states: 2 (seg.TBouCon.iSam,seg.TBouCon.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/0.7571, allocations: 0.5087 MB / 1.583 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004511/0.7616, allocations: 2.179 MB / 1.585 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.494e-06/0.7616, allocations: 0.625 kB / 1.585 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.7629, allocations: 0.8003 MB / 1.586 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/0.7675, allocations: 0.7657 MB / 1.587 GB, free: 153.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/0.7738, allocations: 4.097 MB / 1.591 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000874/0.7747, allocations: 1.309 MB / 1.592 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002391/0.7771, allocations: 450.2 kB / 1.593 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/0.7776, allocations: 127.4 kB / 1.593 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.805e-06/0.7776, allocations: 0 / 1.593 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.07005/0.8476, allocations: 36.69 MB / 1.629 GB, free: 111.4 MB / 0.8542 GB