Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008656/0.0008657, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009368/0.0009369, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8443/0.8443, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002672, allocations: 8 kB / 0.5069 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 82.31 MB / 0.5872 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.3055/0.4477, allocations: 71.53 MB / 0.6571 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02493/0.4727, allocations: 21.82 MB / 0.6784 GB, free: 10.14 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003687/0.4764, allocations: 103.8 kB / 0.6785 GB, free: 10.1 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.004893/0.4813, allocations: 1.605 MB / 0.6801 GB, free: 9.227 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.4925, allocations: 3.954 MB / 0.6839 GB, free: 6.641 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.009772/0.5022, allocations: 3.666 MB / 0.6875 GB, free: 4.801 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0123/0.5146, allocations: 4.923 MB / 0.6923 GB, free: 2.16 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004458/0.5191, allocations: 2.108 MB / 0.6944 GB, free: 1.32 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005409/0.5245, allocations: 2.132 MB / 0.6964 GB, free: 328 kB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003945/0.5285, allocations: 1.589 MB / 0.698 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004852/0.529, allocations: 144.2 kB / 0.6981 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007375/0.5363, allocations: 2.397 MB / 0.7005 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009328/0.5373, allocations: 0.5693 MB / 0.701 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.5389, allocations: 0.7054 MB / 0.7017 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007773/0.5467, allocations: 5.321 MB / 0.7069 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5468, allocations: 1.344 kB / 0.7069 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.396e-06/0.5468, allocations: 0 / 0.7069 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.156e-05/0.5469, allocations: 3.938 kB / 0.7069 GB, free: 11.74 MB / 0.5294 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.006272/0.5531, allocations: 3.293 MB / 0.7101 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5532, allocations: 8.625 kB / 0.7101 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009017/0.5541, allocations: 377.3 kB / 0.7105 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004108/0.5582, allocations: 2.384 MB / 0.7128 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.5583, allocations: 160.5 kB / 0.713 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.5586, allocations: 220 kB / 0.7132 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.5619, allocations: 2.157 MB / 0.7153 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.5619, allocations: 1.375 kB / 0.7153 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.5621, allocations: 87.25 kB / 0.7154 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.5621, allocations: 50.88 kB / 0.7154 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/0.5646, allocations: 1.665 MB / 0.7171 GB, free: 4.91 MB / 0.5294 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.01111/0.5758, allocations: 9.357 MB / 0.7262 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.5772, allocations: 1.176 MB / 0.7274 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002172/0.5794, allocations: 2.926 MB / 0.7302 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.5795, allocations: 59.75 kB / 0.7303 GB, free: 8.363 MB / 0.545 GB Notification: Performance of pre-optimization done (n=148): time 3.857e-06/0.5795, allocations: 0 / 0.7303 GB, free: 8.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=148): time 0.004704/0.5842, allocations: 2.714 MB / 0.7329 GB, free: 5.516 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.5842, allocations: 94.42 kB / 0.733 GB, free: 5.402 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/0.5871, allocations: 2.326 MB / 0.7353 GB, free: 3.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.5873, allocations: 53.7 kB / 0.7353 GB, free: 3.004 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008373/0.5881, allocations: 1.189 MB / 0.7365 GB, free: 1.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.5885, allocations: 0.5276 MB / 0.737 GB, free: 1.266 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.5886, allocations: 36 kB / 0.737 GB, free: 1.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5888, allocations: 381.8 kB / 0.7374 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000804/0.5896, allocations: 0.5544 MB / 0.7379 GB, free: 304 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.5906, allocations: 0.914 MB / 0.7388 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009813/0.5916, allocations: 0.7166 MB / 0.7395 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.5916, allocations: 4 kB / 0.7395 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003326/0.595, allocations: 2.1 MB / 0.7416 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008542/0.5958, allocations: 2.717 MB / 0.7442 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.5959, allocations: 11.94 kB / 0.7443 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008831/0.5968, allocations: 268.9 kB / 0.7445 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.598, allocations: 383.4 kB / 0.7449 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004449/0.6025, allocations: 7.078 MB / 0.7518 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.6047, allocations: 302.8 kB / 0.7521 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.6049, allocations: 71.98 kB / 0.7521 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.6049, allocations: 4 kB / 0.7522 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002634/0.6075, allocations: 1.805 MB / 0.7539 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.6075, allocations: 8 kB / 0.7539 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/0.608, allocations: 213.6 kB / 0.7541 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.6092, allocations: 387.4 kB / 0.7545 GB, free: 14.32 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/0.6156, allocations: 9.154 MB / 0.7634 GB, free: 4.336 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.6179, allocations: 278.2 kB / 0.7637 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.618, allocations: 75.92 kB / 0.7638 GB, free: 3.988 MB / 0.5763 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.001188/0.6192, allocations: 0.6451 MB / 0.7644 GB, free: 3.332 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/0.6196, allocations: 264.8 kB / 0.7647 GB, free: 3.07 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/0.6226, allocations: 2.008 MB / 0.7666 GB, free: 1.07 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/0.6227, allocations: 23.98 kB / 0.7666 GB, free: 1.047 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6227, allocations: 4 kB / 0.7666 GB, free: 1.043 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002024/0.6247, allocations: 1.646 MB / 0.7683 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006013/0.6307, allocations: 4.402 MB / 0.7726 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.6308, allocations: 4 kB / 0.7726 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009912/0.6317, allocations: 271.7 kB / 0.7728 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004472/0.6322, allocations: 213.3 kB / 0.773 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/0.6323, allocations: 39.98 kB / 0.7731 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004294/0.6366, allocations: 7.092 MB / 0.78 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.6366, allocations: 4.031 kB / 0.78 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/0.6404, allocations: 2.726 MB / 0.7826 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.6418, allocations: 0.6144 MB / 0.7832 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002861/0.6421, allocations: 32 kB / 0.7833 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.6433, allocations: 143.6 kB / 0.7834 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.6434, allocations: 109.1 kB / 0.7835 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.907e-05/0.6435, allocations: 59.97 kB / 0.7836 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00208/0.6456, allocations: 1.57 MB / 0.7851 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6456, allocations: 0 / 0.7851 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005136/0.6508, allocations: 1.879 MB / 0.7869 GB, free: 11.38 MB / 0.6075 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.002321/0.6531, allocations: 1.068 MB / 0.788 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004828/0.6579, allocations: 3.714 MB / 0.7916 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6579, allocations: 0 / 0.7916 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.6593, allocations: 1.234 MB / 0.7928 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00568/0.665, allocations: 1.297 MB / 0.7941 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/0.6723, allocations: 6.065 MB / 0.8 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.6735, allocations: 1.798 MB / 0.8018 GB, free: 12 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002109/0.6756, allocations: 0.6064 MB / 0.8024 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.676, allocations: 203.4 kB / 0.8025 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of SimCode: time 6.02e-07/0.676, allocations: 0 / 0.8025 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of Templates: time 0.3108/0.9869, allocations: 60.46 MB / 0.8616 GB, free: 206.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1) Environment - environmentSimulation: