Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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/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/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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 174.7 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/package.mo): time 0.7652/0.7652, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.431/1.431, allocations: 221.3 MB / 396.8 MB, free: 9.168 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.0008639/0.000864, allocations: 96.16 kB / 479 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.698e-05/2.7e-05, allocations: 3.844 kB / 0.5551 GB, free: 86.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 81.59 MB / 0.6348 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5743/0.7059, allocations: 121.7 MB / 0.7536 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.7062, allocations: 114.5 kB / 0.7537 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05011/0.7563, allocations: 22.22 MB / 0.7754 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7563, allocations: 0 / 0.7754 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.7564, allocations: 12 kB / 0.7754 GB, free: 19.9 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.000931/0.7573, allocations: 0.7489 MB / 0.7762 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.7573, allocations: 8.031 kB / 0.7762 GB, free: 19.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.7575, allocations: 75.06 kB / 0.7762 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.7579, allocations: 431.9 kB / 0.7767 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.758, allocations: 41.81 kB / 0.7767 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.7581, allocations: 50.5 kB / 0.7767 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.7586, allocations: 403.2 kB / 0.7771 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.7587, allocations: 7.156 kB / 0.7771 GB, free: 18.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.7587, allocations: 17 kB / 0.7772 GB, free: 18.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.7587, allocations: 12 kB / 0.7772 GB, free: 18.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.7592, allocations: 328.7 kB / 0.7775 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.7609, allocations: 1.549 MB / 0.779 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.7613, allocations: 318.7 kB / 0.7793 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.7617, allocations: 334.2 kB / 0.7796 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.7618, allocations: 8 kB / 0.7796 GB, free: 16.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.7618, allocations: 33.75 kB / 0.7797 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 1.462e-06/0.7618, allocations: 0 / 0.7797 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0005264/0.7623, allocations: 352.3 kB / 0.78 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.7624, allocations: 55.41 kB / 0.78 GB, free: 16.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.7629, allocations: 426.1 kB / 0.7805 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.7629, allocations: 36.95 kB / 0.7805 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.7631, allocations: 267.8 kB / 0.7807 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.7632, allocations: 146 kB / 0.7809 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/0.7632, allocations: 11 kB / 0.7809 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.7634, allocations: 359.1 kB / 0.7812 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.7635, allocations: 105.5 kB / 0.7813 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.7637, allocations: 109 kB / 0.7814 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.7638, allocations: 127.7 kB / 0.7816 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7638, allocations: 0 / 0.7816 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004107/0.7643, allocations: 368.8 kB / 0.7819 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.7643, allocations: 4 kB / 0.7819 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7643, allocations: 11.88 kB / 0.7819 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.7643, allocations: 4 kB / 0.7819 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.7648, allocations: 131 kB / 0.7821 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.7648, allocations: 0 / 0.7821 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.7651, allocations: 51.08 kB / 0.7821 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.7651, allocations: 15.56 kB / 0.7821 GB, free: 14.45 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 (46): * Single equations (assignments): 46 * 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 9.55e-05/0.7652, allocations: 122.9 kB / 0.7822 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.7653, allocations: 47.44 kB / 0.7823 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.7654, allocations: 63.31 kB / 0.7823 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.7654, allocations: 4 kB / 0.7823 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.7654, allocations: 7.953 kB / 0.7824 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7654, allocations: 3.984 kB / 0.7824 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.7661, allocations: 0.5663 MB / 0.7829 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7661, allocations: 0 / 0.7829 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.7666, allocations: 130.7 kB / 0.783 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.7666, allocations: 0 / 0.783 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.7666, allocations: 10.44 kB / 0.783 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.7666, allocations: 0 / 0.783 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7666, allocations: 4 kB / 0.783 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/0.7673, allocations: 0.6125 MB / 0.7836 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.7675, allocations: 134.8 kB / 0.7838 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.7675, allocations: 7.75 kB / 0.7838 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.7678, allocations: 26.14 kB / 0.7838 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.7679, allocations: 22.66 kB / 0.7838 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.7679, allocations: 15.92 kB / 0.7838 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003574/0.7682, allocations: 342.2 kB / 0.7842 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7682, allocations: 0 / 0.7842 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00043/0.7687, allocations: 153 kB / 0.7843 GB, free: 12.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.000364/0.7691, allocations: 268 kB / 0.7846 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.7695, allocations: 289.2 kB / 0.7848 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7695, allocations: 3.938 kB / 0.7849 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.7697, allocations: 171.4 kB / 0.785 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.7702, allocations: 109.3 kB / 0.7851 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.7717, allocations: 0.9249 MB / 0.786 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.7722, allocations: 0.8765 MB / 0.7869 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.7724, allocations: 56.34 kB / 0.7869 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.7725, allocations: 39.38 kB / 0.787 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.7725, allocations: 0 / 0.787 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.01265/0.7851, allocations: 7.338 MB / 0.7941 GB, free: 2.949 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)