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.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.0009486/0.0009486, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001456/0.001456, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9071/0.9071, allocations: 177.1 MB / 204.5 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.002112/0.002112, allocations: 237.4 kB / 261.3 MB, free: 12.64 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.7293/0.7293, allocations: 138.4 MB / 456.3 MB, free: 30.01 MB / 410.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.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 1.112e-06/1.112e-06, allocations: 3.938 kB / 0.5564 GB, free: 15.8 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.806e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002855/0.002873, allocations: 3.051 MB / 0.5594 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.0047, allocations: 2.109 MB / 0.5614 GB, free: 10.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.004839, allocations: 11.94 kB / 0.5615 GB, free: 10.59 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008822/0.005721, allocations: 465.6 kB / 0.5619 GB, free: 10.14 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.005901, allocations: 158.7 kB / 0.5621 GB, free: 9.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.533e-05/0.005986, allocations: 59.92 kB / 0.5621 GB, free: 9.922 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.00632, allocations: 468.8 kB / 0.5626 GB, free: 9.465 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.006472, allocations: 99.83 kB / 0.5627 GB, free: 9.363 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.006707, allocations: 255.4 kB / 0.5629 GB, free: 9.113 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.006856, allocations: 139.6 kB / 0.563 GB, free: 8.977 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.006888, allocations: 36 kB / 0.5631 GB, free: 8.941 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.556e-05/0.006923, allocations: 32 kB / 0.5631 GB, free: 8.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.007001, allocations: 103.6 kB / 0.5632 GB, free: 8.809 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.007328, allocations: 143.7 kB / 0.5633 GB, free: 8.668 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.007569, allocations: 286.9 kB / 0.5636 GB, free: 8.387 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.007572, allocations: 0 / 0.5636 GB, free: 8.387 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.007574, allocations: 3.984 kB / 0.5636 GB, free: 8.383 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.007578, allocations: 0 / 0.5636 GB, free: 8.383 MB / 490.7 MB 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.0006108/0.008189, allocations: 0.76 MB / 0.5644 GB, free: 7.582 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.008219, allocations: 13.22 kB / 0.5644 GB, free: 7.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.068e-05/0.00828, allocations: 64.66 kB / 0.5644 GB, free: 7.508 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.008529, allocations: 294.7 kB / 0.5647 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.008544, allocations: 24.88 kB / 0.5647 GB, free: 7.172 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.008574, allocations: 28.33 kB / 0.5648 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.008737, allocations: 145.3 kB / 0.5649 GB, free: 6.996 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.008747, allocations: 4.172 kB / 0.5649 GB, free: 6.992 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.008759, allocations: 8.375 kB / 0.5649 GB, free: 6.984 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.008766, allocations: 7.938 kB / 0.5649 GB, free: 6.977 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.643e-05/0.008852, allocations: 65.44 kB / 0.565 GB, free: 6.918 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.009422, allocations: 0.6088 MB / 0.5656 GB, free: 6.277 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.009534, allocations: 99.09 kB / 0.5657 GB, free: 6.168 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.009589, allocations: 59.02 kB / 0.5657 GB, free: 6.109 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.009598, allocations: 4 kB / 0.5657 GB, free: 6.105 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.009618, allocations: 41.33 kB / 0.5658 GB, free: 6.055 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.009619, allocations: 0 / 0.5658 GB, free: 6.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001975/0.009817, allocations: 149.6 kB / 0.5659 GB, free: 5.902 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.009842, allocations: 55.41 kB / 0.566 GB, free: 5.836 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.01009, allocations: 434.6 kB / 0.5664 GB, free: 5.395 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.0101, allocations: 29.7 kB / 0.5664 GB, free: 5.359 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.01022, allocations: 279 kB / 0.5667 GB, free: 5.082 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.01026, allocations: 67.42 kB / 0.5667 GB, free: 5.016 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.0103, allocations: 39.36 kB / 0.5668 GB, free: 4.969 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.01043, allocations: 0.539 MB / 0.5673 GB, free: 4.418 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.01045, allocations: 15.98 kB / 0.5673 GB, free: 4.402 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.01048, allocations: 25.81 kB / 0.5673 GB, free: 4.379 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.354e-05/0.01054, allocations: 58.41 kB / 0.5674 GB, free: 4.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01055, allocations: 0 / 0.5674 GB, free: 4.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001224/0.01067, allocations: 141.4 kB / 0.5675 GB, free: 4.176 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.01068, allocations: 8 kB / 0.5675 GB, free: 4.168 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01069, allocations: 3.984 kB / 0.5675 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.553e-06/0.01069, allocations: 3.938 kB / 0.5675 GB, free: 4.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.01082, allocations: 55.91 kB / 0.5676 GB, free: 4.105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.01082, allocations: 0 / 0.5676 GB, free: 4.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.801e-05/0.01088, allocations: 15.89 kB / 0.5676 GB, free: 4.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.01089, allocations: 4 kB / 0.5676 GB, free: 4.086 MB / 490.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 (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 8.055e-05/0.01097, allocations: 164.5 kB / 0.5678 GB, free: 3.914 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.01101, allocations: 39.77 kB / 0.5678 GB, free: 3.875 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.01105, allocations: 43.39 kB / 0.5679 GB, free: 3.832 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01105, allocations: 0 / 0.5679 GB, free: 3.832 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01106, allocations: 3.938 kB / 0.5679 GB, free: 3.828 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01106, allocations: 4 kB / 0.5679 GB, free: 3.824 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.01126, allocations: 233 kB / 0.5681 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01126, allocations: 0 / 0.5681 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.01138, allocations: 55.95 kB / 0.5681 GB, free: 3.516 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01138, allocations: 0 / 0.5681 GB, free: 3.516 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.01139, allocations: 4 kB / 0.5681 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.01139, allocations: 0 / 0.5681 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.0114, allocations: 4 kB / 0.5681 GB, free: 3.508 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.0116, allocations: 322.2 kB / 0.5685 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.01164, allocations: 35.8 kB / 0.5685 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.01166, allocations: 8.031 kB / 0.5685 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.01174, allocations: 8 kB / 0.5685 GB, free: 3.125 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.01177, allocations: 11.97 kB / 0.5685 GB, free: 3.113 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.01177, allocations: 4 kB / 0.5685 GB, free: 3.109 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.0119, allocations: 271 kB / 0.5688 GB, free: 2.848 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0119, allocations: 0 / 0.5688 GB, free: 2.848 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.01209, allocations: 83.78 kB / 0.5689 GB, free: 2.766 MB / 490.7 MB 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 8.446e-05/0.01217, allocations: 103.2 kB / 0.569 GB, free: 2.656 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.01228, allocations: 75.59 kB / 0.569 GB, free: 2.578 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.01228, allocations: 0 / 0.569 GB, free: 2.578 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.473e-05/0.01232, allocations: 55.48 kB / 0.5691 GB, free: 2.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.01264, allocations: 91 kB / 0.5692 GB, free: 2.438 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007853/0.01342, allocations: 0.6442 MB / 0.5698 GB, free: 1.762 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.306e-05/0.01348, allocations: 96.3 kB / 0.5699 GB, free: 1.648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.903e-05/0.01355, allocations: 34.95 kB / 0.5699 GB, free: 1.613 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.01368, allocations: 142.1 kB / 0.5701 GB, free: 1.473 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01368, allocations: 3.938 kB / 0.5701 GB, free: 1.469 MB / 490.7 MB Notification: Performance of Templates: time 0.005927/0.01961, allocations: 4.05 MB / 0.574 GB, free: 13.57 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3625360182486475]