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.001241/0.001241, allocations: 115 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 200.2 kB / 18.03 MB, free: 5.062 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.202/1.202, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6418/0.6418, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 68.66 kB / 0.5584 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.12, allocations: 76.18 MB / 0.6328 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.07168/0.1917, allocations: 86.28 MB / 0.717 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02949/0.2213, allocations: 25.28 MB / 0.7417 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003771/0.2251, allocations: 119.4 kB / 0.7418 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004427/0.2295, allocations: 1.786 MB / 0.7436 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3063/0.5358, allocations: 4.027 MB / 0.7475 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008661/0.5445, allocations: 4.052 MB / 0.7515 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.555, allocations: 8.346 MB / 0.7596 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0044/0.5595, allocations: 2.892 MB / 0.7625 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006839/0.5663, allocations: 3.007 MB / 0.7654 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004726/0.5711, allocations: 2.414 MB / 0.7677 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008635/0.572, allocations: 358.4 kB / 0.7681 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007258/0.5792, allocations: 3.429 MB / 0.7714 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.5803, allocations: 0.8489 MB / 0.7723 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002773/0.583, allocations: 1.909 MB / 0.7741 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009692/0.5927, allocations: 7.293 MB / 0.7813 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5928, allocations: 3 kB / 0.7813 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5928, allocations: 0 / 0.7813 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001096/0.5929, allocations: 3.938 kB / 0.7813 GB, free: 3.148 MB / 0.5762 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.006895/0.5998, allocations: 3.9 MB / 0.7851 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.5999, allocations: 7.094 kB / 0.7851 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009198/0.6008, allocations: 380 kB / 0.7854 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003666/0.6045, allocations: 2.636 MB / 0.788 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.6046, allocations: 160.3 kB / 0.7882 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.6048, allocations: 221.7 kB / 0.7884 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/0.608, allocations: 2.189 MB / 0.7905 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/0.6081, allocations: 6.375 kB / 0.7905 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.6083, allocations: 87.09 kB / 0.7906 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.6083, allocations: 49.8 kB / 0.7907 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.6108, allocations: 1.674 MB / 0.7923 GB, free: 16.19 MB / 0.5919 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.01061/0.6214, allocations: 9.288 MB / 0.8014 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.6228, allocations: 1.194 MB / 0.8025 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009406/0.6238, allocations: 0.8237 MB / 0.8033 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002104/0.6259, allocations: 2.922 MB / 0.8062 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.6259, allocations: 48.84 kB / 0.8062 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=148): time 3.276e-06/0.6259, allocations: 0 / 0.8062 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of matching and sorting (n=148): time 0.004773/0.6307, allocations: 2.727 MB / 0.8089 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.6308, allocations: 97.2 kB / 0.809 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/0.6335, allocations: 2.281 MB / 0.8112 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.6336, allocations: 60.58 kB / 0.8113 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008485/0.6345, allocations: 1.187 MB / 0.8124 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004192/0.6349, allocations: 0.5102 MB / 0.8129 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004387/0.6353, allocations: 374 kB / 0.8133 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.6354, allocations: 305.1 kB / 0.8136 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000836/0.6363, allocations: 0.5818 MB / 0.8141 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.6374, allocations: 0.9366 MB / 0.8151 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/0.6394, allocations: 1.479 MB / 0.8165 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6394, allocations: 4 kB / 0.8165 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003759/0.6432, allocations: 2.123 MB / 0.8186 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.6432, allocations: 11.98 kB / 0.8186 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.6432, allocations: 8 kB / 0.8186 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009196/0.6442, allocations: 272.6 kB / 0.8189 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.6454, allocations: 383.6 kB / 0.8192 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004667/0.65, allocations: 7.736 MB / 0.8268 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.652, allocations: 186.2 kB / 0.827 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.6521, allocations: 75.98 kB / 0.827 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001771/0.6539, allocations: 1.05 MB / 0.8281 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001132/0.6551, allocations: 0.9352 MB / 0.829 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001913/0.657, allocations: 1.465 MB / 0.8304 GB, free: 444 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.693e-06/0.657, allocations: 4 kB / 0.8304 GB, free: 440 kB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.003431/0.6604, allocations: 2.082 MB / 0.8324 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.6605, allocations: 8 kB / 0.8324 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.6605, allocations: 12 kB / 0.8325 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004814/0.661, allocations: 224.6 kB / 0.8327 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.6621, allocations: 378 kB / 0.833 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006558/0.6687, allocations: 10.1 MB / 0.8429 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/0.6708, allocations: 166.8 kB / 0.8431 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.6709, allocations: 75.98 kB / 0.8431 GB, free: 2.645 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004506/0.6714, allocations: 292.2 kB / 0.8434 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005403/0.6719, allocations: 256.8 kB / 0.8436 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.6753, allocations: 2.013 MB / 0.8456 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002207/0.6776, allocations: 1.652 MB / 0.8472 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.6776, allocations: 4.094 kB / 0.8472 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009913/0.6786, allocations: 0.5481 MB / 0.8478 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/0.6789, allocations: 39.94 kB / 0.8478 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/0.6799, allocations: 47.91 kB / 0.8478 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.6801, allocations: 113 kB / 0.848 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003562/0.6836, allocations: 1.908 MB / 0.8498 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003449/0.6871, allocations: 2.604 MB / 0.8524 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008237/0.6879, allocations: 0.6785 MB / 0.853 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002159/0.6901, allocations: 1.539 MB / 0.8545 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of Backend: time 7.42e-07/0.6901, allocations: 0 / 0.8545 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008007/0.6981, allocations: 4.501 MB / 0.8589 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of SimCode: time 0.009624/0.7078, allocations: 6.331 MB / 0.8651 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.4591/1.167, allocations: 68.11 MB / 0.9316 GB, free: 8.902 MB / 0.7169 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)