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.794/0.794, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001339/0.001339, allocations: 177 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.518/1.518, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.0009506/0.0009505, allocations: 96.3 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002869/0.002869, allocations: 276.6 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004197, allocations: 12.94 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.188, allocations: 82.8 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6325/0.8205, allocations: 121 MB / 0.892 GB, free: 21.86 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/0.8209, allocations: 121.9 kB / 0.8921 GB, free: 21.86 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02351/0.8444, allocations: 8.038 MB / 0.8999 GB, free: 21.27 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8444, allocations: 0 / 0.8999 GB, free: 21.27 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.8445, allocations: 2 kB / 0.8999 GB, free: 21.27 MB / 0.5417 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.0007009/0.8452, allocations: 0.4929 MB / 0.9004 GB, free: 20.81 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.8452, allocations: 10.22 kB / 0.9004 GB, free: 20.81 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.8453, allocations: 12.62 kB / 0.9004 GB, free: 20.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.8455, allocations: 186.6 kB / 0.9006 GB, free: 20.59 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.8455, allocations: 1.344 kB / 0.9006 GB, free: 20.59 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.8455, allocations: 0 / 0.9006 GB, free: 20.59 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.8456, allocations: 60.36 kB / 0.9007 GB, free: 20.56 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.8456, allocations: 0 / 0.9007 GB, free: 20.56 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.8457, allocations: 1.469 kB / 0.9007 GB, free: 20.56 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.8457, allocations: 0 / 0.9007 GB, free: 20.56 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.8457, allocations: 23 kB / 0.9007 GB, free: 20.56 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.8459, allocations: 195.5 kB / 0.9009 GB, free: 20.36 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.846, allocations: 44.17 kB / 0.9009 GB, free: 20.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.846, allocations: 3.828 kB / 0.9009 GB, free: 20.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.846, allocations: 35.56 kB / 0.901 GB, free: 20.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.846, allocations: 0 / 0.901 GB, free: 20.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0002488/0.8463, allocations: 198.7 kB / 0.9012 GB, free: 20.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.8463, allocations: 51.41 kB / 0.9012 GB, free: 20.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.8464, allocations: 146.7 kB / 0.9014 GB, free: 20 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.8465, allocations: 26.64 kB / 0.9014 GB, free: 19.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.8465, allocations: 98.86 kB / 0.9015 GB, free: 19.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.8465, allocations: 24.41 kB / 0.9015 GB, free: 19.87 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.8465, allocations: 0 / 0.9015 GB, free: 19.87 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.41e-05/0.8466, allocations: 321.2 kB / 0.9018 GB, free: 19.56 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.8466, allocations: 34.2 kB / 0.9018 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.8467, allocations: 28.06 kB / 0.9019 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/0.8467, allocations: 30.52 kB / 0.9019 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.8467, allocations: 8.969 kB / 0.9019 GB, free: 19.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001204/0.8469, allocations: 96.92 kB / 0.902 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.8469, allocations: 7.609 kB / 0.902 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.8469, allocations: 1.5 kB / 0.902 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.8469, allocations: 0.6875 kB / 0.902 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.153e-06/0.8469, allocations: 1.219 kB / 0.902 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.8469, allocations: 0 / 0.902 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/0.847, allocations: 1.406 kB / 0.902 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.847, allocations: 1.188 kB / 0.902 GB, free: 19.5 MB / 0.5417 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 8.509e-05/0.8471, allocations: 126.8 kB / 0.9021 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.8471, allocations: 11.45 kB / 0.9021 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.8473, allocations: 216.2 kB / 0.9023 GB, free: 19.19 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/0.8473, allocations: 178.5 kB / 0.9025 GB, free: 19.01 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.114e-05/0.8474, allocations: 186.1 kB / 0.9027 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-05/0.8474, allocations: 180 kB / 0.9029 GB, free: 18.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.8476, allocations: 444.6 kB / 0.9033 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.8476, allocations: 106.2 kB / 0.9034 GB, free: 18.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.8476, allocations: 105.2 kB / 0.9035 GB, free: 17.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.792e-05/0.8476, allocations: 184.2 kB / 0.9037 GB, free: 17.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.8477, allocations: 177.7 kB / 0.9038 GB, free: 17.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.501e-05/0.8477, allocations: 182.5 kB / 0.904 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.299e-05/0.8477, allocations: 184.4 kB / 0.9042 GB, free: 17.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.281e-05/0.8478, allocations: 310 kB / 0.9045 GB, free: 16.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.8479, allocations: 213.3 kB / 0.9047 GB, free: 16.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007015/0.8486, allocations: 187 kB / 0.9049 GB, free: 32.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.8487, allocations: 109.8 kB / 0.905 GB, free: 32.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.8488, allocations: 177.3 kB / 0.9051 GB, free: 32.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.8489, allocations: 105.9 kB / 0.9052 GB, free: 32.14 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002841/0.8492, allocations: 268.9 kB / 0.9055 GB, free: 32.06 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8492, allocations: 1.281 kB / 0.9055 GB, free: 32.06 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001033/0.8502, allocations: 246.2 kB / 0.9057 GB, free: 32 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.0008418/0.8511, allocations: 440.6 kB / 0.9061 GB, free: 31.76 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.8512, allocations: 75.38 kB / 0.9062 GB, free: 31.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8512, allocations: 0 / 0.9062 GB, free: 31.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.8513, allocations: 0 / 0.9062 GB, free: 31.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.8516, allocations: 0.5383 MB / 0.9067 GB, free: 31.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.852, allocations: 293.4 kB / 0.907 GB, free: 30.97 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.8523, allocations: 0.702 MB / 0.9077 GB, free: 30.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.998e-05/0.8524, allocations: 9.188 kB / 0.9077 GB, free: 30.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.155e-05/0.8524, allocations: 8.938 kB / 0.9077 GB, free: 30.26 MB / 0.5573 GB Notification: Performance of SimCode: time 2.31e-07/0.8524, allocations: 0 / 0.9077 GB, free: 30.26 MB / 0.5573 GB Notification: Performance of Templates: time 0.007969/0.8604, allocations: 4.122 MB / 0.9118 GB, free: 29.95 MB / 0.5573 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)