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") [: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.002105/0.002105, allocations: 184.8 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5946/0.5946, allocations: 133.5 MB / 141.4 MB, free: 15.74 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.13/1.13, allocations: 221.3 MB / 395 MB, free: 10.18 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.0008683/0.0008683, allocations: 95.02 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.56e-06/5.58e-06, allocations: 0 / 0.5529 GB, free: 88.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3351/0.444, allocations: 119 MB / 0.7495 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.4443, allocations: 108.1 kB / 0.7496 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04256/0.4868, allocations: 17.69 MB / 0.7669 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.4869, allocations: 7.062 kB / 0.7669 GB, free: 5.484 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006877/0.4876, allocations: 0.5742 MB / 0.7674 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.4876, allocations: 8.938 kB / 0.7675 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.4877, allocations: 45.53 kB / 0.7675 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.4881, allocations: 359.5 kB / 0.7678 GB, free: 20.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4881, allocations: 15.62 kB / 0.7679 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.4882, allocations: 15.53 kB / 0.7679 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002332/0.4884, allocations: 120.5 kB / 0.768 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.4887, allocations: 152.3 kB / 0.7681 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4887, allocations: 0 / 0.7681 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.4887, allocations: 1.281 kB / 0.7681 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4887, allocations: 4.406 kB / 0.7681 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.4897, allocations: 0.8232 MB / 0.7689 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.4899, allocations: 109.2 kB / 0.769 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.49, allocations: 93.2 kB / 0.7691 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.49, allocations: 6.062 kB / 0.7691 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.4901, allocations: 31.78 kB / 0.7692 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.4901, allocations: 0 / 0.7692 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0002923/0.4904, allocations: 164.5 kB / 0.7693 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.4904, allocations: 53.03 kB / 0.7694 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.4907, allocations: 334.3 kB / 0.7697 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.4908, allocations: 25.7 kB / 0.7697 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.4908, allocations: 156.5 kB / 0.7699 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.4909, allocations: 56.58 kB / 0.7699 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.4909, allocations: 0 / 0.7699 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.491, allocations: 351.3 kB / 0.7703 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.4911, allocations: 37.88 kB / 0.7703 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-05/0.4911, allocations: 44.39 kB / 0.7703 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.392e-05/0.4912, allocations: 47.64 kB / 0.7704 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4912, allocations: 0 / 0.7704 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002209/0.4915, allocations: 167.2 kB / 0.7705 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4915, allocations: 8.969 kB / 0.7706 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4915, allocations: 0 / 0.7706 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4915, allocations: 5.25 kB / 0.7706 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.4918, allocations: 56.62 kB / 0.7706 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4918, allocations: 1.156 kB / 0.7706 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.4919, allocations: 26.95 kB / 0.7706 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.492, allocations: 7.094 kB / 0.7706 GB, free: 19.14 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 6.928e-05/0.492, allocations: 106.3 kB / 0.7707 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.4921, allocations: 30.44 kB / 0.7708 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.999e-05/0.4922, allocations: 44.64 kB / 0.7708 GB, free: 19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4922, allocations: 2.594 kB / 0.7708 GB, free: 19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4922, allocations: 0 / 0.7708 GB, free: 19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4922, allocations: 5 kB / 0.7708 GB, free: 18.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.4925, allocations: 335 kB / 0.7711 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4925, allocations: 0 / 0.7711 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.4928, allocations: 60.88 kB / 0.7712 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4928, allocations: 0 / 0.7712 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4928, allocations: 1.312 kB / 0.7712 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4928, allocations: 1.344 kB / 0.7712 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4928, allocations: 3.938 kB / 0.7712 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003451/0.4932, allocations: 331.8 kB / 0.7715 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/0.4932, allocations: 121.5 kB / 0.7716 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.4933, allocations: 1.531 kB / 0.7716 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.4935, allocations: 9.469 kB / 0.7717 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.4935, allocations: 15.84 kB / 0.7717 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.4935, allocations: 5.281 kB / 0.7717 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002416/0.4938, allocations: 260.1 kB / 0.7719 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003114/0.4941, allocations: 75.62 kB / 0.772 GB, free: 18.34 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.0003758/0.4945, allocations: 265.5 kB / 0.7722 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.4947, allocations: 114.2 kB / 0.7724 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4947, allocations: 0 / 0.7724 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.4948, allocations: 61.72 kB / 0.7724 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.4952, allocations: 71.64 kB / 0.7725 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009302/0.4962, allocations: 0.5057 MB / 0.773 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.4965, allocations: 0.8376 MB / 0.7738 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.4966, allocations: 0 / 0.7738 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of Templates: time 0.006581/0.5031, allocations: 3.614 MB / 0.7773 GB, free: 15.37 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)