Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7813/0.7813, allocations: 143.4 MB / 158.3 MB, free: 5.812 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.001242/0.001242, allocations: 188.6 kB / 191.5 MB, free: 5.777 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.507/1.507, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.001072/0.001072, allocations: 92.31 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001791, allocations: 282.4 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004268, allocations: 14.5 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1854, allocations: 82.79 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5393/0.7248, allocations: 113.1 MB / 0.8842 GB, free: 32.99 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.7252, allocations: 122.7 kB / 0.8843 GB, free: 32.99 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01891/0.7441, allocations: 6.291 MB / 0.8905 GB, free: 32.37 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7442, allocations: 0 / 0.8905 GB, free: 32.37 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.7442, allocations: 1.562 kB / 0.8905 GB, free: 32.37 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006028/0.7448, allocations: 402 kB / 0.8909 GB, free: 31.96 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.7449, allocations: 11.75 kB / 0.8909 GB, free: 31.96 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.7449, allocations: 0 / 0.8909 GB, free: 31.96 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.7451, allocations: 168.1 kB / 0.891 GB, free: 31.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.7451, allocations: 3.953 kB / 0.891 GB, free: 31.76 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.7451, allocations: 5.594 kB / 0.891 GB, free: 31.76 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.7452, allocations: 40.78 kB / 0.8911 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.7453, allocations: 0 / 0.8911 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.7453, allocations: 0 / 0.8911 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.7453, allocations: 0 / 0.8911 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/0.7453, allocations: 12.69 kB / 0.8911 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.7455, allocations: 166.5 kB / 0.8912 GB, free: 31.53 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.7457, allocations: 51.05 kB / 0.8913 GB, free: 31.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008381/0.7465, allocations: 0.9813 MB / 0.8923 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.7465, allocations: 34.38 kB / 0.8923 GB, free: 30.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.7466, allocations: 4 kB / 0.8923 GB, free: 30.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001978/0.7468, allocations: 55.78 kB / 0.8923 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.7468, allocations: 55.34 kB / 0.8924 GB, free: 30.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.7469, allocations: 100.4 kB / 0.8925 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.7469, allocations: 25.7 kB / 0.8925 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.7469, allocations: 86.58 kB / 0.8926 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.747, allocations: 9.734 kB / 0.8926 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.747, allocations: 6.875 kB / 0.8926 GB, free: 30.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.7471, allocations: 320.5 kB / 0.8929 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.7471, allocations: 2.469 kB / 0.8929 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.7471, allocations: 6.609 kB / 0.8929 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.7472, allocations: 9.438 kB / 0.8929 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7472, allocations: 3.938 kB / 0.8929 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.695e-05/0.7472, allocations: 49.77 kB / 0.893 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.7473, allocations: 6.859 kB / 0.893 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.7473, allocations: 7 kB / 0.893 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.7473, allocations: 0 / 0.893 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.7474, allocations: 16.89 kB / 0.893 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.7475, allocations: 6.062 kB / 0.893 GB, free: 29.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.7475, allocations: 0 / 0.893 GB, free: 29.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.7475, allocations: 2.625 kB / 0.893 GB, free: 29.64 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 (4): * Single equations (assignments): 4 * 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 8.189e-05/0.7476, allocations: 110.1 kB / 0.8931 GB, free: 29.53 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-06/0.7476, allocations: 6.75 kB / 0.8931 GB, free: 29.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.7478, allocations: 64.03 kB / 0.8932 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.7478, allocations: 0 / 0.8932 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7478, allocations: 2.938 kB / 0.8932 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7478, allocations: 0 / 0.8932 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.7479, allocations: 160.7 kB / 0.8934 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7479, allocations: 0 / 0.8934 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.183e-05/0.748, allocations: 20.84 kB / 0.8934 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.748, allocations: 0 / 0.8934 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.748, allocations: 0 / 0.8934 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.7481, allocations: 7.703 kB / 0.8934 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7481, allocations: 0 / 0.8934 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.7482, allocations: 75.86 kB / 0.8935 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.7482, allocations: 87.55 kB / 0.8935 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.7482, allocations: 2.109 kB / 0.8935 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.355e-05/0.7483, allocations: 0 / 0.8935 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.7483, allocations: 10.42 kB / 0.8935 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.7484, allocations: 0 / 0.8935 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.7484, allocations: 83.36 kB / 0.8936 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7484, allocations: 0 / 0.8936 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002985/0.7487, allocations: 52.56 kB / 0.8937 GB, free: 29.02 MB / 0.5417 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 (4): * Single equations (assignments): 4 * 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.0003124/0.749, allocations: 166.3 kB / 0.8938 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.7492, allocations: 15.64 kB / 0.8939 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7492, allocations: 0 / 0.8939 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.7492, allocations: 13.69 kB / 0.8939 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.7494, allocations: 6.25 kB / 0.8939 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.7498, allocations: 171.8 kB / 0.894 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.75, allocations: 0.6849 MB / 0.8947 GB, free: 28.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.75, allocations: 7.516 kB / 0.8947 GB, free: 28.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.7501, allocations: 10.12 kB / 0.8947 GB, free: 28.07 MB / 0.5417 GB Notification: Performance of SimCode: time 7.51e-07/0.7501, allocations: 2.719 kB / 0.8947 GB, free: 28.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.003834/0.7539, allocations: 1.033 MB / 0.8957 GB, free: 28.01 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)