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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008985/0.0008984, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005521/0.005521, allocations: 174.5 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001731/0.001731, allocations: 266.8 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9501/0.9501, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.00041, allocations: 12.66 kB / 0.5987 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 88.55 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001397/0.1597, allocations: 1.081 MB / 0.6862 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1614, allocations: 1.096 MB / 0.6873 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.1614, allocations: 0 / 0.6873 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.1614, allocations: 3.984 kB / 0.6873 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.913e-05/0.1615, allocations: 7.938 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.162, allocations: 148.2 kB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.528e-05/0.1621, allocations: 28.42 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.1621, allocations: 5.656 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.539e-05/0.1622, allocations: 15.92 kB / 0.6875 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.1622, allocations: 23.91 kB / 0.6875 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.1623, allocations: 2.312 kB / 0.6875 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005428/0.1628, allocations: 423.5 kB / 0.6879 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.1628, allocations: 0 / 0.6879 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.1629, allocations: 45.56 kB / 0.688 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.1632, allocations: 195.6 kB / 0.6882 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1632, allocations: 3.938 kB / 0.6882 GB, free: 11.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1632, allocations: 0.6562 kB / 0.6882 GB, free: 11.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1632, allocations: 0 / 0.6882 GB, free: 11.92 MB / 494.1 MB 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.0003886/0.1636, allocations: 380.6 kB / 0.6885 GB, free: 11.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1636, allocations: 8.031 kB / 0.6885 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.1637, allocations: 12.34 kB / 0.6886 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.1638, allocations: 168.3 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1638, allocations: 8.312 kB / 0.6887 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.1638, allocations: 384 / 0.6887 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.1639, allocations: 46 kB / 0.6888 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.1639, allocations: 0 / 0.6888 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.164, allocations: 0 / 0.6888 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.164, allocations: 0 / 0.6888 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/0.164, allocations: 16.72 kB / 0.6888 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.1642, allocations: 162.5 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.516e-05/0.1643, allocations: 39.33 kB / 0.689 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.1643, allocations: 13.45 kB / 0.689 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009147/0.1652, allocations: 0.9949 MB / 0.69 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.1653, allocations: 34.5 kB / 0.69 GB, free: 9.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1653, allocations: 0 / 0.69 GB, free: 9.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001625/0.1654, allocations: 57.62 kB / 0.69 GB, free: 9.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.1655, allocations: 55.41 kB / 0.6901 GB, free: 9.555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.1656, allocations: 109.8 kB / 0.6902 GB, free: 9.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1656, allocations: 29.7 kB / 0.6902 GB, free: 9.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.1656, allocations: 80.14 kB / 0.6903 GB, free: 9.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.1657, allocations: 19.75 kB / 0.6903 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.1657, allocations: 9.719 kB / 0.6903 GB, free: 9.285 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.1658, allocations: 314.8 kB / 0.6906 GB, free: 8.969 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.1658, allocations: 8 kB / 0.6906 GB, free: 8.961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/0.1658, allocations: 8 kB / 0.6907 GB, free: 8.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.425e-05/0.1659, allocations: 20.86 kB / 0.6907 GB, free: 8.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1659, allocations: 0 / 0.6907 GB, free: 8.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.033e-05/0.166, allocations: 57.53 kB / 0.6907 GB, free: 8.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.166, allocations: 7.938 kB / 0.6907 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.166, allocations: 0 / 0.6907 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.166, allocations: 4 kB / 0.6907 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1661, allocations: 11.98 kB / 0.6908 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1661, allocations: 4 kB / 0.6908 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.1662, allocations: 0 / 0.6908 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1662, allocations: 4 kB / 0.6908 GB, free: 8.836 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/0.1663, allocations: 114.5 kB / 0.6909 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.1663, allocations: 3.938 kB / 0.6909 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.1664, allocations: 65.52 kB / 0.6909 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1664, allocations: 0 / 0.6909 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1664, allocations: 0 / 0.6909 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1664, allocations: 4 kB / 0.6909 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1665, allocations: 153.7 kB / 0.6911 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1666, allocations: 0 / 0.6911 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.1666, allocations: 15.98 kB / 0.6911 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1666, allocations: 11.88 kB / 0.6911 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.1667, allocations: 4 kB / 0.6911 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.1667, allocations: 0 / 0.6911 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1667, allocations: 0 / 0.6911 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.1668, allocations: 85.33 kB / 0.6912 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.1668, allocations: 81.05 kB / 0.6913 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1668, allocations: 4 kB / 0.6913 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.1669, allocations: 4 kB / 0.6913 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.1669, allocations: 11.98 kB / 0.6913 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1669, allocations: 7.938 kB / 0.6913 GB, free: 8.176 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.612e-05/0.1669, allocations: 83.27 kB / 0.6914 GB, free: 8.094 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1669, allocations: 0 / 0.6914 GB, free: 8.094 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1672, allocations: 47.92 kB / 0.6914 GB, free: 8.047 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002255/0.1674, allocations: 148 kB / 0.6916 GB, free: 7.895 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.734e-05/0.1675, allocations: 16 kB / 0.6916 GB, free: 7.879 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1675, allocations: 4 kB / 0.6916 GB, free: 7.875 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.1675, allocations: 15.92 kB / 0.6916 GB, free: 7.859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.1677, allocations: 8 kB / 0.6916 GB, free: 7.852 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.168, allocations: 174.3 kB / 0.6918 GB, free: 7.656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.1683, allocations: 0.6809 MB / 0.6924 GB, free: 6.949 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.206e-05/0.1683, allocations: 5.969 kB / 0.6924 GB, free: 6.945 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.1683, allocations: 11.44 kB / 0.6925 GB, free: 6.934 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1683, allocations: 0 / 0.6925 GB, free: 6.934 MB / 494.1 MB Notification: Performance of Templates: time 0.003537/0.1719, allocations: 1.124 MB / 0.6936 GB, free: 5.867 MB / 494.1 MB 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)