Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 114.3 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002467/0.002467, allocations: 284.5 kB / 303.6 MB, free: 3.684 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 180.9 MB / 0.5268 GB, free: 2.719 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 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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002798/0.002798, allocations: 95.84 kB / 0.726 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.656/0.6588, allocations: 94.16 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004994/0.6638, allocations: 4.155 MB / 0.822 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002969/0.6667, allocations: 2.425 MB / 0.8243 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.667, allocations: 10.5 kB / 0.8244 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.6684, allocations: 0.5338 MB / 0.8249 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.6688, allocations: 254.2 kB / 0.8251 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.669, allocations: 140.3 kB / 0.8253 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006863/0.6697, allocations: 0.8148 MB / 0.8261 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.67, allocations: 236.7 kB / 0.8263 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.6703, allocations: 290.9 kB / 0.8266 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003586/0.6707, allocations: 331.5 kB / 0.8269 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.576e-05/0.6708, allocations: 79.16 kB / 0.8269 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.837e-05/0.6709, allocations: 75.88 kB / 0.827 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.671, allocations: 177.3 kB / 0.8272 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.6713, allocations: 383.1 kB / 0.8276 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.6724, allocations: 0.9965 MB / 0.8285 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.6724, allocations: 0.9375 kB / 0.8285 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6724, allocations: 2.812 kB / 0.8285 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.6724, allocations: 4 kB / 0.8285 GB, free: 0.6289 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001352/0.6737, allocations: 0.9629 MB / 0.8295 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.6738, allocations: 11.28 kB / 0.8295 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.6739, allocations: 75.81 kB / 0.8296 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/0.6746, allocations: 468.6 kB / 0.83 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.6747, allocations: 38.06 kB / 0.83 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/0.6747, allocations: 47.53 kB / 0.8301 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007632/0.6755, allocations: 428.7 kB / 0.8305 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.6755, allocations: 0 / 0.8305 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.6756, allocations: 22.03 kB / 0.8305 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.6756, allocations: 10.8 kB / 0.8305 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007347/0.6763, allocations: 370.3 kB / 0.8309 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.6787, allocations: 1.53 MB / 0.8324 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.6793, allocations: 308.9 kB / 0.8327 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.6798, allocations: 288 kB / 0.8329 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.6798, allocations: 11.31 kB / 0.833 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.6798, allocations: 34.5 kB / 0.833 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 1.402e-06/0.6799, allocations: 0 / 0.833 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.001035/0.6809, allocations: 0.4926 MB / 0.8335 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.6809, allocations: 55.75 kB / 0.8335 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006395/0.6816, allocations: 488.8 kB / 0.834 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.6816, allocations: 33.7 kB / 0.834 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.6819, allocations: 274.4 kB / 0.8343 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.682, allocations: 152.7 kB / 0.8344 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.6821, allocations: 62.44 kB / 0.8345 GB, free: 13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002188/0.6823, allocations: 362.1 kB / 0.8348 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.6826, allocations: 130.1 kB / 0.835 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.6828, allocations: 123.3 kB / 0.8351 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.6834, allocations: 303.5 kB / 0.8354 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6834, allocations: 0 / 0.8354 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006874/0.6841, allocations: 397.1 kB / 0.8357 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.6841, allocations: 6.969 kB / 0.8357 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.6841, allocations: 0 / 0.8357 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.6841, allocations: 1.344 kB / 0.8357 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.6846, allocations: 132.2 kB / 0.8359 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.6846, allocations: 7.156 kB / 0.8359 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.6848, allocations: 30.22 kB / 0.8359 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.6848, allocations: 12.47 kB / 0.8359 GB, free: 12.2 MB / 0.5919 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 (46): * Single equations (assignments): 46 * 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 0.0002484/0.6851, allocations: 204.6 kB / 0.8361 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/0.6852, allocations: 52.58 kB / 0.8362 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.6853, allocations: 55.19 kB / 0.8362 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6853, allocations: 10 kB / 0.8362 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.6853, allocations: 0 / 0.8362 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.6853, allocations: 2.438 kB / 0.8362 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008118/0.6861, allocations: 0.577 MB / 0.8368 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6861, allocations: 0.9688 kB / 0.8368 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.6866, allocations: 124.4 kB / 0.8369 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.6866, allocations: 2.312 kB / 0.8369 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.6866, allocations: 13.34 kB / 0.8369 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.6866, allocations: 3.016 kB / 0.8369 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6866, allocations: 4 kB / 0.8369 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.6878, allocations: 0.6528 MB / 0.8376 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.688, allocations: 140.6 kB / 0.8377 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.6881, allocations: 7 kB / 0.8377 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.6883, allocations: 15.2 kB / 0.8377 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.6884, allocations: 32.23 kB / 0.8378 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.6884, allocations: 7.969 kB / 0.8378 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005101/0.6889, allocations: 356 kB / 0.8381 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6889, allocations: 0 / 0.8381 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004492/0.6894, allocations: 144 kB / 0.8382 GB, free: 10.85 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001758/0.6895, allocations: 115.3 kB / 0.8384 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006537/0.6902, allocations: 303.2 kB / 0.8386 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6902, allocations: 0 / 0.8386 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.6905, allocations: 168.4 kB / 0.8388 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007083/0.6912, allocations: 137.6 kB / 0.8389 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.6938, allocations: 1.236 MB / 0.8401 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007761/0.6946, allocations: 0.8729 MB / 0.841 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.6947, allocations: 37.03 kB / 0.841 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.6947, allocations: 1 kB / 0.841 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of Templates: time 0.0138/0.7085, allocations: 6.935 MB / 0.8478 GB, free: 7.586 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.062513265991583] Failed to read output from testmodel.py, exit status != 0: 0.7169552740087966 0.7300652700000001 0.054802456000000006 Calling exit ...