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.001263/0.001263, allocations: 92.22 kB / 19.65 MB, free: 276 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.001402/0.001402, allocations: 169 kB / 23.02 MB, free: 1.551 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.9341/0.9341, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.001695/0.001695, allocations: 225.9 kB / 260.2 MB, free: 12.84 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.7264/0.7264, allocations: 138.4 MB / 455.2 MB, free: 1.574 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 3.457e-06/3.457e-06, allocations: 4 kB / 0.5552 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/3.006e-05, allocations: 14.19 kB / 0.5552 GB, free: 492 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00654/0.00657, allocations: 4.23 MB / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004235/0.01081, allocations: 2.418 MB / 0.5617 GB, free: 9.797 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004732/0.01128, allocations: 8 kB / 0.5617 GB, free: 9.789 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.01312, allocations: 0.4972 MB / 0.5622 GB, free: 9.289 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007647/0.01388, allocations: 265.8 kB / 0.5624 GB, free: 9.027 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.01422, allocations: 139.8 kB / 0.5626 GB, free: 8.891 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.01535, allocations: 0.8559 MB / 0.5634 GB, free: 8.035 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000453/0.0158, allocations: 215 kB / 0.5636 GB, free: 7.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008606/0.01667, allocations: 471 kB / 0.564 GB, free: 7.359 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.01712, allocations: 251.3 kB / 0.5643 GB, free: 7.113 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.01727, allocations: 72 kB / 0.5643 GB, free: 7.043 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.01741, allocations: 76 kB / 0.5644 GB, free: 6.969 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.0176, allocations: 175.4 kB / 0.5646 GB, free: 6.797 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.01795, allocations: 267.4 kB / 0.5648 GB, free: 6.535 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.0185, allocations: 0.5022 MB / 0.5653 GB, free: 6.031 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.01851, allocations: 4 kB / 0.5653 GB, free: 6.027 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.01851, allocations: 0 / 0.5653 GB, free: 6.027 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.01852, allocations: 0 / 0.5653 GB, free: 6.027 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.001015/0.01953, allocations: 1.002 MB / 0.5663 GB, free: 4.984 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.01957, allocations: 8.031 kB / 0.5663 GB, free: 4.977 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.01972, allocations: 120.5 kB / 0.5664 GB, free: 4.859 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.02014, allocations: 390.3 kB / 0.5668 GB, free: 4.453 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.02016, allocations: 37.38 kB / 0.5668 GB, free: 4.414 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.02022, allocations: 52.3 kB / 0.5669 GB, free: 4.363 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.02068, allocations: 315.7 kB / 0.5672 GB, free: 4.047 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.02069, allocations: 4.141 kB / 0.5672 GB, free: 4.043 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.02072, allocations: 20.38 kB / 0.5672 GB, free: 4.023 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.02074, allocations: 19.94 kB / 0.5672 GB, free: 4.004 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.02103, allocations: 185.8 kB / 0.5674 GB, free: 3.824 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.02232, allocations: 1.198 MB / 0.5686 GB, free: 2.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.02259, allocations: 216.7 kB / 0.5688 GB, free: 2.363 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.02289, allocations: 191.3 kB / 0.569 GB, free: 2.172 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.02291, allocations: 8 kB / 0.569 GB, free: 2.164 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.02293, allocations: 41.39 kB / 0.569 GB, free: 2.113 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 2.404e-06/0.02294, allocations: 0 / 0.569 GB, free: 2.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.000452/0.02339, allocations: 334.5 kB / 0.5693 GB, free: 1.781 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.02342, allocations: 59.34 kB / 0.5694 GB, free: 1.711 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.02376, allocations: 486.7 kB / 0.5699 GB, free: 1.223 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.02377, allocations: 29.7 kB / 0.5699 GB, free: 1.188 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.02393, allocations: 347.2 kB / 0.5702 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.933e-05/0.02402, allocations: 158.6 kB / 0.5704 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.02409, allocations: 63.73 kB / 0.5704 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.02424, allocations: 0.5469 MB / 0.571 GB, free: 52 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.02432, allocations: 52.72 kB / 0.571 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.862e-05/0.02442, allocations: 63.72 kB / 0.5711 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.02462, allocations: 168.8 kB / 0.5712 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02462, allocations: 0 / 0.5712 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000297/0.02492, allocations: 284.5 kB / 0.5715 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.02494, allocations: 8 kB / 0.5715 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.02494, allocations: 0 / 0.5715 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.02496, allocations: 4 kB / 0.5715 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.02526, allocations: 127.8 kB / 0.5716 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.02527, allocations: 0 / 0.5716 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.652e-05/0.02537, allocations: 27.78 kB / 0.5717 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.02538, allocations: 15.98 kB / 0.5717 GB, free: 15.31 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.0001127/0.0255, allocations: 172.5 kB / 0.5719 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.02555, allocations: 67.66 kB / 0.5719 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.02562, allocations: 56.88 kB / 0.572 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.02562, allocations: 4 kB / 0.572 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.02563, allocations: 3.938 kB / 0.572 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.02563, allocations: 3.984 kB / 0.572 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.026, allocations: 432.2 kB / 0.5724 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.02601, allocations: 7.938 kB / 0.5724 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.02642, allocations: 123.9 kB / 0.5725 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.02643, allocations: 0 / 0.5725 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.02645, allocations: 12 kB / 0.5725 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.02645, allocations: 0 / 0.5725 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.02645, allocations: 4 kB / 0.5725 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.02694, allocations: 0.507 MB / 0.573 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.02699, allocations: 47.59 kB / 0.5731 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.02703, allocations: 15.98 kB / 0.5731 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-05/0.02712, allocations: 8 kB / 0.5731 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.02718, allocations: 27.89 kB / 0.5731 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.02719, allocations: 8 kB / 0.5731 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002013/0.02739, allocations: 311 kB / 0.5734 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02739, allocations: 4 kB / 0.5734 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002738/0.02766, allocations: 151.7 kB / 0.5736 GB, free: 13.3 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 0.0001193/0.02778, allocations: 121.5 kB / 0.5737 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.02806, allocations: 195.3 kB / 0.5739 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.02806, allocations: 0 / 0.5739 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.02818, allocations: 123.6 kB / 0.574 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.0286, allocations: 104.1 kB / 0.5741 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.03018, allocations: 1.046 MB / 0.5751 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.105e-05/0.03026, allocations: 121.8 kB / 0.5752 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000117/0.03038, allocations: 39.39 kB / 0.5753 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.03046, allocations: 40.5 kB / 0.5753 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/0.03046, allocations: 0 / 0.5753 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.00799/0.03845, allocations: 4.976 MB / 0.5802 GB, free: 6.617 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.6509587387554348]