Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 97.05 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 176.9 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6722/0.6722, allocations: 113.8 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 11.98 kB / 493.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1579, allocations: 77.15 MB / 0.5569 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.4237/0.5817, allocations: 71.53 MB / 0.6267 GB, free: 9.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04378/0.6255, allocations: 21.87 MB / 0.6481 GB, free: 9.398 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007427/0.633, allocations: 99.66 kB / 0.6482 GB, free: 9.359 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00757/0.6406, allocations: 1.61 MB / 0.6498 GB, free: 8.039 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01774/0.6584, allocations: 3.964 MB / 0.6536 GB, free: 4.719 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01344/0.6719, allocations: 3.682 MB / 0.6572 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01357/0.6854, allocations: 4.941 MB / 0.6621 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004973/0.6905, allocations: 2.093 MB / 0.6641 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006625/0.6971, allocations: 2.129 MB / 0.6662 GB, free: 9.621 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004104/0.7013, allocations: 1.583 MB / 0.6677 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007717/0.7021, allocations: 147.9 kB / 0.6679 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008076/0.7102, allocations: 2.399 MB / 0.6702 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.7115, allocations: 0.5837 MB / 0.6708 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.7132, allocations: 0.6954 MB / 0.6715 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.7232, allocations: 5.314 MB / 0.6766 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7233, allocations: 0 / 0.6766 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.109e-06/0.7233, allocations: 0 / 0.6766 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001886/0.7235, allocations: 3.938 kB / 0.6766 GB, free: 14.86 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.007848/0.7313, allocations: 3.293 MB / 0.6799 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.7314, allocations: 11.98 kB / 0.6799 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.7325, allocations: 383.7 kB / 0.6802 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/0.7372, allocations: 2.383 MB / 0.6826 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.7373, allocations: 160.1 kB / 0.6827 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003018/0.7377, allocations: 219.9 kB / 0.6829 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00375/0.7414, allocations: 2.163 MB / 0.685 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/0.7415, allocations: 0 / 0.685 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.7417, allocations: 88 kB / 0.6851 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/0.7417, allocations: 52 kB / 0.6852 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/0.7446, allocations: 1.659 MB / 0.6868 GB, free: 4.184 MB / 0.4981 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.01442/0.759, allocations: 9.374 MB / 0.6959 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.7607, allocations: 1.173 MB / 0.6971 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002589/0.7633, allocations: 2.922 MB / 0.6999 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.7633, allocations: 55.75 kB / 0.7 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 2.895e-06/0.7634, allocations: 0 / 0.7 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.005513/0.7689, allocations: 2.712 MB / 0.7027 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.769, allocations: 94.42 kB / 0.7027 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003428/0.7724, allocations: 2.322 MB / 0.705 GB, free: 284 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002822/0.7727, allocations: 61.62 kB / 0.7051 GB, free: 216 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.7738, allocations: 1.189 MB / 0.7062 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005777/0.7744, allocations: 0.5198 MB / 0.7067 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.7745, allocations: 40 kB / 0.7068 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7747, allocations: 373.9 kB / 0.7071 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009199/0.7756, allocations: 0.5661 MB / 0.7077 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.7768, allocations: 0.9179 MB / 0.7086 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.7779, allocations: 0.7127 MB / 0.7093 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.778, allocations: 4 kB / 0.7093 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00416/0.7821, allocations: 2.096 MB / 0.7113 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00109/0.7832, allocations: 2.722 MB / 0.714 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.352e-05/0.7833, allocations: 8 kB / 0.714 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009739/0.7843, allocations: 273 kB / 0.7143 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.7856, allocations: 395.4 kB / 0.7146 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005304/0.7909, allocations: 7.067 MB / 0.7215 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/0.7943, allocations: 302 kB / 0.7218 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/0.7946, allocations: 75.98 kB / 0.7219 GB, free: 13.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7946, allocations: 4 kB / 0.7219 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003209/0.7978, allocations: 1.801 MB / 0.7237 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.7978, allocations: 8 kB / 0.7237 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/0.7984, allocations: 213.2 kB / 0.7239 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.7996, allocations: 391.5 kB / 0.7242 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007345/0.807, allocations: 9.135 MB / 0.7332 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.8098, allocations: 278.2 kB / 0.7334 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.81, allocations: 75.97 kB / 0.7335 GB, free: 1.199 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001665/0.8117, allocations: 0.649 MB / 0.7341 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006545/0.8124, allocations: 264.8 kB / 0.7344 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.816, allocations: 2.02 MB / 0.7364 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/0.816, allocations: 16 kB / 0.7364 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.8161, allocations: 0 / 0.7364 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002256/0.8183, allocations: 1.646 MB / 0.738 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00769/0.826, allocations: 4.41 MB / 0.7423 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.8261, allocations: 0 / 0.7423 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.8271, allocations: 267.7 kB / 0.7425 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/0.8276, allocations: 217 kB / 0.7427 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.771e-05/0.8277, allocations: 43.98 kB / 0.7428 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005725/0.8335, allocations: 7.092 MB / 0.7497 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8335, allocations: 0 / 0.7497 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004882/0.8384, allocations: 2.722 MB / 0.7524 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/0.8401, allocations: 0.6143 MB / 0.753 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003606/0.8405, allocations: 28 kB / 0.753 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.8418, allocations: 147.7 kB / 0.7531 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.842, allocations: 109.1 kB / 0.7532 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.8421, allocations: 51.97 kB / 0.7533 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002456/0.8445, allocations: 1.57 MB / 0.7548 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8446, allocations: 4 kB / 0.7548 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007171/0.8517, allocations: 1.883 MB / 0.7567 GB, free: 8.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002601/0.8544, allocations: 1.079 MB / 0.7577 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005507/0.8599, allocations: 3.715 MB / 0.7614 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.8599, allocations: 4.125 kB / 0.7614 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.8614, allocations: 1.221 MB / 0.7625 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006665/0.8681, allocations: 1.315 MB / 0.7638 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008797/0.8769, allocations: 6.065 MB / 0.7698 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/0.8784, allocations: 1.801 MB / 0.7715 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002882/0.8812, allocations: 0.5929 MB / 0.7721 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.8817, allocations: 211.4 kB / 0.7723 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of SimCode: time 1.613e-06/0.8817, allocations: 0 / 0.7723 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.3842/1.266, allocations: 60.45 MB / 0.8313 GB, free: 218.1 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)