Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.Examples.UTube.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.Examples.UTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.Examples.UTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.875/4.875, allocations: 0.5623 GB / 0.5776 GB, free: 3.336 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.003997/0.003997, allocations: 358.2 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.272/4.272, allocations: 410.7 MB / 1.113 GB, free: 5.996 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.001842/0.001842, allocations: 170.6 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005117, allocations: 15.98 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7547/0.7553, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.Examples.UTube): time 0.07925/0.8346, allocations: 48.99 MB / 1.509 GB, free: 235.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0314/0.866, allocations: 13.29 MB / 1.522 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003426/0.8695, allocations: 64.22 kB / 1.522 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003771/0.8734, allocations: 0.7594 MB / 1.523 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.8835, allocations: 2.442 MB / 1.525 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.007151/0.8907, allocations: 1.609 MB / 1.527 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.07143/0.9621, allocations: 53.87 MB / 1.58 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03199/0.9942, allocations: 15.07 MB / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02784/1.022, allocations: 11.84 MB / 1.606 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0304/1.053, allocations: 13.26 MB / 1.619 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.006568/1.059, allocations: 0.9453 MB / 1.62 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/1.074, allocations: 2.087 MB / 1.622 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0106/1.085, allocations: 4.628 MB / 1.626 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.01084/1.096, allocations: 4.352 MB / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0494/1.145, allocations: 37.97 MB / 1.668 GB, free: 73.05 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/1.145, allocations: 3.938 kB / 1.668 GB, free: 73.05 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.136e-06/1.145, allocations: 4 kB / 1.668 GB, free: 73.04 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001166/1.147, allocations: 0 / 1.668 GB, free: 73.04 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: 2751 * Number of variables: 2751 Notification: Performance of Generate backend data structure: time 0.09869/1.245, allocations: 22.06 MB / 1.689 GB, free: 50.82 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.245, allocations: 15.62 kB / 1.689 GB, free: 50.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/1.259, allocations: 2.034 MB / 1.691 GB, free: 48.75 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07287/1.332, allocations: 23.61 MB / 1.714 GB, free: 25.05 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001539/1.334, allocations: 0.9624 MB / 1.715 GB, free: 24.09 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008125/1.342, allocations: 1.378 MB / 1.716 GB, free: 22.71 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05962/1.402, allocations: 17.76 MB / 1.734 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008193/1.403, allocations: 43.67 kB / 1.734 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004392/1.407, allocations: 444 kB / 1.734 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003509/1.407, allocations: 315.9 kB / 1.735 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392/2.799, allocations: 15.97 MB / 1.75 GB, free: 216.4 MB / 0.8543 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.2606/3.06, allocations: 97.73 MB / 1.846 GB, free: 132.2 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06393/3.124, allocations: 18.2 MB / 1.863 GB, free: 114.1 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01929/3.143, allocations: 7.234 MB / 1.87 GB, free: 106.8 MB / 0.8543 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/3.145, allocations: 0.5685 MB / 1.871 GB, free: 106.2 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01996/3.165, allocations: 6.868 MB / 1.878 GB, free: 99.27 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=784): time 1.642e-05/3.165, allocations: 0 / 1.878 GB, free: 99.27 MB / 0.8543 GB Notification: Performance of matching and sorting (n=784): time 0.07322/3.238, allocations: 22.74 MB / 1.9 GB, free: 75.81 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/3.238, allocations: 236.5 kB / 1.9 GB, free: 75.56 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04671/3.285, allocations: 16.88 MB / 1.917 GB, free: 58.88 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.00471/3.29, allocations: 317.7 kB / 1.917 GB, free: 58.56 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.01403/3.304, allocations: 6.834 MB / 1.924 GB, free: 51.77 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.006892/3.311, allocations: 2.853 MB / 1.926 GB, free: 48.95 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004494/3.316, allocations: 272 kB / 1.927 GB, free: 48.68 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.001799/3.317, allocations: 0.9006 MB / 1.928 GB, free: 47.77 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03114/3.349, allocations: 11 MB / 1.938 GB, free: 36.77 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03543/3.384, allocations: 14.16 MB / 1.952 GB, free: 21.55 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03767/3.422, allocations: 12.83 MB / 1.965 GB, free: 8.707 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/3.422, allocations: 16 kB / 1.965 GB, free: 8.691 MB / 0.8543 GB Notification: Performance of matching and sorting (n=1795) (initialization): time 0.1032/3.525, allocations: 28.67 MB / 1.993 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001957/3.527, allocations: 1.915 MB / 1.995 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003863/3.528, allocations: 79.98 kB / 1.995 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007163/3.535, allocations: 1.836 MB / 1.996 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03537/3.57, allocations: 3.678 MB / 2 GB, free: 3.473 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07067/3.641, allocations: 52.9 MB / 2.052 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06426/3.705, allocations: 5.213 MB / 2.057 GB, free: 5.363 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005103/3.71, allocations: 0.5466 MB / 2.057 GB, free: 4.816 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/3.71, allocations: 5.094 kB / 2.057 GB, free: 4.812 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09577/3.806, allocations: 27.4 MB / 2.084 GB, free: 9.305 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000361/3.807, allocations: 79.98 kB / 2.084 GB, free: 9.227 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006437/3.813, allocations: 1.825 MB / 2.086 GB, free: 7.309 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0354/3.848, allocations: 3.686 MB / 2.089 GB, free: 3.617 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484/5.332, allocations: 53.49 MB / 2.142 GB, free: 291.3 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06296/5.395, allocations: 4.973 MB / 2.147 GB, free: 291.3 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005181/5.401, allocations: 0.5465 MB / 2.147 GB, free: 291.3 MB / 0.995 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 261 * Number of states: 0 () * Number of discrete variables: 95 ($PRE.borHol.borHol[1].TBouCon.iSam,borHol.borHol[1].TBouCon.iSam,$PRE.borHol.borHol[1].TBouCon.UOld,borHol.borHol[1].TBouCon.UOld,$PRE.borHol.borHol[1].TBouCon.QAve_flow,borHol.borHol[1].TBouCon.QAve_flow,$PRE.borHol.borHol[2].TBouCon.iSam,borHol.borHol[2].TBouCon.iSam,$PRE.borHol.borHol[2].TBouCon.UOld,borHol.borHol[2].TBouCon.UOld,$PRE.borHol.borHol[2].TBouCon.QAve_flow,borHol.borHol[2].TBouCon.QAve_flow,$PRE.borHol.borHol[3].TBouCon.iSam,borHol.borHol[3].TBouCon.iSam,$PRE.borHol.borHol[3].TBouCon.UOld,borHol.borHol[3].TBouCon.UOld,$PRE.borHol.borHol[3].TBouCon.QAve_flow,borHol.borHol[3].TBouCon.QAve_flow,$PRE.borHol.borHol[4].TBouCon.iSam,borHol.borHol[4].TBouCon.iSam,$PRE.borHol.borHol[4].TBouCon.UOld,borHol.borHol[4].TBouCon.UOld,$PRE.borHol.borHol[4].TBouCon.QAve_flow,borHol.borHol[4].TBouCon.QAve_flow,$PRE.borHol.borHol[5].TBouCon.iSam,borHol.borHol[5].TBouCon.iSam,$PRE.borHol.borHol[5].TBouCon.UOld,borHol.borHol[5].TBouCon.UOld,$PRE.borHol.borHol[5].TBouCon.QAve_flow,borHol.borHol[5].TBouCon.QAve_flow,$PRE.borHol.borHol[6].TBouCon.iSam,borHol.borHol[6].TBouCon.iSam,$PRE.borHol.borHol[6].TBouCon.UOld,borHol.borHol[6].TBouCon.UOld,$PRE.borHol.borHol[6].TBouCon.QAve_flow,borHol.borHol[6].TBouCon.QAve_flow,$PRE.borHol.borHol[7].TBouCon.iSam,borHol.borHol[7].TBouCon.iSam,$PRE.borHol.borHol[7].TBouCon.UOld,borHol.borHol[7].TBouCon.UOld,$PRE.borHol.borHol[7].TBouCon.QAve_flow,borHol.borHol[7].TBouCon.QAve_flow,$PRE.borHol.borHol[8].TBouCon.iSam,borHol.borHol[8].TBouCon.iSam,$PRE.borHol.borHol[8].TBouCon.UOld,borHol.borHol[8].TBouCon.UOld,$PRE.borHol.borHol[8].TBouCon.QAve_flow,borHol.borHol[8].TBouCon.QAve_flow,$PRE.borHol.borHol[9].TBouCon.iSam,borHol.borHol[9].TBouCon.iSam,$PRE.borHol.borHol[9].TBouCon.UOld,borHol.borHol[9].TBouCon.UOld,$PRE.borHol.borHol[9].TBouCon.QAve_flow,borHol.borHol[9].TBouCon.QAve_flow,$PRE.borHol.borHol[10].TBouCon.iSam,borHol.borHol[10].TBouCon.iSam,$PRE.borHol.borHol[10].TBouCon.UOld,borHol.borHol[10].TBouCon.UOld,$PRE.borHol.borHol[10].TBouCon.QAve_flow,borHol.borHol[10].TBouCon.QAve_flow,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.borHol.borHol[1].TBouCon.port.T,borHol.borHol[1].TBouCon.port.T,$PRE.borHol.borHol[2].TBouCon.port.T,borHol.borHol[2].TBouCon.port.T,$PRE.borHol.borHol[3].TBouCon.port.T,borHol.borHol[3].TBouCon.port.T,$PRE.borHol.borHol[4].TBouCon.port.T,borHol.borHol[4].TBouCon.port.T,$PRE.borHol.borHol[5].TBouCon.port.T,borHol.borHol[5].TBouCon.port.T,$PRE.borHol.borHol[6].TBouCon.port.T,borHol.borHol[6].TBouCon.port.T,$PRE.borHol.borHol[7].TBouCon.port.T,borHol.borHol[7].TBouCon.port.T,$PRE.borHol.borHol[8].TBouCon.port.T,borHol.borHol[8].TBouCon.port.T,$PRE.borHol.borHol[9].TBouCon.port.T,borHol.borHol[9].TBouCon.port.T,$PRE.borHol.borHol[10].TBouCon.port.T,borHol.borHol[10].TBouCon.port.T,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1654): * Single equations (assignments): 1613 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 30 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 30 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02261/5.423, allocations: 7.127 MB / 2.154 GB, free: 289.3 MB / 0.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006474/5.43, allocations: 1.378 MB / 2.155 GB, free: 289.3 MB / 0.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04626/5.476, allocations: 14.73 MB / 2.17 GB, free: 283.7 MB / 0.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0385/5.515, allocations: 12.45 MB / 2.182 GB, free: 279.1 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.586e-05/5.515, allocations: 3.781 kB / 2.182 GB, free: 279.1 MB / 0.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01372/5.528, allocations: 3.775 MB / 2.186 GB, free: 277.6 MB / 0.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006503/5.535, allocations: 359.7 kB / 2.186 GB, free: 277.5 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03316/5.568, allocations: 2.032 MB / 2.188 GB, free: 277.3 MB / 0.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002408/5.571, allocations: 0.5232 MB / 2.188 GB, free: 277.2 MB / 0.995 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.08234/5.653, allocations: 18.56 MB / 2.207 GB, free: 265.4 MB / 0.995 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06668/5.72, allocations: 22.55 MB / 2.229 GB, free: 242.7 MB / 0.995 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01459/5.734, allocations: 6.6 MB / 2.235 GB, free: 236.1 MB / 0.995 GB Notification: Performance of sorting global known variables: time 0.03113/5.766, allocations: 11.71 MB / 2.247 GB, free: 224.4 MB / 0.995 GB Notification: Performance of Backend: time 7.62e-07/5.766, allocations: 0 / 2.247 GB, free: 224.4 MB / 0.995 GB Notification: Performance of simCode: created initialization part: time 0.1267/5.892, allocations: 37.68 MB / 2.283 GB, free: 186.2 MB / 0.995 GB Notification: Performance of SimCode: time 0.1576/6.05, allocations: 54.45 MB / 2.336 GB, free: 132.2 MB / 0.995 GB Notification: Performance of Templates: time 1.775/7.825, allocations: 459.1 MB / 2.785 GB, free: 77.97 MB / 1.026 GB