Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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/IBPSA 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009703/0.0009704, allocations: 175.7 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4455/0.4455, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.297/1.297, allocations: 223.2 MB / 348.4 MB, free: 5.012 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.0007369/0.0007369, allocations: 94.97 kB / 420.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003946, allocations: 15.98 kB / 0.4902 GB, free: 7.938 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3555, allocations: 71.02 MB / 0.5595 GB, free: 43.72 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.496, allocations: 120.9 MB / 0.6776 GB, free: 4.539 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.4964, allocations: 128.2 kB / 0.6777 GB, free: 4.418 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04328/0.5397, allocations: 15.25 MB / 0.6926 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5397, allocations: 0 / 0.6926 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.5397, allocations: 0 / 0.6926 GB, free: 5.133 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008588/0.5406, allocations: 0.5614 MB / 0.6931 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5406, allocations: 12.02 kB / 0.6932 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.5407, allocations: 88.12 kB / 0.6932 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.5408, allocations: 249.1 kB / 0.6935 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/0.5409, allocations: 150.9 kB / 0.6936 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.541, allocations: 154.9 kB / 0.6938 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.342e-05/0.541, allocations: 109.5 kB / 0.6939 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.5411, allocations: 75.47 kB / 0.6939 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-05/0.5411, allocations: 158.5 kB / 0.6941 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/0.5412, allocations: 154.6 kB / 0.6942 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.07e-05/0.5413, allocations: 150.6 kB / 0.6944 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.5415, allocations: 461.9 kB / 0.6948 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.601e-05/0.5416, allocations: 173.1 kB / 0.695 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.5416, allocations: 80.14 kB / 0.6951 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.5417, allocations: 79.27 kB / 0.6951 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.5417, allocations: 109.8 kB / 0.6953 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.5417, allocations: 0 / 0.6953 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 7.811e-05/0.5418, allocations: 33.55 kB / 0.6953 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.5419, allocations: 142.6 kB / 0.6954 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.542, allocations: 131.3 kB / 0.6955 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.542, allocations: 29.7 kB / 0.6956 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.5421, allocations: 88.14 kB / 0.6957 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.5421, allocations: 0 / 0.6957 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-06/0.5421, allocations: 0 / 0.6957 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5422, allocations: 318.8 kB / 0.696 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.921e-05/0.5423, allocations: 4 kB / 0.696 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/0.5423, allocations: 4 kB / 0.696 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.5423, allocations: 16.89 kB / 0.696 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.5424, allocations: 0 / 0.696 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001489/0.5425, allocations: 57.56 kB / 0.696 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.5425, allocations: 7.938 kB / 0.6961 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.5426, allocations: 4 kB / 0.6961 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5426, allocations: 4 kB / 0.6961 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.5426, allocations: 0 / 0.6961 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.5426, allocations: 0 / 0.6961 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.607e-05/0.5427, allocations: 0 / 0.6961 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.5427, allocations: 4 kB / 0.6961 GB, free: 1.355 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.34e-05/0.5428, allocations: 189.1 kB / 0.6962 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.5428, allocations: 116.8 kB / 0.6964 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.5429, allocations: 108.8 kB / 0.6965 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.315e-05/0.5429, allocations: 180.3 kB / 0.6966 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.921e-05/0.543, allocations: 180.2 kB / 0.6968 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.66e-05/0.543, allocations: 190.7 kB / 0.697 GB, free: 376 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.5433, allocations: 413.2 kB / 0.6974 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/0.5433, allocations: 105 kB / 0.6975 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.5433, allocations: 105 kB / 0.6976 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-05/0.5434, allocations: 184.2 kB / 0.6978 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/0.5434, allocations: 188.2 kB / 0.6979 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.429e-05/0.5435, allocations: 180.3 kB / 0.6981 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.017e-05/0.5436, allocations: 180.2 kB / 0.6983 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.5437, allocations: 307.8 kB / 0.6986 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.5437, allocations: 186 kB / 0.6987 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.5438, allocations: 184.2 kB / 0.6989 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.5439, allocations: 108.9 kB / 0.699 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.5439, allocations: 180.2 kB / 0.6992 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.544, allocations: 104.9 kB / 0.6993 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.544, allocations: 97.45 kB / 0.6994 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.544, allocations: 0 / 0.6994 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000879/0.5449, allocations: 319.5 kB / 0.6997 GB, free: 13.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.00119/0.5461, allocations: 0.5672 MB / 0.7003 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.6e-05/0.5462, allocations: 37.7 kB / 0.7003 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5462, allocations: 0 / 0.7003 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.5462, allocations: 0 / 0.7003 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.5466, allocations: 0.5264 MB / 0.7008 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.5469, allocations: 255.7 kB / 0.701 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.5471, allocations: 0.6848 MB / 0.7017 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.496e-05/0.5472, allocations: 7.984 kB / 0.7017 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.5472, allocations: 7.438 kB / 0.7017 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of SimCode: time 2e-07/0.5472, allocations: 0 / 0.7017 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.009155/0.5564, allocations: 5.499 MB / 0.7071 GB, free: 5.82 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)