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.0008859/0.0008859, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008504/0.0008504, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8718/0.8718, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.001486/0.001486, allocations: 221.4 kB / 260.2 MB, free: 13.02 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.6417/0.6417, allocations: 138.4 MB / 455.1 MB, free: 1.621 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.593e-06/1.593e-06, allocations: 0 / 0.6476 GB, free: 28.74 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.504e-05, allocations: 6.219 kB / 0.6476 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001633/0.001658, allocations: 1.359 MB / 0.649 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.002855, allocations: 1.049 MB / 0.65 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.002888, allocations: 3.938 kB / 0.65 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.002908, allocations: 3.938 kB / 0.65 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.002957, allocations: 1.031 kB / 0.65 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.0035, allocations: 225.9 kB / 0.6502 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.48e-05/0.003565, allocations: 37.94 kB / 0.6502 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.003612, allocations: 2.219 kB / 0.6502 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.003739, allocations: 17.3 kB / 0.6503 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.354e-05/0.003793, allocations: 9.453 kB / 0.6503 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.003806, allocations: 1.938 kB / 0.6503 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.004228, allocations: 422.9 kB / 0.6507 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.00424, allocations: 1.25 kB / 0.6507 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.004261, allocations: 4.969 kB / 0.6507 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.004537, allocations: 255.2 kB / 0.6509 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.004543, allocations: 4 kB / 0.6509 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.051e-06/0.004544, allocations: 1.281 kB / 0.6509 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.004548, allocations: 0 / 0.6509 GB, free: 26.3 MB / 0.5105 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.000333/0.004881, allocations: 310.5 kB / 0.6512 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.004921, allocations: 10.22 kB / 0.6512 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.004954, allocations: 10.17 kB / 0.6512 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.964e-05/0.005013, allocations: 113.8 kB / 0.6514 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.005024, allocations: 4.375 kB / 0.6514 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.005034, allocations: 3.062 kB / 0.6514 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.923e-05/0.005124, allocations: 40.53 kB / 0.6514 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.005131, allocations: 4.125 kB / 0.6514 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.00514, allocations: 4.312 kB / 0.6514 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.005146, allocations: 5.188 kB / 0.6514 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.005188, allocations: 11.64 kB / 0.6514 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.005289, allocations: 104.5 kB / 0.6515 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.744e-05/0.005367, allocations: 42.11 kB / 0.6516 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.005392, allocations: 17.69 kB / 0.6516 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003472/0.005739, allocations: 94.27 kB / 0.6517 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.005753, allocations: 34.56 kB / 0.6517 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.005754, allocations: 3.938 kB / 0.6517 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001453/0.0059, allocations: 65.83 kB / 0.6518 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.005919, allocations: 55.34 kB / 0.6518 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.097e-05/0.00596, allocations: 106.6 kB / 0.6519 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.005966, allocations: 27.2 kB / 0.652 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.569e-05/0.005981, allocations: 81.52 kB / 0.652 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.006007, allocations: 17.23 kB / 0.652 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.006031, allocations: 12.91 kB / 0.6521 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.134e-05/0.006062, allocations: 317.4 kB / 0.6524 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.006076, allocations: 4.094 kB / 0.6524 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/0.00609, allocations: 11.48 kB / 0.6524 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.006126, allocations: 27.73 kB / 0.6524 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006128, allocations: 0 / 0.6524 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.055e-05/0.006178, allocations: 49.97 kB / 0.6524 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.006191, allocations: 4.531 kB / 0.6525 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006196, allocations: 1.094 kB / 0.6525 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.006208, allocations: 0 / 0.6525 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.86e-05/0.006287, allocations: 15.89 kB / 0.6525 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.006292, allocations: 3.938 kB / 0.6525 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.006305, allocations: 1.312 kB / 0.6525 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.00631, allocations: 5.344 kB / 0.6525 GB, free: 24.78 MB / 0.5105 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 3.617e-05/0.006346, allocations: 108 kB / 0.6526 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-06/0.006351, allocations: 6.984 kB / 0.6526 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.985e-05/0.006441, allocations: 65.16 kB / 0.6527 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006442, allocations: 1.5 kB / 0.6527 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.006447, allocations: 3.938 kB / 0.6527 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.00645, allocations: 7.922 kB / 0.6527 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.747e-05/0.006498, allocations: 113 kB / 0.6528 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.006499, allocations: 0 / 0.6528 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.006534, allocations: 16.23 kB / 0.6528 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006536, allocations: 4 kB / 0.6528 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.006543, allocations: 1.688 kB / 0.6528 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006543, allocations: 0 / 0.6528 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006544, allocations: 0 / 0.6528 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.839e-05/0.006603, allocations: 82.2 kB / 0.6529 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.006609, allocations: 2.672 kB / 0.6529 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.00662, allocations: 5.156 kB / 0.6529 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-06/0.006629, allocations: 4 kB / 0.6529 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.006645, allocations: 6.703 kB / 0.6529 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.006647, allocations: 3.938 kB / 0.6529 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.661e-05/0.006664, allocations: 82.16 kB / 0.653 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006664, allocations: 4 kB / 0.653 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001693/0.006833, allocations: 50.33 kB / 0.653 GB, free: 24.25 MB / 0.5105 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.0001772/0.00701, allocations: 159.8 kB / 0.6532 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.514e-05/0.007095, allocations: 30.25 kB / 0.6532 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007097, allocations: 0 / 0.6532 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.007113, allocations: 7.625 kB / 0.6532 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.007276, allocations: 6.938 kB / 0.6532 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.007525, allocations: 163.9 kB / 0.6534 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.007558, allocations: 71.12 kB / 0.6534 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.007578, allocations: 11.12 kB / 0.6535 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/0.007579, allocations: 1.5 kB / 0.6535 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of Templates: time 0.002003/0.009582, allocations: 1.146 MB / 0.6546 GB, free: 23.3 MB / 0.5105 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.098225856199861] Failed to read output from testmodel.py, exit status != 0: 0.014664679765701294 0.021210525 0.015352161000000001 Calling exit ...