Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 173.7 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7073/0.7073, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009418, allocations: 100.2 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.706e-05, allocations: 3.625 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1674, allocations: 82.3 MB / 0.6405 GB, free: 7.781 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.404/1.571, allocations: 386.2 MB / 1.018 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.571, allocations: 125.9 kB / 1.018 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.577/3.148, allocations: 485 MB / 1.491 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.522e-06/3.148, allocations: 0 / 1.491 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001551/3.148, allocations: 47.98 kB / 1.491 GB, free: 0.8789 MB / 0.6823 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.5879/3.736, allocations: 1.931 MB / 1.493 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/3.736, allocations: 10.56 kB / 1.493 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/3.737, allocations: 204.6 kB / 1.494 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004545/3.742, allocations: 1.711 MB / 1.495 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.805e-05/3.742, allocations: 79.52 kB / 1.495 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/3.742, allocations: 111.3 kB / 1.495 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/3.745, allocations: 1.055 MB / 1.496 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/3.745, allocations: 0.7812 kB / 1.496 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/3.745, allocations: 50.31 kB / 1.496 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/3.745, allocations: 29.48 kB / 1.497 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/3.747, allocations: 0.7654 MB / 1.497 GB, free: 84.6 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.009295/3.756, allocations: 6.482 MB / 1.504 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/3.757, allocations: 0.547 MB / 1.504 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005633/3.758, allocations: 340.6 kB / 1.504 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009991/3.759, allocations: 1.27 MB / 1.506 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/3.759, allocations: 41.44 kB / 1.506 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 4.599e-06/3.759, allocations: 2.125 kB / 1.506 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001834/3.76, allocations: 0.7211 MB / 1.506 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/3.76, allocations: 87.89 kB / 1.507 GB, free: 79.26 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/3.763, allocations: 1.353 MB / 1.508 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.072e-05/3.763, allocations: 42.23 kB / 1.508 GB, free: 79.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/3.764, allocations: 0.7102 MB / 1.509 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/3.764, allocations: 247.2 kB / 1.509 GB, free: 78.76 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/3.764, allocations: 17.62 kB / 1.509 GB, free: 78.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/3.764, allocations: 345.1 kB / 1.509 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/3.764, allocations: 259.4 kB / 1.509 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/3.765, allocations: 479.4 kB / 1.51 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/3.766, allocations: 343.4 kB / 1.51 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/3.766, allocations: 6.844 kB / 1.51 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002018/3.768, allocations: 0.9642 MB / 1.511 GB, free: 78.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003403/3.768, allocations: 1.354 MB / 1.512 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/3.768, allocations: 5.281 kB / 1.512 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/3.768, allocations: 75.19 kB / 1.513 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/3.769, allocations: 178.4 kB / 1.513 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/3.771, allocations: 2.982 MB / 1.516 GB, free: 73.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/3.772, allocations: 140.8 kB / 1.516 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/3.773, allocations: 42.52 kB / 1.516 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/3.773, allocations: 5.969 kB / 1.516 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001388/3.774, allocations: 0.7914 MB / 1.517 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/3.774, allocations: 9.797 kB / 1.517 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/3.774, allocations: 69.94 kB / 1.517 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/3.775, allocations: 178.1 kB / 1.517 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/3.777, allocations: 2.956 MB / 1.52 GB, free: 71.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/3.778, allocations: 124.8 kB / 1.52 GB, free: 71.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.243e-05/3.778, allocations: 46.56 kB / 1.52 GB, free: 71.22 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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.0002448/3.778, allocations: 155.9 kB / 1.52 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/3.779, allocations: 158.9 kB / 1.52 GB, free: 71.03 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/3.781, allocations: 0.9736 MB / 1.521 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/3.781, allocations: 10.45 kB / 1.521 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/3.781, allocations: 1 kB / 1.521 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/3.782, allocations: 0.7673 MB / 1.522 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005066/3.787, allocations: 2.638 MB / 1.524 GB, free: 70.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/3.787, allocations: 4.812 kB / 1.524 GB, free: 70.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/3.788, allocations: 132.2 kB / 1.525 GB, free: 70.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002268/3.788, allocations: 71.84 kB / 1.525 GB, free: 70.06 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/3.788, allocations: 28.47 kB / 1.525 GB, free: 70.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/3.79, allocations: 2.963 MB / 1.528 GB, free: 67.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/3.79, allocations: 9.391 kB / 1.528 GB, free: 67.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/3.792, allocations: 1.581 MB / 1.529 GB, free: 66.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000951/3.793, allocations: 375.5 kB / 1.529 GB, free: 66.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/3.794, allocations: 19.11 kB / 1.53 GB, free: 66.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007692/3.794, allocations: 56.2 kB / 1.53 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/3.794, allocations: 62.47 kB / 1.53 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/3.795, allocations: 35.16 kB / 1.53 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001852/3.796, allocations: 1.072 MB / 1.531 GB, free: 66.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.71e-07/3.796, allocations: 2.531 kB / 1.531 GB, free: 66.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004713/3.801, allocations: 1.201 MB / 1.532 GB, free: 66.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * 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.003212/3.804, allocations: 1.246 MB / 1.533 GB, free: 66.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002873/3.807, allocations: 1.701 MB / 1.535 GB, free: 65.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/3.807, allocations: 0 / 1.535 GB, free: 65.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000675/3.808, allocations: 0.5801 MB / 1.535 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004535/3.813, allocations: 0.8039 MB / 1.536 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005401/3.818, allocations: 2.297 MB / 1.538 GB, free: 64.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/3.819, allocations: 1.309 MB / 1.54 GB, free: 64.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002783/3.822, allocations: 0.505 MB / 1.54 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/3.823, allocations: 96.86 kB / 1.54 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/3.823, allocations: 0 / 1.54 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of Templates: time 0.07469/3.897, allocations: 43.68 MB / 1.583 GB, free: 62.09 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)