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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 213.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002678/0.002678, allocations: 288.3 kB / 312.7 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.243/1.243, allocations: 180.6 MB / 0.5369 GB, free: 14.63 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003028/0.003028, allocations: 108.5 kB / 0.7401 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1672, allocations: 95.39 MB / 0.8332 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002764/0.17, allocations: 1.362 MB / 0.8345 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.1719, allocations: 1.046 MB / 0.8356 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.172, allocations: 0 / 0.8356 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.172, allocations: 3.938 kB / 0.8356 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.172, allocations: 3.938 kB / 0.8356 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007031/0.1727, allocations: 227.2 kB / 0.8358 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.407e-05/0.1728, allocations: 35.73 kB / 0.8358 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.1729, allocations: 7.938 kB / 0.8358 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.173, allocations: 23.91 kB / 0.8359 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.173, allocations: 7.938 kB / 0.8359 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.173, allocations: 4 kB / 0.8359 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000695/0.1737, allocations: 407.5 kB / 0.8363 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.1738, allocations: 3.938 kB / 0.8363 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.1738, allocations: 11.92 kB / 0.8363 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.1742, allocations: 203.4 kB / 0.8365 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1742, allocations: 4 kB / 0.8365 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1742, allocations: 0 / 0.8365 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1742, allocations: 0 / 0.8365 GB, free: 4.461 MB / 0.5762 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.0005184/0.1747, allocations: 309.7 kB / 0.8368 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1747, allocations: 13.94 kB / 0.8368 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.1748, allocations: 4.891 kB / 0.8368 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1749, allocations: 110.5 kB / 0.8369 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1749, allocations: 4.375 kB / 0.8369 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.1749, allocations: 8.312 kB / 0.8369 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.175, allocations: 38.02 kB / 0.8369 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1751, allocations: 7.984 kB / 0.8369 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1751, allocations: 7.938 kB / 0.8369 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.1751, allocations: 4 kB / 0.837 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.821e-05/0.1751, allocations: 8 kB / 0.837 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.1753, allocations: 109.3 kB / 0.8371 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1754, allocations: 38.52 kB / 0.8371 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.1755, allocations: 16.92 kB / 0.8371 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005759/0.176, allocations: 103.9 kB / 0.8372 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.1761, allocations: 34.55 kB / 0.8372 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1761, allocations: 0 / 0.8372 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001968/0.1763, allocations: 61.58 kB / 0.8373 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1763, allocations: 51.41 kB / 0.8374 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.1764, allocations: 105.9 kB / 0.8375 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1764, allocations: 29.69 kB / 0.8375 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.1765, allocations: 88.14 kB / 0.8376 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1765, allocations: 7.906 kB / 0.8376 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.1765, allocations: 21.66 kB / 0.8376 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1767, allocations: 318.8 kB / 0.8379 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.43e-05/0.1767, allocations: 8 kB / 0.8379 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.656e-05/0.1768, allocations: 4 kB / 0.8379 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.1768, allocations: 17.14 kB / 0.8379 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1768, allocations: 0 / 0.8379 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.394e-05/0.1769, allocations: 53.67 kB / 0.838 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1769, allocations: 15.94 kB / 0.838 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1769, allocations: 3.938 kB / 0.838 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1769, allocations: 0 / 0.838 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1771, allocations: 19.92 kB / 0.838 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1771, allocations: 320 / 0.838 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.1771, allocations: 4 kB / 0.838 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1771, allocations: 0 / 0.838 GB, free: 2.695 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.479e-05/0.1772, allocations: 110.5 kB / 0.8381 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.1772, allocations: 3.953 kB / 0.8381 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.1774, allocations: 69.61 kB / 0.8382 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1774, allocations: 4 kB / 0.8382 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1774, allocations: 0 / 0.8382 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1774, allocations: 0 / 0.8382 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1775, allocations: 113.2 kB / 0.8383 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1775, allocations: 0 / 0.8383 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.1776, allocations: 15.94 kB / 0.8383 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1776, allocations: 0 / 0.8383 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1776, allocations: 0 / 0.8383 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1776, allocations: 7.922 kB / 0.8383 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1776, allocations: 0 / 0.8383 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.1777, allocations: 81.11 kB / 0.8384 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.1777, allocations: 11.92 kB / 0.8384 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1777, allocations: 0 / 0.8384 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.939e-05/0.1778, allocations: 11.94 kB / 0.8384 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.1778, allocations: 4 kB / 0.8384 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1778, allocations: 0 / 0.8384 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.1778, allocations: 87.27 kB / 0.8385 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1778, allocations: 0 / 0.8385 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002587/0.1781, allocations: 39.88 kB / 0.8386 GB, free: 2.074 MB / 0.5762 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 (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.0002736/0.1784, allocations: 162.9 kB / 0.8387 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.1785, allocations: 24 kB / 0.8387 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.1785, allocations: 0 / 0.8387 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.986e-05/0.1785, allocations: 4 kB / 0.8387 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.1788, allocations: 13.23 kB / 0.8388 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.1791, allocations: 152.7 kB / 0.8389 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.958e-05/0.1792, allocations: 63.34 kB / 0.839 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.797e-05/0.1792, allocations: 10.86 kB / 0.839 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.1793, allocations: 11.44 kB / 0.839 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.1793, allocations: 0 / 0.839 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.004359/0.1836, allocations: 1.286 MB / 0.8402 GB, free: 380 kB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9792368691414595] Failed to read output from testmodel.py, exit status != 0: 0.19152735359966755 0.20837823300000002 0.030878227 Calling exit ...