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.0008348/0.0008348, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0008394/0.0008394, allocations: 169 kB / 23.02 MB, free: 1.547 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.8993/0.8993, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.001535/0.001535, allocations: 232.6 kB / 260.2 MB, free: 12.86 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.6965/0.6965, allocations: 138.4 MB / 455.2 MB, free: 1.531 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 2.224e-06/2.224e-06, allocations: 3.938 kB / 0.5552 GB, free: 464 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/3.003e-05, allocations: 2.312 kB / 0.5552 GB, free: 460 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005931/0.005961, allocations: 4.238 MB / 0.5593 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.008736, allocations: 2.41 MB / 0.5617 GB, free: 9.766 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.008935, allocations: 8 kB / 0.5617 GB, free: 9.758 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.01006, allocations: 0.5011 MB / 0.5622 GB, free: 9.254 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.01037, allocations: 265.8 kB / 0.5624 GB, free: 8.992 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.01055, allocations: 143.8 kB / 0.5626 GB, free: 8.852 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006181/0.01117, allocations: 0.8478 MB / 0.5634 GB, free: 8.004 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.01144, allocations: 219 kB / 0.5636 GB, free: 7.785 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.01189, allocations: 466.9 kB / 0.564 GB, free: 7.328 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.01213, allocations: 247.3 kB / 0.5643 GB, free: 7.086 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/0.01219, allocations: 72 kB / 0.5643 GB, free: 7.016 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.01226, allocations: 76 kB / 0.5644 GB, free: 6.941 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.01239, allocations: 183.4 kB / 0.5646 GB, free: 6.762 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.01257, allocations: 267.4 kB / 0.5649 GB, free: 6.5 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.01297, allocations: 0.5061 MB / 0.5653 GB, free: 5.992 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.01297, allocations: 0 / 0.5653 GB, free: 5.992 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01298, allocations: 0 / 0.5653 GB, free: 5.992 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.01298, allocations: 0 / 0.5653 GB, free: 5.992 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.0009471/0.01393, allocations: 0.9976 MB / 0.5663 GB, free: 4.953 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.01396, allocations: 12.03 kB / 0.5663 GB, free: 4.941 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.01408, allocations: 112.5 kB / 0.5664 GB, free: 4.832 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.01447, allocations: 394.3 kB / 0.5668 GB, free: 4.422 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.0145, allocations: 41.31 kB / 0.5669 GB, free: 4.379 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.01455, allocations: 48.38 kB / 0.5669 GB, free: 4.332 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.01495, allocations: 315.7 kB / 0.5672 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.01496, allocations: 4.141 kB / 0.5672 GB, free: 4.012 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.01499, allocations: 20.38 kB / 0.5672 GB, free: 3.992 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.01501, allocations: 15.94 kB / 0.5672 GB, free: 3.977 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.01529, allocations: 185.8 kB / 0.5674 GB, free: 3.797 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.01654, allocations: 1.198 MB / 0.5686 GB, free: 2.562 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.01681, allocations: 212.6 kB / 0.5688 GB, free: 2.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.01704, allocations: 201.8 kB / 0.569 GB, free: 2.141 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.01706, allocations: 8 kB / 0.569 GB, free: 2.133 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.01708, allocations: 41.39 kB / 0.569 GB, free: 2.082 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.01708, allocations: 0 / 0.569 GB, free: 2.082 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004579/0.01754, allocations: 334.5 kB / 0.5693 GB, free: 1.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.01758, allocations: 59.34 kB / 0.5694 GB, free: 1.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.01792, allocations: 478.7 kB / 0.5699 GB, free: 1.199 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.01794, allocations: 33.7 kB / 0.5699 GB, free: 1.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.0181, allocations: 351.2 kB / 0.5702 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.726e-05/0.01819, allocations: 150.7 kB / 0.5704 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.186e-05/0.01826, allocations: 71.73 kB / 0.5704 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.01842, allocations: 0.543 MB / 0.571 GB, free: 24 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.01852, allocations: 56.7 kB / 0.571 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.427e-05/0.01861, allocations: 63.72 kB / 0.5711 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.01882, allocations: 172.8 kB / 0.5713 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01882, allocations: 0 / 0.5713 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002982/0.01912, allocations: 284.5 kB / 0.5715 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01913, allocations: 4 kB / 0.5715 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01913, allocations: 0 / 0.5715 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.01915, allocations: 4 kB / 0.5715 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.01944, allocations: 127.8 kB / 0.5717 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.01945, allocations: 3.984 kB / 0.5717 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.01953, allocations: 31.78 kB / 0.5717 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.01955, allocations: 11.98 kB / 0.5717 GB, free: 15.27 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.000109/0.01966, allocations: 172.5 kB / 0.5719 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.01971, allocations: 63.67 kB / 0.5719 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.01977, allocations: 56.86 kB / 0.572 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01977, allocations: 4 kB / 0.572 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.01978, allocations: 3.938 kB / 0.572 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01979, allocations: 4 kB / 0.572 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.02015, allocations: 440.2 kB / 0.5724 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02015, allocations: 0 / 0.5724 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.02043, allocations: 127.8 kB / 0.5725 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.02044, allocations: 0 / 0.5725 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.02046, allocations: 8 kB / 0.5725 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.02046, allocations: 0 / 0.5725 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02046, allocations: 0 / 0.5725 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.02096, allocations: 0.5031 MB / 0.573 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.02102, allocations: 55.58 kB / 0.5731 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.02105, allocations: 12 kB / 0.5731 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.02114, allocations: 8 kB / 0.5731 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.0212, allocations: 31.88 kB / 0.5731 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.02121, allocations: 12 kB / 0.5731 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002053/0.02142, allocations: 311 kB / 0.5734 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02142, allocations: 0 / 0.5734 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002539/0.02167, allocations: 147.7 kB / 0.5736 GB, free: 13.28 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.792e-05/0.02177, allocations: 115.1 kB / 0.5737 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.02203, allocations: 203.2 kB / 0.5739 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.02204, allocations: 0 / 0.5739 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.02216, allocations: 119.6 kB / 0.574 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.02253, allocations: 121.1 kB / 0.5741 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.02385, allocations: 1.034 MB / 0.5751 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.794e-05/0.02392, allocations: 129.8 kB / 0.5752 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000109/0.02403, allocations: 47.38 kB / 0.5753 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.02411, allocations: 36.5 kB / 0.5753 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.02411, allocations: 0 / 0.5753 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.007538/0.03165, allocations: 5.233 MB / 0.5804 GB, free: 6.32 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.5142657821998]