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.0009833/0.0009833, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001024/0.001024, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9223/0.9223, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.00157/0.00157, allocations: 242 kB / 260.5 MB, free: 12.7 MB / 250.7 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 0.6865/0.6865, allocations: 138.4 MB / 402.2 MB, free: 0.5352 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 462.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.369e-05, allocations: 4.078 kB / 462.4 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001788/0.001802, allocations: 1.413 MB / 463.8 MB, free: 15.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.003274, allocations: 1.099 MB / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.00331, allocations: 1.312 kB / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.003328, allocations: 2.578 kB / 464.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.003379, allocations: 12.53 kB / 464.9 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007607/0.00414, allocations: 226.3 kB / 465.2 MB, free: 15.13 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.91e-05/0.004199, allocations: 33.12 kB / 465.2 MB, free: 15.12 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.004233, allocations: 8.344 kB / 465.2 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.332e-05/0.004327, allocations: 18.25 kB / 465.2 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.004382, allocations: 8.906 kB / 465.2 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.004392, allocations: 3.969 kB / 465.2 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005722/0.004965, allocations: 413.2 kB / 465.6 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.004979, allocations: 2.391 kB / 465.6 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.005003, allocations: 10.03 kB / 465.6 MB, free: 15.01 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.005368, allocations: 249.4 kB / 465.9 MB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005371, allocations: 3.062 kB / 465.9 MB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005372, allocations: 0 / 465.9 MB, free: 14.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.005375, allocations: 0 / 465.9 MB, free: 14.91 MB / 426.7 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.0003313/0.005707, allocations: 290.8 kB / 466.2 MB, free: 14.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.005744, allocations: 14.52 kB / 466.2 MB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.005768, allocations: 4.375 kB / 466.2 MB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.552e-05/0.005843, allocations: 113.5 kB / 466.3 MB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.005853, allocations: 1.625 kB / 466.3 MB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.005861, allocations: 2.25 kB / 466.3 MB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.105e-05/0.005922, allocations: 41.31 kB / 466.3 MB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.005928, allocations: 4.125 kB / 466.3 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.005936, allocations: 4.875 kB / 466.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.005942, allocations: 7 kB / 466.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.12e-05/0.005963, allocations: 6.828 kB / 466.4 MB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.863e-05/0.006051, allocations: 58.67 kB / 466.4 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.751e-05/0.006109, allocations: 30.59 kB / 466.5 MB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.006127, allocations: 13.77 kB / 466.5 MB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.006437, allocations: 107.6 kB / 466.6 MB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.006459, allocations: 34.5 kB / 466.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.00646, allocations: 0 / 466.6 MB, free: 14.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 9.653e-05/0.006556, allocations: 43.61 kB / 466.6 MB, free: 14.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.006582, allocations: 52.28 kB / 466.7 MB, free: 14.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.986e-05/0.006632, allocations: 111.4 kB / 466.8 MB, free: 14.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.006641, allocations: 27.05 kB / 466.8 MB, free: 13.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.091e-05/0.006662, allocations: 88.12 kB / 466.9 MB, free: 13.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.006686, allocations: 11.91 kB / 466.9 MB, free: 13.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.006711, allocations: 17.7 kB / 467 MB, free: 13.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.006782, allocations: 323.4 kB / 467.3 MB, free: 13.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-06/0.006788, allocations: 0.5 kB / 467.3 MB, free: 13.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-06/0.006797, allocations: 7.938 kB / 467.3 MB, free: 13.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.334e-05/0.006821, allocations: 17.88 kB / 467.3 MB, free: 13.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006823, allocations: 0 / 467.3 MB, free: 13.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.292e-05/0.006866, allocations: 38.69 kB / 467.3 MB, free: 13.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.006877, allocations: 8 kB / 467.3 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006881, allocations: 320 / 467.3 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.006891, allocations: 1 kB / 467.3 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.006954, allocations: 15.98 kB / 467.4 MB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.006957, allocations: 0.875 kB / 467.4 MB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/0.006972, allocations: 7.938 kB / 467.4 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.006979, allocations: 3.984 kB / 467.4 MB, free: 13.43 MB / 426.7 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 4.884e-05/0.007027, allocations: 114.3 kB / 467.5 MB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-06/0.007033, allocations: 1.875 kB / 467.5 MB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.007105, allocations: 58.36 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007107, allocations: 1.688 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.007108, allocations: 0 / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.00711, allocations: 3.938 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.057e-05/0.007171, allocations: 77.77 kB / 467.6 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.007172, allocations: 0 / 467.6 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.007204, allocations: 21.42 kB / 467.6 MB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007205, allocations: 0 / 467.6 MB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-06/0.007209, allocations: 2.219 kB / 467.6 MB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.00721, allocations: 0 / 467.6 MB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.00721, allocations: 0 / 467.6 MB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.368e-05/0.007264, allocations: 73.81 kB / 467.7 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.007273, allocations: 7.938 kB / 467.7 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-06/0.00728, allocations: 0 / 467.7 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.007288, allocations: 1.125 kB / 467.7 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.007299, allocations: 4 kB / 467.7 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.007301, allocations: 0 / 467.7 MB, free: 13.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.688e-05/0.007318, allocations: 17.91 kB / 467.7 MB, free: 13.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007318, allocations: 0 / 467.7 MB, free: 13.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001359/0.007454, allocations: 39.88 kB / 467.8 MB, free: 12.97 MB / 426.7 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.0001634/0.007617, allocations: 150.3 kB / 467.9 MB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.457e-05/0.007672, allocations: 20.8 kB / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.007675, allocations: 0 / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.211e-05/0.007687, allocations: 21.48 kB / 468 MB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.532e-05/0.007762, allocations: 10.62 kB / 468 MB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002073/0.007969, allocations: 138.4 kB / 468.1 MB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.735e-05/0.007997, allocations: 55.36 kB / 468.2 MB, free: 12.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.378e-05/0.00802, allocations: 9.375 kB / 468.2 MB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.008063, allocations: 56.28 kB / 468.2 MB, free: 12.47 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.008063, allocations: 0 / 468.2 MB, free: 12.47 MB / 426.7 MB Notification: Performance of Templates: time 0.002786/0.01085, allocations: 1.461 MB / 469.7 MB, free: 11.17 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4261978147551417]