Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.002016/0.002016, allocations: 181.5 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5907/0.5907, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.12/1.12, 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.0008811/0.0008811, allocations: 104.4 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.452e-06, allocations: 2.875 kB / 0.5529 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3284/0.4328, allocations: 121.2 MB / 0.7516 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4331, allocations: 112 kB / 0.7517 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04989/0.483, allocations: 21.67 MB / 0.7729 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.4831, allocations: 11.19 kB / 0.7729 GB, free: 3.41 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.001176/0.4842, allocations: 0.7628 MB / 0.7736 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4843, allocations: 7.969 kB / 0.7736 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.4844, allocations: 80.39 kB / 0.7737 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.4851, allocations: 434.4 kB / 0.7741 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.4851, allocations: 17.06 kB / 0.7741 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.4852, allocations: 28.25 kB / 0.7742 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000509/0.4857, allocations: 304.9 kB / 0.7744 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.4863, allocations: 333 kB / 0.7748 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.4863, allocations: 3.906 kB / 0.7748 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.4863, allocations: 0 / 0.7748 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.4863, allocations: 17.22 kB / 0.7748 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.4884, allocations: 1.448 MB / 0.7762 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.4887, allocations: 256.5 kB / 0.7764 GB, free: 17.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/0.4891, allocations: 284.6 kB / 0.7767 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.4892, allocations: 3.719 kB / 0.7767 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.4892, allocations: 37.12 kB / 0.7768 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 1.583e-06/0.4892, allocations: 0 / 0.7768 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0005431/0.4897, allocations: 314.2 kB / 0.7771 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.4898, allocations: 54.94 kB / 0.7771 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/0.4903, allocations: 365.7 kB / 0.7775 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.4903, allocations: 25.7 kB / 0.7775 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.246e-05/0.4904, allocations: 219.4 kB / 0.7777 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/0.4905, allocations: 144 kB / 0.7778 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.4905, allocations: 0 / 0.7778 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4906, allocations: 354.2 kB / 0.7782 GB, free: 16.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.4908, allocations: 96.41 kB / 0.7783 GB, free: 16.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.491, allocations: 103.2 kB / 0.7784 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.4911, allocations: 119.6 kB / 0.7785 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4911, allocations: 0 / 0.7785 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004797/0.4916, allocations: 338.4 kB / 0.7788 GB, free: 16.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.4916, allocations: 9.094 kB / 0.7788 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.4917, allocations: 0.7656 kB / 0.7788 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4917, allocations: 2.531 kB / 0.7788 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.4922, allocations: 125.6 kB / 0.7789 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4922, allocations: 6.031 kB / 0.7789 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.4925, allocations: 41.38 kB / 0.779 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.4925, allocations: 11.38 kB / 0.779 GB, free: 16.47 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 8.455e-05/0.4926, allocations: 110 kB / 0.7791 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.4927, allocations: 49.44 kB / 0.7791 GB, free: 16.33 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.266e-05/0.4928, allocations: 54.62 kB / 0.7792 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4928, allocations: 3.375 kB / 0.7792 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4928, allocations: 0.9375 kB / 0.7792 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4928, allocations: 3.984 kB / 0.7792 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.4933, allocations: 0.4933 MB / 0.7797 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4933, allocations: 0 / 0.7797 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.4938, allocations: 135.7 kB / 0.7798 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4938, allocations: 0 / 0.7798 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.4939, allocations: 4 kB / 0.7798 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4939, allocations: 11.89 kB / 0.7798 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4939, allocations: 0 / 0.7798 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005627/0.4944, allocations: 0.574 MB / 0.7804 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.75e-05/0.4945, allocations: 134.7 kB / 0.7805 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.4946, allocations: 3.938 kB / 0.7805 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.4948, allocations: 19.98 kB / 0.7805 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.4949, allocations: 19.03 kB / 0.7805 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4949, allocations: 10.81 kB / 0.7806 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002417/0.4952, allocations: 294.1 kB / 0.7808 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003513/0.4955, allocations: 135.5 kB / 0.781 GB, free: 14.95 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.0002994/0.4958, allocations: 275.6 kB / 0.7812 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003189/0.4962, allocations: 273 kB / 0.7815 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.4962, allocations: 0 / 0.7815 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.4963, allocations: 170.1 kB / 0.7817 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.4967, allocations: 74.61 kB / 0.7817 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.4982, allocations: 0.8757 MB / 0.7826 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005448/0.4988, allocations: 0.9289 MB / 0.7835 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4988, allocations: 0 / 0.7835 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.009539/0.5083, allocations: 5.324 MB / 0.7887 GB, free: 7.422 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)