Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 93.59 kB / 16.66 MB, free: 5.859 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.001577/0.001577, allocations: 176.7 kB / 17.57 MB, free: 5.543 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.395/1.395, allocations: 223.3 MB / 241.6 MB, free: 14.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7779/0.7779, allocations: 115.5 MB / 408.2 MB, free: 7.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 8 kB / 496.6 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4837, allocations: 77.52 MB / 0.5606 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.06294/0.5467, allocations: 63.88 MB / 0.623 GB, free: 3.348 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02921/0.576, allocations: 16.62 MB / 0.6392 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004227/0.5803, allocations: 59.62 kB / 0.6393 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004663/0.585, allocations: 1.029 MB / 0.6403 GB, free: 1.602 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008491/0.5935, allocations: 2.146 MB / 0.6424 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008431/0.6019, allocations: 2.59 MB / 0.6449 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008957/0.6109, allocations: 5.716 MB / 0.6505 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002956/0.6139, allocations: 1.179 MB / 0.6517 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004052/0.618, allocations: 1.353 MB / 0.653 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.6208, allocations: 1.252 MB / 0.6542 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006149/0.6215, allocations: 80 kB / 0.6543 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007143/0.6286, allocations: 2.558 MB / 0.6568 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.6297, allocations: 370.3 kB / 0.6571 GB, free: 336 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.6321, allocations: 0.9306 MB / 0.658 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006773/0.6389, allocations: 3.429 MB / 0.6614 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.639, allocations: 0 / 0.6614 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.235e-06/0.639, allocations: 0 / 0.6614 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000121/0.6391, allocations: 0 / 0.6614 GB, free: 11.95 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005567/0.6447, allocations: 2.045 MB / 0.6634 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.6448, allocations: 15.97 kB / 0.6634 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008959/0.6457, allocations: 210.6 kB / 0.6636 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/0.6495, allocations: 1.531 MB / 0.6651 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.917e-05/0.6496, allocations: 78.08 kB / 0.6652 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/0.6499, allocations: 116 kB / 0.6653 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.6525, allocations: 1.108 MB / 0.6664 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.6525, allocations: 0 / 0.6664 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.6527, allocations: 48 kB / 0.6664 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.6527, allocations: 24 kB / 0.6664 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.6545, allocations: 0.8277 MB / 0.6672 GB, free: 5.77 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.01097/0.6655, allocations: 6.819 MB / 0.6739 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.6667, allocations: 0.7533 MB / 0.6746 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005756/0.6673, allocations: 355.3 kB / 0.675 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/0.6686, allocations: 1.275 MB / 0.6762 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.6687, allocations: 47.16 kB / 0.6763 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.6687, allocations: 4 kB / 0.6763 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.002655/0.6714, allocations: 1.175 MB / 0.6774 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.6714, allocations: 93.7 kB / 0.6775 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/0.6744, allocations: 1.497 MB / 0.679 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.6745, allocations: 37.7 kB / 0.679 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007461/0.6753, allocations: 0.7093 MB / 0.6797 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.6756, allocations: 260.2 kB / 0.6799 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.6758, allocations: 85.66 kB / 0.68 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.6759, allocations: 345.9 kB / 0.6803 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/0.6765, allocations: 285.8 kB / 0.6806 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/0.6773, allocations: 482.6 kB / 0.6811 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.6785, allocations: 0.7224 MB / 0.6818 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6785, allocations: 0 / 0.6818 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002065/0.6805, allocations: 1.02 MB / 0.6828 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.6807, allocations: 203.9 kB / 0.683 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.6807, allocations: 7.984 kB / 0.683 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/0.6811, allocations: 69.69 kB / 0.6831 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.6818, allocations: 195.7 kB / 0.6832 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.6844, allocations: 2.97 MB / 0.6861 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.6857, allocations: 150 kB / 0.6863 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.6858, allocations: 43.98 kB / 0.6863 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.6858, allocations: 4 kB / 0.6863 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001598/0.6874, allocations: 0.8449 MB / 0.6872 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.6875, allocations: 8 kB / 0.6872 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.6877, allocations: 69.62 kB / 0.6872 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.6883, allocations: 183.8 kB / 0.6874 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.6907, allocations: 2.969 MB / 0.6903 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.6921, allocations: 143 kB / 0.6904 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.6922, allocations: 36 kB / 0.6905 GB, free: 12.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009527/0.6931, allocations: 455 kB / 0.6909 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000463/0.6936, allocations: 158 kB / 0.6911 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.6957, allocations: 1.045 MB / 0.6921 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.6957, allocations: 8 kB / 0.6921 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6957, allocations: 7.984 kB / 0.6921 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001222/0.697, allocations: 0.7849 MB / 0.6929 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/0.7022, allocations: 2.695 MB / 0.6955 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.7023, allocations: 4 kB / 0.6955 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.7028, allocations: 136.2 kB / 0.6956 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/0.7031, allocations: 73.67 kB / 0.6957 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.7032, allocations: 23.94 kB / 0.6957 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.7055, allocations: 2.978 MB / 0.6986 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.7055, allocations: 7.938 kB / 0.6986 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.7079, allocations: 1.401 MB / 0.7 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009253/0.7089, allocations: 382.8 kB / 0.7004 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003901/0.7093, allocations: 20 kB / 0.7004 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.7103, allocations: 63.92 kB / 0.7004 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.7104, allocations: 60.55 kB / 0.7005 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.313e-05/0.7105, allocations: 39.98 kB / 0.7005 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002047/0.7126, allocations: 1.064 MB / 0.7016 GB, free: 164 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7126, allocations: 0 / 0.7016 GB, free: 164 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004194/0.7168, allocations: 1.084 MB / 0.7026 GB, free: 15.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002651/0.7195, allocations: 0.8304 MB / 0.7035 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003142/0.7226, allocations: 1.708 MB / 0.7051 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.7227, allocations: 0 / 0.7051 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.7236, allocations: 0.5953 MB / 0.7057 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005887/0.7295, allocations: 0.8236 MB / 0.7065 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006266/0.7358, allocations: 3.634 MB / 0.7101 GB, free: 7.352 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.737, allocations: 1.27 MB / 0.7113 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005565/0.7376, allocations: 143.3 kB / 0.7114 GB, free: 5.914 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/0.7376, allocations: 0 / 0.7114 GB, free: 5.914 MB / 0.545 GB Notification: Performance of Templates: time 0.3674/1.105, allocations: 46.56 MB / 0.7569 GB, free: 160.1 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)