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.000897/0.000897, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009079/0.0009079, allocations: 177.3 kB / 23.49 MB, free: 1.059 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.9182/0.9182, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.001587/0.001587, allocations: 229.9 kB / 260.5 MB, free: 12.88 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.7176/0.7176, allocations: 138.4 MB / 455.4 MB, free: 1.523 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.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.543e-06/1.543e-06, allocations: 0 / 0.5551 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.761e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.793 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003644/0.003662, allocations: 4.219 MB / 0.5592 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.006255, allocations: 2.398 MB / 0.5616 GB, free: 10.14 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.006448, allocations: 8 kB / 0.5616 GB, free: 10.13 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.007489, allocations: 0.4972 MB / 0.5621 GB, free: 9.629 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.007782, allocations: 269.8 kB / 0.5623 GB, free: 9.363 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.007944, allocations: 139.8 kB / 0.5625 GB, free: 9.227 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005761/0.00852, allocations: 0.8482 MB / 0.5633 GB, free: 8.375 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.008783, allocations: 215 kB / 0.5635 GB, free: 8.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/0.009161, allocations: 471 kB / 0.5639 GB, free: 7.699 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.009388, allocations: 251.3 kB / 0.5642 GB, free: 7.453 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.009446, allocations: 72 kB / 0.5642 GB, free: 7.383 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.009512, allocations: 76 kB / 0.5643 GB, free: 7.309 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.009627, allocations: 175.4 kB / 0.5645 GB, free: 7.137 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.0098, allocations: 267.4 kB / 0.5647 GB, free: 6.875 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.0102, allocations: 0.5022 MB / 0.5652 GB, free: 6.371 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.0102, allocations: 0 / 0.5652 GB, free: 6.371 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.0102, allocations: 4 kB / 0.5652 GB, free: 6.367 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.01021, allocations: 0 / 0.5652 GB, free: 6.367 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.0009088/0.01111, allocations: 1.009 MB / 0.5662 GB, free: 5.316 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.01115, allocations: 8.031 kB / 0.5662 GB, free: 5.309 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.01126, allocations: 116.5 kB / 0.5663 GB, free: 5.195 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.01164, allocations: 386.3 kB / 0.5667 GB, free: 4.793 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.01166, allocations: 33.38 kB / 0.5667 GB, free: 4.758 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.01171, allocations: 44.38 kB / 0.5668 GB, free: 4.715 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.01209, allocations: 311.7 kB / 0.5671 GB, free: 4.402 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01211, allocations: 8.141 kB / 0.5671 GB, free: 4.395 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.01213, allocations: 28.31 kB / 0.5671 GB, free: 4.367 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.01214, allocations: 15.94 kB / 0.5671 GB, free: 4.352 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.01244, allocations: 189.8 kB / 0.5673 GB, free: 4.168 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.01373, allocations: 1.198 MB / 0.5685 GB, free: 2.934 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.01399, allocations: 211.9 kB / 0.5687 GB, free: 2.711 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.01421, allocations: 192.1 kB / 0.5689 GB, free: 2.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.01423, allocations: 8 kB / 0.5689 GB, free: 2.512 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.01425, allocations: 41.33 kB / 0.5689 GB, free: 2.461 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.01425, allocations: 4 kB / 0.5689 GB, free: 2.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004372/0.01469, allocations: 334.5 kB / 0.5692 GB, free: 2.125 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.01472, allocations: 59.34 kB / 0.5693 GB, free: 2.055 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.01506, allocations: 486.7 kB / 0.5698 GB, free: 1.566 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.01508, allocations: 29.7 kB / 0.5698 GB, free: 1.531 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.01523, allocations: 347.2 kB / 0.5701 GB, free: 1.184 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.01531, allocations: 154.7 kB / 0.5703 GB, free: 1.031 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.01538, allocations: 63.73 kB / 0.5703 GB, free: 0.957 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.01552, allocations: 0.5508 MB / 0.5709 GB, free: 404 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.64e-05/0.0156, allocations: 52.7 kB / 0.5709 GB, free: 352 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.622e-05/0.01569, allocations: 63.72 kB / 0.571 GB, free: 292 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.01589, allocations: 176.8 kB / 0.5711 GB, free: 112 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.0159, allocations: 0 / 0.5711 GB, free: 112 kB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000298/0.01619, allocations: 288.7 kB / 0.5714 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.01621, allocations: 4 kB / 0.5714 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.01621, allocations: 0 / 0.5714 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.01622, allocations: 4 kB / 0.5714 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.01651, allocations: 123.8 kB / 0.5715 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01651, allocations: 3.984 kB / 0.5715 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.925e-05/0.0166, allocations: 27.78 kB / 0.5716 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.01661, allocations: 12 kB / 0.5716 GB, free: 15.64 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 0.0001071/0.01672, allocations: 176.5 kB / 0.5717 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.01678, allocations: 59.67 kB / 0.5718 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.228e-05/0.01684, allocations: 56.88 kB / 0.5719 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.01684, allocations: 7.984 kB / 0.5719 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01685, allocations: 3.938 kB / 0.5719 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01685, allocations: 3.938 kB / 0.5719 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.0172, allocations: 432.1 kB / 0.5723 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0172, allocations: 0 / 0.5723 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.01747, allocations: 123.9 kB / 0.5724 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01747, allocations: 4 kB / 0.5724 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.01749, allocations: 12 kB / 0.5724 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.0175, allocations: 4 kB / 0.5724 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.0175, allocations: 0 / 0.5724 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.01793, allocations: 0.4953 MB / 0.5729 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.01799, allocations: 59.58 kB / 0.573 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.01802, allocations: 8 kB / 0.573 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.01811, allocations: 12 kB / 0.573 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.01816, allocations: 27.88 kB / 0.573 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01817, allocations: 12 kB / 0.573 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002022/0.01837, allocations: 307 kB / 0.5733 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01837, allocations: 7.938 kB / 0.5733 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002408/0.01861, allocations: 151.7 kB / 0.5735 GB, free: 13.65 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 8.172e-05/0.0187, allocations: 115.1 kB / 0.5736 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.01895, allocations: 199.3 kB / 0.5738 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01895, allocations: 0 / 0.5738 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.01907, allocations: 119.6 kB / 0.5739 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.01943, allocations: 109 kB / 0.574 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.02088, allocations: 1.042 MB / 0.575 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.634e-05/0.02095, allocations: 129.8 kB / 0.5751 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.658e-05/0.02105, allocations: 39.39 kB / 0.5752 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.02111, allocations: 36.5 kB / 0.5752 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of SimCode: time 7.12e-07/0.02111, allocations: 0 / 0.5752 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.007004/0.02812, allocations: 4.995 MB / 0.5801 GB, free: 6.957 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.4377131999935955]