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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002912/0.002912, allocations: 178.3 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.662/0.662, allocations: 130.6 MB / 138.5 MB, free: 2.184 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.3 MB / 391.4 MB, free: 13.12 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.0009652/0.0009652, allocations: 104.6 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.624e-06/7.654e-06, allocations: 0 / 0.5479 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1798, allocations: 81.59 MB / 0.6276 GB, free: 18.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5221/0.702, allocations: 120.9 MB / 0.7457 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.7024, allocations: 107.1 kB / 0.7458 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.05384/0.7562, allocations: 21.67 MB / 0.767 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.7563, allocations: 10.69 kB / 0.767 GB, free: 4.684 MB / 0.4948 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.001155/0.7575, allocations: 0.7651 MB / 0.7677 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7575, allocations: 9.562 kB / 0.7677 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.7577, allocations: 77.62 kB / 0.7678 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007607/0.7584, allocations: 440.8 kB / 0.7682 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.7585, allocations: 15 kB / 0.7683 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.962e-05/0.7586, allocations: 32.44 kB / 0.7683 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006928/0.7593, allocations: 308.1 kB / 0.7686 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.76, allocations: 324.6 kB / 0.7689 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.76, allocations: 8.969 kB / 0.7689 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.7601, allocations: 0 / 0.7689 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.7601, allocations: 11.5 kB / 0.7689 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.7626, allocations: 1.458 MB / 0.7703 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.7631, allocations: 245.7 kB / 0.7706 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.7636, allocations: 280.8 kB / 0.7708 GB, free: 18.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.7636, allocations: 4 kB / 0.7708 GB, free: 18.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.7637, allocations: 38.97 kB / 0.7709 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 2.004e-06/0.7637, allocations: 0 / 0.7709 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0006311/0.7643, allocations: 312.8 kB / 0.7712 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.7644, allocations: 57.28 kB / 0.7712 GB, free: 18.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.7649, allocations: 372.8 kB / 0.7716 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.765, allocations: 27.17 kB / 0.7716 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.7651, allocations: 210.5 kB / 0.7718 GB, free: 18.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.7652, allocations: 143.6 kB / 0.7719 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.7653, allocations: 0 / 0.7719 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.7655, allocations: 362 kB / 0.7723 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.7656, allocations: 97.09 kB / 0.7724 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.7659, allocations: 99.44 kB / 0.7725 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.7661, allocations: 120.4 kB / 0.7726 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7661, allocations: 4 kB / 0.7726 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005546/0.7666, allocations: 333.5 kB / 0.7729 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.7667, allocations: 5.281 kB / 0.7729 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.7667, allocations: 1 kB / 0.7729 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.7667, allocations: 1.406 kB / 0.7729 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.7673, allocations: 125.6 kB / 0.773 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.7673, allocations: 14.97 kB / 0.7731 GB, free: 17.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.7676, allocations: 36.91 kB / 0.7731 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.7676, allocations: 10.88 kB / 0.7731 GB, free: 17.74 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 0.000123/0.7678, allocations: 114 kB / 0.7732 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/0.7679, allocations: 44.91 kB / 0.7733 GB, free: 17.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.768, allocations: 55.52 kB / 0.7733 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.768, allocations: 4.531 kB / 0.7733 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.768, allocations: 0 / 0.7733 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.768, allocations: 0 / 0.7733 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.7687, allocations: 0.4987 MB / 0.7738 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7687, allocations: 1.562 kB / 0.7738 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.7693, allocations: 130.3 kB / 0.7739 GB, free: 17.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7693, allocations: 1.125 kB / 0.7739 GB, free: 17.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.7694, allocations: 1.188 kB / 0.7739 GB, free: 17.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.7694, allocations: 10.69 kB / 0.7739 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7694, allocations: 0 / 0.7739 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008231/0.7702, allocations: 0.5695 MB / 0.7745 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.7703, allocations: 140 kB / 0.7746 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.7704, allocations: 1.5 kB / 0.7746 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.7707, allocations: 14.95 kB / 0.7746 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.7707, allocations: 21.12 kB / 0.7747 GB, free: 16.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.7708, allocations: 13.77 kB / 0.7747 GB, free: 16.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003439/0.7711, allocations: 292.2 kB / 0.775 GB, free: 16.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004683/0.7716, allocations: 143.8 kB / 0.7751 GB, free: 16.8 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.000425/0.772, allocations: 275 kB / 0.7754 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004566/0.7725, allocations: 282 kB / 0.7756 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7725, allocations: 4 kB / 0.7756 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.7727, allocations: 161.1 kB / 0.7758 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.7732, allocations: 75.2 kB / 0.7759 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.7749, allocations: 0.8777 MB / 0.7767 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/0.7756, allocations: 0.9232 MB / 0.7776 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/0.7756, allocations: 4 kB / 0.7776 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of Templates: time 0.01136/0.7869, allocations: 5.312 MB / 0.7828 GB, free: 12.79 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)