Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8472/0.8472, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.543/1.543, allocations: 221.3 MB / 400.4 MB, free: 5.797 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.001183/0.001184, allocations: 103.2 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.057e-05/4.06e-05, allocations: 3.375 kB / 0.5601 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1762, allocations: 82.3 MB / 0.6405 GB, free: 7.789 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6517/0.828, allocations: 119.8 MB / 0.7574 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.8283, allocations: 110.2 kB / 0.7575 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04247/0.8707, allocations: 18.23 MB / 0.7753 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8708, allocations: 0 / 0.7753 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.8708, allocations: 4 kB / 0.7753 GB, free: 18.8 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006314/0.8714, allocations: 0.5754 MB / 0.7759 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.8715, allocations: 8.031 kB / 0.7759 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.8716, allocations: 47.73 kB / 0.776 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.872, allocations: 354.2 kB / 0.7763 GB, free: 17.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.872, allocations: 15.81 kB / 0.7763 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.8721, allocations: 23.25 kB / 0.7763 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.8724, allocations: 186.3 kB / 0.7765 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.8724, allocations: 4 kB / 0.7765 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.8724, allocations: 10.12 kB / 0.7765 GB, free: 17.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.8724, allocations: 4 kB / 0.7765 GB, free: 17.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.8727, allocations: 138.3 kB / 0.7767 GB, free: 17.56 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.8737, allocations: 0.8776 MB / 0.7775 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.8739, allocations: 139.4 kB / 0.7777 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.8741, allocations: 103.8 kB / 0.7777 GB, free: 16.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.8741, allocations: 7.938 kB / 0.7778 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.8741, allocations: 30.56 kB / 0.7778 GB, free: 16.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.8741, allocations: 0 / 0.7778 GB, free: 16.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0002933/0.8744, allocations: 170 kB / 0.7779 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.8745, allocations: 55.41 kB / 0.778 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.8748, allocations: 367.9 kB / 0.7784 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.8749, allocations: 33.7 kB / 0.7784 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.875, allocations: 208.5 kB / 0.7786 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.8751, allocations: 57.98 kB / 0.7786 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.8751, allocations: 3.625 kB / 0.7786 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8752, allocations: 344.7 kB / 0.779 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.929e-05/0.8753, allocations: 44.38 kB / 0.779 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.8754, allocations: 50.2 kB / 0.7791 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.697e-05/0.8755, allocations: 51.27 kB / 0.7791 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8755, allocations: 0 / 0.7791 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002254/0.8757, allocations: 185.4 kB / 0.7793 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.8757, allocations: 8 kB / 0.7793 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.8757, allocations: 0 / 0.7793 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.8758, allocations: 0 / 0.7793 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.876, allocations: 59.41 kB / 0.7794 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.876, allocations: 0 / 0.7794 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.8762, allocations: 27.83 kB / 0.7794 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.8762, allocations: 7.938 kB / 0.7794 GB, free: 15.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.147e-05/0.8763, allocations: 116.8 kB / 0.7795 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.8763, allocations: 39.53 kB / 0.7795 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.8764, allocations: 41.92 kB / 0.7796 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.8764, allocations: 0 / 0.7796 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.8764, allocations: 0 / 0.7796 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.8764, allocations: 0 / 0.7796 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.8768, allocations: 378.2 kB / 0.7799 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.8768, allocations: 12 kB / 0.7799 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.877, allocations: 62.89 kB / 0.78 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.877, allocations: 0 / 0.78 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.877, allocations: 0 / 0.78 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8771, allocations: 0 / 0.78 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8771, allocations: 0 / 0.78 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.8775, allocations: 347.8 kB / 0.7803 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.8776, allocations: 123.4 kB / 0.7805 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.8776, allocations: 7.125 kB / 0.7805 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.8778, allocations: 15.73 kB / 0.7805 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.8778, allocations: 11.92 kB / 0.7805 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.8778, allocations: 4 kB / 0.7805 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002931/0.8781, allocations: 300 kB / 0.7808 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8781, allocations: 0 / 0.7808 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003463/0.8785, allocations: 82.09 kB / 0.7809 GB, free: 13.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003662/0.8789, allocations: 252.5 kB / 0.7811 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.8791, allocations: 125.7 kB / 0.7812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8791, allocations: 0 / 0.7812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.901e-05/0.8792, allocations: 69.09 kB / 0.7813 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.8796, allocations: 90.2 kB / 0.7814 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009017/0.8806, allocations: 0.5235 MB / 0.7819 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.8809, allocations: 0.8061 MB / 0.7827 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.8811, allocations: 34.97 kB / 0.7827 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.8811, allocations: 23.44 kB / 0.7827 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/0.8811, allocations: 0 / 0.7827 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.00993/0.8911, allocations: 5.522 MB / 0.7881 GB, free: 6.668 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)