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.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.0008812/0.0008812, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001368/0.001368, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9109/0.9109, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.001718/0.001718, allocations: 238 kB / 260.5 MB, free: 12.66 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.6818/0.6818, allocations: 138.4 MB / 455.5 MB, free: 29.99 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.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 1.292e-06/1.292e-06, allocations: 0 / 0.5556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.817e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00349/0.003508, allocations: 4.142 MB / 0.5597 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.006289, allocations: 2.382 MB / 0.562 GB, free: 9.227 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.006536, allocations: 8 kB / 0.562 GB, free: 9.219 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.007562, allocations: 0.4972 MB / 0.5625 GB, free: 8.719 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.007884, allocations: 265.8 kB / 0.5628 GB, free: 8.457 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.008038, allocations: 143.8 kB / 0.5629 GB, free: 8.316 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.008602, allocations: 0.8475 MB / 0.5637 GB, free: 7.469 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.008907, allocations: 223 kB / 0.5639 GB, free: 7.246 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004214/0.009328, allocations: 470.9 kB / 0.5644 GB, free: 6.785 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.009561, allocations: 251.3 kB / 0.5646 GB, free: 6.539 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.009617, allocations: 72 kB / 0.5647 GB, free: 6.469 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.217e-05/0.009689, allocations: 76 kB / 0.5648 GB, free: 6.395 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.0098, allocations: 171.4 kB / 0.5649 GB, free: 6.227 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.009966, allocations: 271.4 kB / 0.5652 GB, free: 5.961 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.01034, allocations: 0.5059 MB / 0.5657 GB, free: 5.453 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01034, allocations: 0 / 0.5657 GB, free: 5.453 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.01035, allocations: 8 kB / 0.5657 GB, free: 5.445 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.01035, allocations: 0 / 0.5657 GB, free: 5.445 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.000864/0.01122, allocations: 1.005 MB / 0.5667 GB, free: 4.402 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.01125, allocations: 9.219 kB / 0.5667 GB, free: 4.395 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.694e-05/0.01135, allocations: 112.5 kB / 0.5668 GB, free: 4.285 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.01165, allocations: 378.3 kB / 0.5671 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.01168, allocations: 37.38 kB / 0.5672 GB, free: 3.852 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.01172, allocations: 48.38 kB / 0.5672 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.01201, allocations: 283.7 kB / 0.5675 GB, free: 3.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.01202, allocations: 192 / 0.5675 GB, free: 3.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.01206, allocations: 20.38 kB / 0.5675 GB, free: 3.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.01207, allocations: 15.94 kB / 0.5675 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.01223, allocations: 154.7 kB / 0.5677 GB, free: 3.328 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01327, allocations: 1.113 MB / 0.5688 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.01351, allocations: 192.7 kB / 0.5689 GB, free: 1.984 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.01367, allocations: 172.3 kB / 0.5691 GB, free: 1.812 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.01369, allocations: 8 kB / 0.5691 GB, free: 1.805 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.01371, allocations: 41.38 kB / 0.5692 GB, free: 1.754 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 1.613e-06/0.01371, allocations: 7.938 kB / 0.5692 GB, free: 1.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.000303/0.01401, allocations: 290.6 kB / 0.5694 GB, free: 1.457 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.01404, allocations: 59.39 kB / 0.5695 GB, free: 1.387 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.0143, allocations: 466.5 kB / 0.5699 GB, free: 0.918 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.01431, allocations: 29.7 kB / 0.57 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.01446, allocations: 363.1 kB / 0.5703 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.01454, allocations: 154.6 kB / 0.5705 GB, free: 376 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.0146, allocations: 63.7 kB / 0.5705 GB, free: 300 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.01474, allocations: 0.5547 MB / 0.5711 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.0148, allocations: 44.7 kB / 0.5711 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.935e-05/0.01485, allocations: 43.72 kB / 0.5712 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.01498, allocations: 148.9 kB / 0.5713 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01498, allocations: 0 / 0.5713 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002071/0.01519, allocations: 252.6 kB / 0.5715 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.0152, allocations: 8 kB / 0.5715 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.0152, allocations: 0 / 0.5715 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.01521, allocations: 0 / 0.5715 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.01546, allocations: 119.9 kB / 0.5717 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.01547, allocations: 7.938 kB / 0.5717 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.01555, allocations: 27.77 kB / 0.5717 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.01556, allocations: 16 kB / 0.5717 GB, free: 15.07 MB / 0.4948 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 9.849e-05/0.01566, allocations: 176.5 kB / 0.5719 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.01571, allocations: 59.67 kB / 0.5719 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.01576, allocations: 56.88 kB / 0.572 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01576, allocations: 4 kB / 0.572 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01577, allocations: 0 / 0.572 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.01577, allocations: 7.922 kB / 0.572 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.01607, allocations: 348.5 kB / 0.5723 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01607, allocations: 0 / 0.5723 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.01632, allocations: 131.9 kB / 0.5725 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01632, allocations: 0 / 0.5725 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.01634, allocations: 8 kB / 0.5725 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01634, allocations: 0 / 0.5725 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01634, allocations: 0 / 0.5725 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.01668, allocations: 479.1 kB / 0.5729 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.01673, allocations: 51.55 kB / 0.573 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.01676, allocations: 19.92 kB / 0.573 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.01685, allocations: 8 kB / 0.573 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.01688, allocations: 23.95 kB / 0.573 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.01689, allocations: 12 kB / 0.573 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001424/0.01703, allocations: 291 kB / 0.5733 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01703, allocations: 0 / 0.5733 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002294/0.01726, allocations: 147.7 kB / 0.5735 GB, free: 13.22 MB / 0.4948 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 9.888e-05/0.01736, allocations: 119.1 kB / 0.5736 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001786/0.01754, allocations: 167.3 kB / 0.5737 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01754, allocations: 0 / 0.5737 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.973e-05/0.01763, allocations: 115.6 kB / 0.5738 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.01797, allocations: 107.1 kB / 0.5739 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.01948, allocations: 1.029 MB / 0.5749 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.108e-05/0.01955, allocations: 129.8 kB / 0.5751 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.766e-05/0.01964, allocations: 39.39 kB / 0.5751 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.01981, allocations: 166.1 kB / 0.5753 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of SimCode: time 6.92e-07/0.01982, allocations: 0 / 0.5753 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.007371/0.02719, allocations: 5.415 MB / 0.5806 GB, free: 6.098 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4155850154347718]