Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7437/0.7437, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009848/0.0009851, allocations: 180 kB / 187.2 MB, free: 11.89 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.457/1.457, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009248/0.0009247, allocations: 94.52 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001797/0.001797, allocations: 276.8 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.459e-05/4.504e-05, allocations: 4 kB / 0.6835 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4446, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.5857, allocations: 121 MB / 0.8825 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.586, allocations: 119.8 kB / 0.8826 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02304/0.6091, allocations: 8 MB / 0.8904 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6091, allocations: 4 kB / 0.8904 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.6091, allocations: 0 / 0.8904 GB, free: 11.45 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005819/0.6097, allocations: 482.7 kB / 0.8909 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.6098, allocations: 8.031 kB / 0.8909 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.6098, allocations: 15.84 kB / 0.8909 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.61, allocations: 195.3 kB / 0.8911 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.61, allocations: 0 / 0.8911 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.6101, allocations: 0 / 0.8911 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.6102, allocations: 61.67 kB / 0.8911 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.6102, allocations: 0 / 0.8911 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.6102, allocations: 0 / 0.8911 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.6102, allocations: 0 / 0.8911 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.128e-05/0.6103, allocations: 23.92 kB / 0.8911 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.6105, allocations: 189.6 kB / 0.8913 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.776e-05/0.6106, allocations: 42.56 kB / 0.8914 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.6107, allocations: 36.88 kB / 0.8914 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.6107, allocations: 4 kB / 0.8914 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.6107, allocations: 38.55 kB / 0.8914 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.6107, allocations: 0 / 0.8914 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0001751/0.6109, allocations: 89.52 kB / 0.8915 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.611, allocations: 55.41 kB / 0.8916 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.6111, allocations: 136.4 kB / 0.8917 GB, free: 9.902 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.6111, allocations: 25.7 kB / 0.8917 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.6112, allocations: 96.14 kB / 0.8918 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.6112, allocations: 31.58 kB / 0.8919 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.6112, allocations: 0 / 0.8919 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6114, allocations: 322.8 kB / 0.8922 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.6114, allocations: 28.14 kB / 0.8922 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.6114, allocations: 27.97 kB / 0.8922 GB, free: 9.363 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.623e-05/0.6115, allocations: 31.73 kB / 0.8922 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6115, allocations: 0 / 0.8922 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001272/0.6116, allocations: 97.52 kB / 0.8923 GB, free: 9.234 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6117, allocations: 11.94 kB / 0.8924 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6117, allocations: 0 / 0.8924 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.6117, allocations: 4.062 kB / 0.8924 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.6117, allocations: 0 / 0.8924 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.6117, allocations: 0 / 0.8924 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.6117, allocations: 11.84 kB / 0.8924 GB, free: 9.207 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.6118, allocations: 3.938 kB / 0.8924 GB, free: 9.203 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 () * 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.081e-05/0.6118, allocations: 101 kB / 0.8925 GB, free: 9.098 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.6119, allocations: 11.86 kB / 0.8925 GB, free: 9.086 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.6121, allocations: 212.3 kB / 0.8927 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/0.6121, allocations: 180.2 kB / 0.8929 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.187e-05/0.6122, allocations: 176.3 kB / 0.893 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-05/0.6123, allocations: 184.2 kB / 0.8932 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.6125, allocations: 433.2 kB / 0.8936 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.473e-05/0.6126, allocations: 104.9 kB / 0.8937 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.6126, allocations: 108.9 kB / 0.8938 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-05/0.6127, allocations: 188.2 kB / 0.894 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.6127, allocations: 184.2 kB / 0.8942 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-05/0.6128, allocations: 176.3 kB / 0.8943 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.153e-05/0.6129, allocations: 180.3 kB / 0.8945 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.613, allocations: 323.5 kB / 0.8948 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.6132, allocations: 217.8 kB / 0.895 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.628e-05/0.6133, allocations: 184.2 kB / 0.8952 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.6134, allocations: 101 kB / 0.8953 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.6134, allocations: 192.2 kB / 0.8955 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.6135, allocations: 110.2 kB / 0.8956 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002558/0.6137, allocations: 268.7 kB / 0.8958 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-07/0.6137, allocations: 0 / 0.8958 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007538/0.6145, allocations: 239.7 kB / 0.8961 GB, free: 5.176 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 () * 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.0007478/0.6153, allocations: 441.9 kB / 0.8965 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.6154, allocations: 69.67 kB / 0.8966 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6154, allocations: 0 / 0.8966 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.6154, allocations: 64 / 0.8966 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.6158, allocations: 0.538 MB / 0.8971 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.616, allocations: 184.4 kB / 0.8973 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.6163, allocations: 0.7043 MB / 0.8979 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.101e-05/0.6163, allocations: 8 kB / 0.898 GB, free: 3.176 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.6163, allocations: 7.438 kB / 0.898 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of SimCode: time 2.31e-07/0.6163, allocations: 0 / 0.898 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of Templates: time 0.007493/0.6238, allocations: 4.191 MB / 0.9021 GB, free: 15.03 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)