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.0009833/0.0009835, allocations: 96.03 kB / 15.68 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.001044/0.001043, allocations: 176.7 kB / 16.57 MB, free: 6.391 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.414/1.414, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.715/0.715, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 12 kB / 493.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1843, allocations: 77.15 MB / 0.5569 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.3935/0.5779, allocations: 54.48 MB / 0.6101 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02487/0.6028, allocations: 14.45 MB / 0.6242 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003928/0.6068, allocations: 57.09 kB / 0.6242 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005649/0.6124, allocations: 1.077 MB / 0.6253 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.6229, allocations: 2.269 MB / 0.6275 GB, free: 9.672 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.6331, allocations: 2.691 MB / 0.6301 GB, free: 8.164 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006594/0.6397, allocations: 2.645 MB / 0.6327 GB, free: 6.453 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.642, allocations: 1.07 MB / 0.6338 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00327/0.6453, allocations: 1.201 MB / 0.6349 GB, free: 5.059 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.6479, allocations: 0.8707 MB / 0.6358 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006761/0.6486, allocations: 79.84 kB / 0.6359 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006383/0.655, allocations: 1.93 MB / 0.6377 GB, free: 3.652 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007545/0.6558, allocations: 337.6 kB / 0.6381 GB, free: 3.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.657, allocations: 408.3 kB / 0.6385 GB, free: 3.184 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007217/0.6642, allocations: 3.2 MB / 0.6416 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6642, allocations: 0 / 0.6416 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.6643, allocations: 0 / 0.6416 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001312/0.6644, allocations: 0 / 0.6416 GB, free: 0.9922 MB / 462.1 MB 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.005464/0.6699, allocations: 2.053 MB / 0.6436 GB, free: 15.45 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.6699, allocations: 12.08 kB / 0.6436 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008672/0.6708, allocations: 212.4 kB / 0.6438 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003938/0.6747, allocations: 1.418 MB / 0.6452 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.6749, allocations: 82.92 kB / 0.6453 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.6752, allocations: 110.7 kB / 0.6454 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.6776, allocations: 1.095 MB / 0.6464 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/0.6777, allocations: 11.14 kB / 0.6465 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.6778, allocations: 40.31 kB / 0.6465 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.6778, allocations: 24.97 kB / 0.6465 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.6796, allocations: 0.8248 MB / 0.6473 GB, free: 12.86 MB / 478.1 MB 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.01008/0.6896, allocations: 6.851 MB / 0.654 GB, free: 5.316 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009338/0.6906, allocations: 0.7366 MB / 0.6547 GB, free: 4.539 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/0.6918, allocations: 1.286 MB / 0.656 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.6919, allocations: 39.22 kB / 0.656 GB, free: 2.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=72): time 3.236e-06/0.6919, allocations: 0 / 0.656 GB, free: 2.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=72): time 0.00235/0.6943, allocations: 1.162 MB / 0.6572 GB, free: 1.719 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.6943, allocations: 93.7 kB / 0.6572 GB, free: 1.609 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.6967, allocations: 1.536 MB / 0.6587 GB, free: 68 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-05/0.6967, allocations: 41.7 kB / 0.6588 GB, free: 20 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006006/0.6974, allocations: 0.6976 MB / 0.6595 GB, free: 15.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.6976, allocations: 260.2 kB / 0.6597 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.6977, allocations: 23.94 kB / 0.6597 GB, free: 15.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6978, allocations: 341.9 kB / 0.6601 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/0.6983, allocations: 269.9 kB / 0.6603 GB, free: 14.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.6989, allocations: 490.5 kB / 0.6608 GB, free: 13.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.6995, allocations: 350.9 kB / 0.6611 GB, free: 13.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.6995, allocations: 0 / 0.6611 GB, free: 13.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001734/0.7013, allocations: 1.009 MB / 0.6621 GB, free: 12.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005523/0.7018, allocations: 1.362 MB / 0.6634 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.7019, allocations: 4 kB / 0.6634 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002979/0.7022, allocations: 77.67 kB / 0.6635 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.7029, allocations: 191.7 kB / 0.6637 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.7052, allocations: 2.99 MB / 0.6666 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.7065, allocations: 154.8 kB / 0.6668 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.7066, allocations: 39.98 kB / 0.6668 GB, free: 7.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.7066, allocations: 4 kB / 0.6668 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001385/0.708, allocations: 0.8372 MB / 0.6676 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.7081, allocations: 7.953 kB / 0.6676 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.7082, allocations: 73.61 kB / 0.6677 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.7088, allocations: 187.7 kB / 0.6679 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.711, allocations: 2.974 MB / 0.6708 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.7122, allocations: 147 kB / 0.6709 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/0.7123, allocations: 35.98 kB / 0.671 GB, free: 2.77 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007648/0.7131, allocations: 448.9 kB / 0.6714 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.7133, allocations: 158 kB / 0.6715 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.715, allocations: 1.048 MB / 0.6726 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.715, allocations: 12 kB / 0.6726 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.715, allocations: 0 / 0.6726 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/0.7161, allocations: 0.781 MB / 0.6733 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/0.7203, allocations: 2.707 MB / 0.676 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.7203, allocations: 4 kB / 0.676 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.7209, allocations: 140.2 kB / 0.6761 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/0.7211, allocations: 73.69 kB / 0.6762 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.7211, allocations: 27.92 kB / 0.6762 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.7233, allocations: 2.993 MB / 0.6791 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.7233, allocations: 4 kB / 0.6791 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.7256, allocations: 1.629 MB / 0.6807 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007744/0.7264, allocations: 402.7 kB / 0.6811 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.7266, allocations: 16 kB / 0.6811 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/0.7273, allocations: 51.88 kB / 0.6812 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.427e-05/0.7274, allocations: 68.38 kB / 0.6812 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.147e-05/0.7275, allocations: 31.98 kB / 0.6813 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001722/0.7292, allocations: 1.088 MB / 0.6823 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.7292, allocations: 0 / 0.6823 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003999/0.7332, allocations: 1.084 MB / 0.6834 GB, free: 5.34 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001825/0.7351, allocations: 0.8183 MB / 0.6842 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002923/0.738, allocations: 1.693 MB / 0.6859 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.738, allocations: 4.062 kB / 0.6859 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006999/0.7387, allocations: 0.5863 MB / 0.6864 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/0.7424, allocations: 0.7862 MB / 0.6872 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.7474, allocations: 3.472 MB / 0.6906 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000968/0.7483, allocations: 1.305 MB / 0.6919 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001483/0.7498, allocations: 371.4 kB / 0.6922 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.7501, allocations: 139.3 kB / 0.6923 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of SimCode: time 1.202e-06/0.7501, allocations: 0 / 0.6923 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of Templates: time 0.06191/0.812, allocations: 37.29 MB / 0.7288 GB, free: 7.184 MB / 0.545 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)