Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics.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.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003899/0.003903, allocations: 358.8 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.854/1.854, allocations: 165.8 MB / 183.1 MB, free: 5.398 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 4.172/4.172, allocations: 410.7 MB / 0.6001 GB, free: 15.29 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.001818/0.001817, allocations: 187.3 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000737/0.0007373, allocations: 12 kB / 0.7429 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4469, 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.Examples.BoreholeDynamics): time 0.841/1.288, allocations: 269.9 MB / 1.072 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.1537/1.442, allocations: 64.95 MB / 1.136 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01805/1.46, allocations: 310.1 kB / 1.136 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.02086/1.481, allocations: 3.921 MB / 1.14 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.05515/1.536, allocations: 12.25 MB / 1.152 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.03866/1.575, allocations: 8.291 MB / 1.16 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.8879/2.462, allocations: 232.1 MB / 1.387 GB, free: 12.61 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 1.523/3.985, allocations: 67.18 MB / 1.452 GB, free: 14.41 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1603/4.146, allocations: 50.58 MB / 1.502 GB, free: 14.39 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1373/4.283, allocations: 53.31 MB / 1.554 GB, free: 10.98 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 0.02921/4.312, allocations: 3.706 MB / 1.557 GB, free: 10.98 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07254/4.385, allocations: 7.842 MB / 1.565 GB, free: 10.63 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 0.04155/4.426, allocations: 15.08 MB / 1.58 GB, free: 4.719 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.05263/4.479, allocations: 18.81 MB / 1.598 GB, free: 2.066 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 1.77/6.249, allocations: 152.1 MB / 1.747 GB, free: 33.24 MB / 0.8388 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/6.249, allocations: 2.344 kB / 1.747 GB, free: 33.24 MB / 0.8388 GB Notification: Performance of FrontEnd: time 3.115e-06/6.249, allocations: 0 / 1.747 GB, free: 33.24 MB / 0.8388 GB Notification: Performance of Transformations before backend: time 0.004981/6.254, allocations: 0 / 1.747 GB, free: 33.24 MB / 0.8388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12889 * Number of variables: 12889 Notification: Performance of Generate backend data structure: time 0.2668/6.521, allocations: 75.93 MB / 1.821 GB, free: 3.543 MB / 0.8388 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/6.521, allocations: 10.75 kB / 1.821 GB, free: 3.539 MB / 0.8388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0557/6.577, allocations: 9.162 MB / 1.83 GB, free: 15.16 MB / 0.8544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2915/6.869, allocations: 94.74 MB / 1.922 GB, free: 1.145 MB / 0.8544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006533/6.875, allocations: 3.81 MB / 1.926 GB, free: 1.043 MB / 0.8544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02488/6.9, allocations: 5.092 MB / 1.931 GB, free: 484 kB / 0.8544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2955/7.196, allocations: 76.85 MB / 2.006 GB, free: 3.461 MB / 0.9325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003454/7.199, allocations: 147.1 kB / 2.006 GB, free: 3.367 MB / 0.9325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02151/7.221, allocations: 2.095 MB / 2.008 GB, free: 1.289 MB / 0.9325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002532/7.223, allocations: 1.461 MB / 2.01 GB, free: 15.85 MB / 0.9482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2296/7.453, allocations: 65.63 MB / 2.074 GB, free: 14.62 MB / 1.011 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 2.142/9.594, allocations: 373.4 MB / 2.438 GB, free: 178.8 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1165/9.711, allocations: 40.62 MB / 2.478 GB, free: 138.7 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1082/9.819, allocations: 37.27 MB / 2.514 GB, free: 101.6 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008327/9.828, allocations: 5.246 MB / 2.52 GB, free: 95.38 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00078/9.828, allocations: 406.1 kB / 2.52 GB, free: 94.97 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05236/9.881, allocations: 5.314 MB / 2.525 GB, free: 90.41 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2661): time 7.677e-05/9.881, allocations: 0 / 2.525 GB, free: 90.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=2661): time 0.2135/10.09, allocations: 68.19 MB / 2.592 GB, free: 20.76 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003737/10.09, allocations: 0.8303 MB / 2.593 GB, free: 19.79 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.585/11.68, allocations: 80.03 MB / 2.671 GB, free: 425.3 MB / 1.043 GB Notification: Performance of collectPreVariables (initialization): time 0.009435/11.69, allocations: 0.622 MB / 2.671 GB, free: 424.8 MB / 1.043 GB Notification: Performance of collectInitialEqns (initialization): time 0.06258/11.75, allocations: 35.77 MB / 2.706 GB, free: 400.7 MB / 1.043 GB Notification: Performance of collectInitialBindings (initialization): time 0.04241/11.79, allocations: 9.46 MB / 2.716 GB, free: 393.4 MB / 1.043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03021/11.83, allocations: 0.797 MB / 2.716 GB, free: 392.8 MB / 1.043 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/11.83, allocations: 301.1 kB / 2.717 GB, free: 392.5 MB / 1.043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.09191/11.92, allocations: 21.24 MB / 2.737 GB, free: 384.9 MB / 1.043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1059/12.03, allocations: 32.95 MB / 2.769 GB, free: 356.4 MB / 1.043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07381/12.1, allocations: 27.52 MB / 2.796 GB, free: 330.6 MB / 1.043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003205/12.1, allocations: 71.78 kB / 2.796 GB, free: 330.6 MB / 1.043 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.2108/12.32, allocations: 68.35 MB / 2.863 GB, free: 261.9 MB / 1.043 GB Notification: Performance of prepare postOptimizeDAE: time 0.004852/12.32, allocations: 7.584 MB / 2.871 GB, free: 251 MB / 1.043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001951/12.32, allocations: 360 kB / 2.871 GB, free: 250.6 MB / 1.043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07624/12.4, allocations: 43.67 MB / 2.914 GB, free: 206.6 MB / 1.043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0585/12.46, allocations: 7.781 MB / 2.921 GB, free: 198.8 MB / 1.043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9605/13.42, allocations: 123.7 MB / 3.042 GB, free: 359.7 MB / 1.043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1447/13.56, allocations: 6.167 MB / 3.048 GB, free: 359.7 MB / 1.043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01437/13.58, allocations: 1.612 MB / 3.05 GB, free: 359.7 MB / 1.043 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/13.58, allocations: 5.406 kB / 3.05 GB, free: 359.7 MB / 1.043 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.28/13.86, allocations: 62.53 MB / 3.111 GB, free: 336.4 MB / 1.043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002999/13.86, allocations: 363.1 kB / 3.111 GB, free: 336.4 MB / 1.043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1209/13.98, allocations: 41.28 MB / 3.151 GB, free: 307.8 MB / 1.043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05694/14.04, allocations: 7.786 MB / 3.159 GB, free: 301.1 MB / 1.043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1971/14.24, allocations: 127.3 MB / 3.283 GB, free: 171 MB / 1.043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09738/14.33, allocations: 6.11 MB / 3.289 GB, free: 165.2 MB / 1.043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01119/14.34, allocations: 1.613 MB / 3.291 GB, free: 163.6 MB / 1.043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1088 * 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 (4218): * Single equations (assignments): 4114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 64 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 60 {(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%) 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%) 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} * Non-linear torn systems: 4 {32 530,1 4,1 4,12 228} Notification: Performance of prepare postOptimizeDAE: time 0.08536/14.43, allocations: 29.54 MB / 3.32 GB, free: 134.2 MB / 1.043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02894/14.46, allocations: 6.325 MB / 3.326 GB, free: 129.6 MB / 1.043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1787/14.64, allocations: 51.87 MB / 3.376 GB, free: 77.62 MB / 1.043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9182/15.56, allocations: 40.11 MB / 3.416 GB, free: 357.8 MB / 1.043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002252/15.56, allocations: 2.156 kB / 3.416 GB, free: 357.8 MB / 1.043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05923/15.61, allocations: 13.59 MB / 3.429 GB, free: 356.6 MB / 1.043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02995/15.64, allocations: 0.5286 MB / 3.429 GB, free: 356.6 MB / 1.043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1086/15.75, allocations: 3.385 MB / 3.433 GB, free: 356.4 MB / 1.043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01102/15.76, allocations: 1.556 MB / 3.434 GB, free: 356.4 MB / 1.043 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2586/16.02, allocations: 56.53 MB / 3.489 GB, free: 341.5 MB / 1.043 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1822/16.21, allocations: 63.7 MB / 3.552 GB, free: 310.6 MB / 1.043 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0442/16.25, allocations: 18.46 MB / 3.57 GB, free: 292.1 MB / 1.043 GB Notification: Performance of sorting global known variables: time 0.171/16.42, allocations: 56.79 MB / 3.625 GB, free: 235.7 MB / 1.043 GB Notification: Performance of Backend: time 1.223e-06/16.42, allocations: 0 / 3.625 GB, free: 235.7 MB / 1.043 GB Notification: Performance of simCode: created initialization part: time 0.2732/16.69, allocations: 85.21 MB / 3.708 GB, free: 150 MB / 1.043 GB Notification: Performance of SimCode: time 1.672/18.37, allocations: 210.5 MB / 3.914 GB, free: 263.4 MB / 1.043 GB Notification: Performance of Templates: time 7.281/25.65, allocations: 1.433 GB / 5.347 GB, free: 265.6 MB / 1.043 GB