Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001146/0.001146, allocations: 193.5 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4403/0.4403, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 221.4 MB / 342.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.0009479, allocations: 96.95 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.063e-06, allocations: 0 / 493.9 MB, free: 8.016 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3308, allocations: 72.3 MB / 0.5529 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.4473, allocations: 111.4 MB / 0.6617 GB, free: 14.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.4476, allocations: 107.9 kB / 0.6618 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.05875/0.5064, allocations: 21.68 MB / 0.683 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.215e-05/0.5065, allocations: 12 kB / 0.683 GB, free: 8.871 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.001187/0.5077, allocations: 0.763 MB / 0.6837 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5077, allocations: 14.38 kB / 0.6838 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.5079, allocations: 71.16 kB / 0.6838 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.5085, allocations: 436.8 kB / 0.6842 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.5085, allocations: 12 kB / 0.6843 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.5086, allocations: 28 kB / 0.6843 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006071/0.5092, allocations: 309.9 kB / 0.6846 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/0.5098, allocations: 328.6 kB / 0.6849 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.5099, allocations: 4.594 kB / 0.6849 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.5099, allocations: 4 kB / 0.6849 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.5099, allocations: 12 kB / 0.6849 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.5121, allocations: 1.46 MB / 0.6863 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.5124, allocations: 242.2 kB / 0.6866 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.5128, allocations: 273.4 kB / 0.6868 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.5129, allocations: 7.938 kB / 0.6868 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.5129, allocations: 38.56 kB / 0.6869 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.846e-06/0.5129, allocations: 4 kB / 0.6869 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.0005582/0.5135, allocations: 309.3 kB / 0.6872 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.5135, allocations: 63.17 kB / 0.6872 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.514, allocations: 365.2 kB / 0.6876 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.514, allocations: 25.7 kB / 0.6876 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.5141, allocations: 216.1 kB / 0.6878 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.5142, allocations: 141.9 kB / 0.6879 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.5143, allocations: 4 kB / 0.688 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5144, allocations: 358.8 kB / 0.6883 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.5146, allocations: 96.75 kB / 0.6884 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.5148, allocations: 101.6 kB / 0.6885 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.5149, allocations: 117.8 kB / 0.6886 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.515, allocations: 0 / 0.6886 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004886/0.5154, allocations: 337 kB / 0.6889 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5155, allocations: 4 kB / 0.6889 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5155, allocations: 9.922 kB / 0.6889 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.5155, allocations: 7.906 kB / 0.6889 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.5161, allocations: 127.9 kB / 0.6891 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.5161, allocations: 1.031 kB / 0.6891 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.5164, allocations: 43.67 kB / 0.6891 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.5164, allocations: 8 kB / 0.6891 GB, free: 2.395 MB / 0.4948 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.688e-05/0.5165, allocations: 104.9 kB / 0.6892 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.5166, allocations: 51.42 kB / 0.6893 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.5167, allocations: 52.64 kB / 0.6893 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.5167, allocations: 8 kB / 0.6893 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.5167, allocations: 4 kB / 0.6893 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.5168, allocations: 3.984 kB / 0.6893 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.5173, allocations: 0.4898 MB / 0.6898 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5173, allocations: 0 / 0.6898 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005458/0.5179, allocations: 130.1 kB / 0.6899 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.5179, allocations: 3.906 kB / 0.6899 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.5179, allocations: 6 kB / 0.6899 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5179, allocations: 7.938 kB / 0.6899 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5179, allocations: 1.328 kB / 0.6899 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007261/0.5187, allocations: 0.573 MB / 0.6905 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.5188, allocations: 128.4 kB / 0.6906 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.5189, allocations: 0 / 0.6906 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.5191, allocations: 23.97 kB / 0.6906 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.5192, allocations: 19.97 kB / 0.6907 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.5192, allocations: 12 kB / 0.6907 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003414/0.5196, allocations: 291.2 kB / 0.691 GB, free: 440 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004212/0.52, allocations: 143.4 kB / 0.6911 GB, free: 296 kB / 0.4948 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.0003892/0.5204, allocations: 262.2 kB / 0.6913 GB, free: 36 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004637/0.5209, allocations: 280.1 kB / 0.6916 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5209, allocations: 0 / 0.6916 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.5211, allocations: 155.9 kB / 0.6918 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.5216, allocations: 81.86 kB / 0.6918 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.5233, allocations: 0.8779 MB / 0.6927 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005387/0.5238, allocations: 0.9284 MB / 0.6936 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/0.5238, allocations: 0 / 0.6936 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of Templates: time 0.01027/0.5341, allocations: 5.323 MB / 0.6988 GB, free: 8.492 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)