Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.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.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002546/0.002546, allocations: 359.9 kB / 16.59 MB, free: 5.562 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.547/1.547, allocations: 165.8 MB / 183.1 MB, free: 5.391 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.949/3.949, allocations: 410.8 MB / 0.6001 GB, free: 15.06 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.001786/0.001786, allocations: 193.9 kB / 0.6668 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006784/0.0006787, allocations: 12 kB / 0.7429 GB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4553, allocations: 67.45 MB / 0.8088 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.1673/0.6227, allocations: 78.22 MB / 0.8852 GB, free: 14.34 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.06029/0.683, allocations: 23.61 MB / 0.9082 GB, free: 6.68 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0049/0.688, allocations: 95.44 kB / 0.9083 GB, free: 6.586 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007208/0.6952, allocations: 1.456 MB / 0.9097 GB, free: 5.121 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01668/0.712, allocations: 3.954 MB / 0.9136 GB, free: 1.148 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01543/0.7274, allocations: 3.496 MB / 0.917 GB, free: 13.71 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.5564/1.284, allocations: 78.36 MB / 0.9935 GB, free: 3.812 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07797/1.362, allocations: 22.71 MB / 1.016 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06729/1.429, allocations: 16.64 MB / 1.032 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08917/1.519, allocations: 17.78 MB / 1.049 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.01223/1.531, allocations: 1.242 MB / 1.051 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02929/1.56, allocations: 3.341 MB / 1.054 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.01463/1.575, allocations: 4.989 MB / 1.059 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.01873/1.594, allocations: 6.305 MB / 1.065 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.1049/1.699, allocations: 52.22 MB / 1.116 GB, free: 2.281 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.749e-05/1.699, allocations: 8 kB / 1.116 GB, free: 2.273 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.007e-06/1.699, allocations: 0 / 1.116 GB, free: 2.273 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.001707/1.7, allocations: 0 / 1.116 GB, free: 2.273 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 0.1065/1.807, allocations: 25.46 MB / 1.141 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/1.807, allocations: 8.031 kB / 1.141 GB, free: 8.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01885/1.826, allocations: 3.03 MB / 1.144 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.024/2.85, allocations: 31.18 MB / 1.174 GB, free: 199.7 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002963/2.853, allocations: 1.306 MB / 1.175 GB, free: 199.1 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01042/2.864, allocations: 1.774 MB / 1.177 GB, free: 198.6 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08772/2.952, allocations: 26.52 MB / 1.203 GB, free: 186.3 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001125/2.953, allocations: 57.39 kB / 1.203 GB, free: 186.3 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006123/2.959, allocations: 0.7083 MB / 1.204 GB, free: 185.7 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004255/2.959, allocations: 420.8 kB / 1.204 GB, free: 185.7 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07322/3.033, allocations: 23.57 MB / 1.227 GB, free: 162.7 MB / 0.6199 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.2266/3.259, allocations: 103.4 MB / 1.328 GB, free: 57.6 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03411/3.294, allocations: 13.42 MB / 1.341 GB, free: 44.14 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0228/3.316, allocations: 9.965 MB / 1.351 GB, free: 34.12 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00393/3.32, allocations: 2.642 MB / 1.354 GB, free: 30.98 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/3.321, allocations: 155.3 kB / 1.354 GB, free: 30.82 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01452/3.335, allocations: 1.067 MB / 1.355 GB, free: 29.74 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=1034): time 3.621e-05/3.335, allocations: 2.25 kB / 1.355 GB, free: 29.74 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1034): time 0.08157/3.417, allocations: 27.15 MB / 1.381 GB, free: 1.594 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/3.417, allocations: 155.5 kB / 1.381 GB, free: 1.426 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07931/3.496, allocations: 24.97 MB / 1.406 GB, free: 8.586 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.003185/3.5, allocations: 245.7 kB / 1.406 GB, free: 8.34 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.9969/4.497, allocations: 10.92 MB / 1.417 GB, free: 214.2 MB / 0.6513 GB Notification: Performance of collectInitialBindings (initialization): time 0.007324/4.504, allocations: 3.678 MB / 1.42 GB, free: 212.6 MB / 0.6513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003626/4.508, allocations: 306.8 kB / 1.421 GB, free: 212.6 MB / 0.6513 GB Notification: Performance of setup shared object (initialization): time 0.002064/4.51, allocations: 0.9436 MB / 1.421 GB, free: 212.2 MB / 0.6513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02538/4.535, allocations: 7.984 MB / 1.429 GB, free: 211.3 MB / 0.6513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03106/4.566, allocations: 11.88 MB / 1.441 GB, free: 204.5 MB / 0.6513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02798/4.594, allocations: 10.27 MB / 1.451 GB, free: 200.3 MB / 0.6513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/4.595, allocations: 22.03 kB / 1.451 GB, free: 200.3 MB / 0.6513 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.08212/4.677, allocations: 24.06 MB / 1.474 GB, free: 190.8 MB / 0.6513 GB Notification: Performance of prepare postOptimizeDAE: time 0.002148/4.679, allocations: 2.578 MB / 1.477 GB, free: 187.4 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006099/4.68, allocations: 115.4 kB / 1.477 GB, free: 187.4 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00983/4.689, allocations: 2.126 MB / 1.479 GB, free: 186.3 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03434/4.724, allocations: 3.531 MB / 1.483 GB, free: 183 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06739/4.791, allocations: 66.64 MB / 1.548 GB, free: 111.1 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03585/4.827, allocations: 2.233 MB / 1.55 GB, free: 108.8 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004313/4.832, allocations: 0.5976 MB / 1.55 GB, free: 108.2 MB / 0.6513 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/4.832, allocations: 4 kB / 1.55 GB, free: 108.2 MB / 0.6513 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06587/4.897, allocations: 22.16 MB / 1.572 GB, free: 85.86 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005458/4.898, allocations: 108 kB / 1.572 GB, free: 85.76 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006318/4.904, allocations: 2.037 MB / 1.574 GB, free: 83.59 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03002/4.934, allocations: 3.53 MB / 1.578 GB, free: 80.06 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08487/5.019, allocations: 68.25 MB / 1.644 GB, free: 6.336 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04861/5.068, allocations: 2.205 MB / 1.646 GB, free: 4.125 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005233/5.073, allocations: 0.5937 MB / 1.647 GB, free: 3.531 MB / 0.6513 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (1820): * Single equations (assignments): 1769 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(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: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.03406/5.107, allocations: 9.916 MB / 1.657 GB, free: 9.598 MB / 0.6669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009866/5.117, allocations: 2.045 MB / 1.659 GB, free: 7.527 MB / 0.6669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.565/5.682, allocations: 17.94 MB / 1.676 GB, free: 184.7 MB / 0.6669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04598/5.728, allocations: 14.41 MB / 1.69 GB, free: 181.3 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.761e-05/5.729, allocations: 3.938 kB / 1.69 GB, free: 181.3 MB / 0.6669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01771/5.746, allocations: 4.668 MB / 1.695 GB, free: 179.7 MB / 0.6669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009414/5.756, allocations: 241.5 kB / 1.695 GB, free: 179.6 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02474/5.781, allocations: 1.145 MB / 1.696 GB, free: 179.4 MB / 0.6669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003002/5.784, allocations: 0.6794 MB / 1.697 GB, free: 179.4 MB / 0.6669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.08531/5.869, allocations: 19.13 MB / 1.716 GB, free: 173.3 MB / 0.6669 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.102/5.971, allocations: 25.25 MB / 1.74 GB, free: 163.8 MB / 0.6669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02473/5.996, allocations: 7.175 MB / 1.747 GB, free: 159.1 MB / 0.6669 GB Notification: Performance of sorting global known variables: time 0.06918/6.065, allocations: 17.64 MB / 1.764 GB, free: 141.6 MB / 0.6669 GB Notification: Performance of Backend: time 2.084e-06/6.065, allocations: 0 / 1.764 GB, free: 141.6 MB / 0.6669 GB Notification: Performance of simCode: created initialization part: time 0.129/6.194, allocations: 34.95 MB / 1.799 GB, free: 106.2 MB / 0.6669 GB Notification: Performance of SimCode: time 0.216/6.41, allocations: 69.51 MB / 1.866 GB, free: 37.23 MB / 0.6669 GB Notification: Performance of Templates: time 2.428/8.838, allocations: 492.3 MB / 2.347 GB, free: 108.7 MB / 0.7138 GB