Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001453/0.001453, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001582/0.001582, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.478/1.478, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.002478/0.002478, allocations: 282.2 kB / 303.6 MB, free: 3.656 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.062/1.062, allocations: 180.9 MB / 0.5268 GB, free: 2.715 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 95.84 kB / 0.726 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.6828, allocations: 94.16 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004124/0.687, allocations: 3.046 MB / 0.8209 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002507/0.6895, allocations: 2.159 MB / 0.823 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.6896, allocations: 4.688 kB / 0.823 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.691, allocations: 0.4898 MB / 0.8235 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.6912, allocations: 158.9 kB / 0.8236 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.6914, allocations: 58.78 kB / 0.8237 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004298/0.6918, allocations: 446.1 kB / 0.8241 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.692, allocations: 116.8 kB / 0.8242 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.6922, allocations: 158.5 kB / 0.8244 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.6924, allocations: 183 kB / 0.8245 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.6925, allocations: 32.81 kB / 0.8246 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.22e-05/0.6926, allocations: 33.88 kB / 0.8246 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.6927, allocations: 103.6 kB / 0.8247 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.6928, allocations: 216.2 kB / 0.8249 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.6935, allocations: 0.5467 MB / 0.8255 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6935, allocations: 0 / 0.8255 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.073e-06/0.6935, allocations: 3.938 kB / 0.8255 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.6935, allocations: 0 / 0.8255 GB, free: 2.535 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009281/0.6944, allocations: 0.7202 MB / 0.8262 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.6945, allocations: 11.25 kB / 0.8262 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/0.6946, allocations: 45.28 kB / 0.8262 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.695, allocations: 376.2 kB / 0.8266 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.695, allocations: 17.72 kB / 0.8266 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.6951, allocations: 23.31 kB / 0.8266 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.6955, allocations: 208.8 kB / 0.8268 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.6955, allocations: 4 kB / 0.8268 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.6955, allocations: 6.938 kB / 0.8268 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6955, allocations: 2.875 kB / 0.8268 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.6959, allocations: 165.9 kB / 0.827 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.697, allocations: 0.8627 MB / 0.8278 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.6972, allocations: 145 kB / 0.828 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.6974, allocations: 102.1 kB / 0.8281 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.6975, allocations: 2.281 kB / 0.8281 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.6975, allocations: 38.38 kB / 0.8281 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/0.6975, allocations: 3.984 kB / 0.8281 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0005859/0.6981, allocations: 262.3 kB / 0.8284 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.6981, allocations: 54.06 kB / 0.8284 GB, free: 500 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.6985, allocations: 413.2 kB / 0.8288 GB, free: 296 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.6985, allocations: 30.86 kB / 0.8288 GB, free: 260 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.6986, allocations: 213.3 kB / 0.829 GB, free: 80 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.6987, allocations: 68.39 kB / 0.8291 GB, free: 24 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.6987, allocations: 30.81 kB / 0.8291 GB, free: 0 / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002285/0.699, allocations: 346.8 kB / 0.8295 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.6991, allocations: 51.84 kB / 0.8295 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.6993, allocations: 62.83 kB / 0.8296 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.6996, allocations: 138.6 kB / 0.8297 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6996, allocations: 0 / 0.8297 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004068/0.7, allocations: 209.5 kB / 0.8299 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.7, allocations: 6.281 kB / 0.8299 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.7, allocations: 0 / 0.8299 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.7, allocations: 3.938 kB / 0.8299 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.7003, allocations: 55.56 kB / 0.83 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.7003, allocations: 4.844 kB / 0.83 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.7004, allocations: 24.73 kB / 0.83 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.7004, allocations: 2.844 kB / 0.83 GB, free: 15.45 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 (20): * Single equations (assignments): 20 * 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.0001739/0.7006, allocations: 167.9 kB / 0.8302 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.7007, allocations: 34.8 kB / 0.8302 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.39e-05/0.7008, allocations: 45.64 kB / 0.8302 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7008, allocations: 2.781 kB / 0.8302 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7008, allocations: 0 / 0.8302 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.7008, allocations: 5.5 kB / 0.8302 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.7012, allocations: 367.2 kB / 0.8306 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7012, allocations: 0 / 0.8306 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.7015, allocations: 61.91 kB / 0.8306 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.7015, allocations: 1.062 kB / 0.8306 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.7015, allocations: 7.391 kB / 0.8307 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7015, allocations: 0 / 0.8307 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7015, allocations: 0.75 kB / 0.8307 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.7021, allocations: 383.6 kB / 0.831 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.7023, allocations: 123.4 kB / 0.8311 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.7023, allocations: 6.844 kB / 0.8311 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.7025, allocations: 9.266 kB / 0.8312 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.7025, allocations: 9.922 kB / 0.8312 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.7025, allocations: 10.91 kB / 0.8312 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003456/0.7029, allocations: 306.1 kB / 0.8315 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.7029, allocations: 0 / 0.8315 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002945/0.7032, allocations: 71.64 kB / 0.8315 GB, free: 14.43 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001574/0.7033, allocations: 110.9 kB / 0.8316 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.7037, allocations: 137.9 kB / 0.8318 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7037, allocations: 2.531 kB / 0.8318 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.7039, allocations: 78.94 kB / 0.8318 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.7044, allocations: 91.94 kB / 0.8319 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.7058, allocations: 0.7976 MB / 0.8327 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.7063, allocations: 0.7977 MB / 0.8335 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.7064, allocations: 27.38 kB / 0.8335 GB, free: 13 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.7064, allocations: 0 / 0.8335 GB, free: 13 MB / 0.5919 GB Notification: Performance of Templates: time 0.008641/0.715, allocations: 4.426 MB / 0.8378 GB, free: 12.45 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.78186305705458] Failed to read output from testmodel.py, exit status != 0: 0.723955662921071 0.737095 0.040619183 Calling exit ...