Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8174/0.8174, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 173.1 kB / 191.5 MB, free: 5.758 MB / 154.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: 223.2 MB / 447.7 MB, free: 6.52 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009646/0.0009647, allocations: 91.94 kB / 0.5188 GB, free: 2.875 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 277.1 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.000435, allocations: 12 kB / 0.6929 GB, free: 2.246 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4053, allocations: 82.77 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5697, allocations: 129.4 MB / 0.9001 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.5701, allocations: 127.8 kB / 0.9003 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.4292/0.9993, allocations: 15.26 MB / 0.9152 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9993, allocations: 2.156 kB / 0.9152 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.9993, allocations: 1.219 kB / 0.9152 GB, free: 127.8 MB / 0.5573 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.001116/1, allocations: 0.5665 MB / 0.9157 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1, allocations: 11.09 kB / 0.9157 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/1.001, allocations: 80.7 kB / 0.9158 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/1.001, allocations: 246.2 kB / 0.916 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/1.001, allocations: 151.6 kB / 0.9162 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/1.001, allocations: 154.7 kB / 0.9163 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.558e-05/1.001, allocations: 101.9 kB / 0.9164 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/1.001, allocations: 78.72 kB / 0.9165 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/1.001, allocations: 151.6 kB / 0.9166 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/1.001, allocations: 155.5 kB / 0.9168 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.746e-05/1.001, allocations: 155.6 kB / 0.9169 GB, free: 126 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/1.001, allocations: 464.3 kB / 0.9174 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.122e-05/1.001, allocations: 173.8 kB / 0.9176 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/1.001, allocations: 78.53 kB / 0.9176 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/1.001, allocations: 111.3 kB / 0.9177 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/1.001, allocations: 0.6562 kB / 0.9177 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.062e-05/1.001, allocations: 36.42 kB / 0.9178 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/1.001, allocations: 126.7 kB / 0.9179 GB, free: 125 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.001, allocations: 125.7 kB / 0.918 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/1.001, allocations: 25.7 kB / 0.918 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/1.002, allocations: 90.77 kB / 0.9181 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/1.002, allocations: 0 / 0.9181 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/1.002, allocations: 3.938 kB / 0.9181 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.351e-05/1.002, allocations: 319.6 kB / 0.9184 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/1.002, allocations: 5.812 kB / 0.9184 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/1.002, allocations: 7.781 kB / 0.9184 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/1.002, allocations: 3.719 kB / 0.9184 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.002, allocations: 0 / 0.9184 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001142/1.002, allocations: 58.58 kB / 0.9185 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.002, allocations: 4.625 kB / 0.9185 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.002, allocations: 7.5 kB / 0.9185 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/1.002, allocations: 0 / 0.9185 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.492e-06/1.002, allocations: 1.125 kB / 0.9185 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/1.002, allocations: 0 / 0.9185 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/1.002, allocations: 1.031 kB / 0.9185 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/1.002, allocations: 0.9688 kB / 0.9185 GB, free: 124.4 MB / 0.5573 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 6.77e-05/1.002, allocations: 186.8 kB / 0.9187 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/1.002, allocations: 118.7 kB / 0.9188 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/1.002, allocations: 115.5 kB / 0.9189 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/1.002, allocations: 177.6 kB / 0.9191 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.978e-05/1.002, allocations: 180 kB / 0.9193 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/1.002, allocations: 184.7 kB / 0.9194 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/1.002, allocations: 409.2 kB / 0.9198 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/1.002, allocations: 111.2 kB / 0.9199 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.87e-05/1.002, allocations: 106 kB / 0.92 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.001e-05/1.002, allocations: 185.8 kB / 0.9202 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/1.003, allocations: 180.2 kB / 0.9204 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.861e-05/1.003, allocations: 181.7 kB / 0.9206 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.722e-05/1.003, allocations: 181.7 kB / 0.9207 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.322e-05/1.003, allocations: 315.6 kB / 0.921 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/1.003, allocations: 179.6 kB / 0.9212 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/1.003, allocations: 186.1 kB / 0.9214 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/1.003, allocations: 110 kB / 0.9215 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/1.003, allocations: 181.9 kB / 0.9217 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/1.003, allocations: 104.9 kB / 0.9218 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.504e-05/1.003, allocations: 98.94 kB / 0.9218 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.003, allocations: 0 / 0.9218 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00122/1.004, allocations: 325.3 kB / 0.9222 GB, free: 120.8 MB / 0.5573 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.001376/1.006, allocations: 0.574 MB / 0.9227 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001152/1.006, allocations: 35.61 kB / 0.9228 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.006, allocations: 1.031 kB / 0.9228 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/1.006, allocations: 0 / 0.9228 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/1.006, allocations: 0.5298 MB / 0.9233 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/1.006, allocations: 257 kB / 0.9235 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/1.006, allocations: 0.689 MB / 0.9242 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.798e-05/1.007, allocations: 1.375 kB / 0.9242 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.169e-05/1.007, allocations: 12.97 kB / 0.9242 GB, free: 119 MB / 0.5573 GB Notification: Performance of SimCode: time 2.2e-07/1.007, allocations: 0 / 0.9242 GB, free: 119 MB / 0.5573 GB Notification: Performance of Templates: time 0.01143/1.018, allocations: 5.213 MB / 0.9293 GB, free: 118.6 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)