Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.009271/0.009271, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7764/0.7764, allocations: 132.3 MB / 148.1 MB, free: 192 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 223.2 MB / 403.2 MB, free: 6.707 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 97.42 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003752, allocations: 16 kB / 0.5641 GB, free: 2.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.456, allocations: 81.58 MB / 0.6438 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1714/0.6275, allocations: 119.6 MB / 0.7606 GB, free: 332 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/0.6279, allocations: 111.9 kB / 0.7607 GB, free: 220 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0493/0.6772, allocations: 18.21 MB / 0.7785 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6773, allocations: 0 / 0.7785 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.6773, allocations: 8 kB / 0.7785 GB, free: 13.92 MB / 0.5573 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.0009646/0.6782, allocations: 0.6609 MB / 0.7791 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.6783, allocations: 8.031 kB / 0.7791 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.416e-05/0.6784, allocations: 47.39 kB / 0.7792 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.6789, allocations: 357.2 kB / 0.7795 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.6789, allocations: 12.44 kB / 0.7795 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.6789, allocations: 23.94 kB / 0.7796 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.6794, allocations: 203.3 kB / 0.7798 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.6794, allocations: 3.906 kB / 0.7798 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.6794, allocations: 11.98 kB / 0.7798 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.6794, allocations: 4 kB / 0.7798 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.6798, allocations: 181.6 kB / 0.78 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.681, allocations: 0.8702 MB / 0.7808 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.6813, allocations: 162.6 kB / 0.781 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.6814, allocations: 3.984 kB / 0.781 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.6814, allocations: 34.56 kB / 0.781 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.6814, allocations: 0 / 0.781 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0005942/0.682, allocations: 267.1 kB / 0.7812 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.6821, allocations: 51.41 kB / 0.7813 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.6825, allocations: 372.8 kB / 0.7817 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.6825, allocations: 29.7 kB / 0.7817 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.6827, allocations: 208.2 kB / 0.7819 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.6827, allocations: 62.95 kB / 0.7819 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.6828, allocations: 15.94 kB / 0.782 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6829, allocations: 346.8 kB / 0.7823 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.6831, allocations: 55.97 kB / 0.7823 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.6832, allocations: 63.92 kB / 0.7824 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.6834, allocations: 71.98 kB / 0.7825 GB, free: 9.613 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6834, allocations: 0 / 0.7825 GB, free: 9.613 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003894/0.6838, allocations: 215.6 kB / 0.7827 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6838, allocations: 4 kB / 0.7827 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.6838, allocations: 7.984 kB / 0.7827 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.6838, allocations: 0 / 0.7827 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.6841, allocations: 51.97 kB / 0.7827 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.6841, allocations: 0 / 0.7827 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.6843, allocations: 31.73 kB / 0.7828 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.6843, allocations: 8 kB / 0.7828 GB, free: 9.297 MB / 0.5573 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 () * Number of clocked 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 0.0001817/0.6845, allocations: 174.1 kB / 0.7829 GB, free: 9.117 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.6846, allocations: 35.62 kB / 0.783 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.6847, allocations: 35.59 kB / 0.783 GB, free: 9.047 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.6847, allocations: 7.984 kB / 0.783 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6847, allocations: 0 / 0.783 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6847, allocations: 0 / 0.783 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.6851, allocations: 381.2 kB / 0.7834 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6851, allocations: 0 / 0.7834 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.6854, allocations: 63.91 kB / 0.7834 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.6854, allocations: 4 kB / 0.7834 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.6854, allocations: 0 / 0.7834 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6854, allocations: 0 / 0.7834 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6854, allocations: 0 / 0.7834 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.6861, allocations: 401.4 kB / 0.7838 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.6862, allocations: 116.6 kB / 0.7839 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.6862, allocations: 4 kB / 0.7839 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.6864, allocations: 20.05 kB / 0.784 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.6865, allocations: 7.984 kB / 0.784 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.6865, allocations: 8 kB / 0.784 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003158/0.6868, allocations: 299.1 kB / 0.7843 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.823e-06/0.6868, allocations: 0 / 0.7843 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003936/0.6872, allocations: 87.78 kB / 0.7843 GB, free: 7.598 MB / 0.5573 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 () * Number of clocked 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.0004257/0.6876, allocations: 264.1 kB / 0.7846 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003913/0.688, allocations: 155.9 kB / 0.7847 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6881, allocations: 0 / 0.7847 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.6882, allocations: 87.81 kB / 0.7848 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.6887, allocations: 93.38 kB / 0.7849 GB, free: 7.012 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.69, allocations: 0.888 MB / 0.7858 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.6904, allocations: 0.8109 MB / 0.7866 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.6905, allocations: 34.91 kB / 0.7866 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.6906, allocations: 23.44 kB / 0.7866 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.6906, allocations: 0 / 0.7866 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of Templates: time 0.01148/0.7021, allocations: 5.234 MB / 0.7917 GB, free: 60 kB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)