Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001228/0.001228, allocations: 92.22 kB / 20.45 MB, free: 4.113 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.001381/0.001381, allocations: 157 kB / 23.82 MB, free: 0.75 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.927/0.927, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5607/0.5607, allocations: 110.2 MB / 371 MB, free: 12.52 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0.875 kB / 475.3 MB, free: 15.19 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.51e-05, allocations: 3.562 kB / 475.3 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003152/0.003167, allocations: 4.256 MB / 479.5 MB, free: 12.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.005015, allocations: 2.423 MB / 481.9 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.005175, allocations: 15.16 kB / 482 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009029/0.006078, allocations: 0.4993 MB / 482.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.006312, allocations: 266.9 kB / 482.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.006447, allocations: 142.6 kB / 482.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.006908, allocations: 0.8426 MB / 483.7 MB, free: 9.848 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.007148, allocations: 213 kB / 483.9 MB, free: 9.738 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.007492, allocations: 462.1 kB / 484.4 MB, free: 9.539 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.007712, allocations: 253.4 kB / 484.6 MB, free: 9.457 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.922e-05/0.007781, allocations: 78.53 kB / 484.7 MB, free: 9.453 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.224e-05/0.007863, allocations: 73.84 kB / 484.8 MB, free: 9.453 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.00796, allocations: 176.3 kB / 484.9 MB, free: 9.336 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.008134, allocations: 268.5 kB / 485.2 MB, free: 9.219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.008487, allocations: 0.4997 MB / 485.7 MB, free: 8.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.00849, allocations: 0 / 485.7 MB, free: 8.965 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008491, allocations: 3 kB / 485.7 MB, free: 8.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.008498, allocations: 0 / 485.7 MB, free: 8.965 MB / 410.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.0008494/0.009348, allocations: 1.004 MB / 486.7 MB, free: 8.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.00938, allocations: 8.594 kB / 486.7 MB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.009491, allocations: 118.3 kB / 486.8 MB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.009837, allocations: 393.2 kB / 487.2 MB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.009859, allocations: 36.69 kB / 487.2 MB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.009911, allocations: 48.88 kB / 487.3 MB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.0103, allocations: 312.5 kB / 487.6 MB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.01031, allocations: 1.406 kB / 487.6 MB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.01034, allocations: 22.66 kB / 487.6 MB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.01036, allocations: 15.44 kB / 487.6 MB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.01064, allocations: 189.4 kB / 487.8 MB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.01181, allocations: 1.207 MB / 489 MB, free: 22.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.01207, allocations: 218.5 kB / 489.2 MB, free: 22.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.0123, allocations: 190.6 kB / 489.4 MB, free: 22.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.01232, allocations: 9.875 kB / 489.4 MB, free: 22.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.01234, allocations: 36.36 kB / 489.5 MB, free: 22.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 1.582e-06/0.01234, allocations: 0 / 489.5 MB, free: 22.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004342/0.01277, allocations: 326.5 kB / 489.8 MB, free: 22.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.01279, allocations: 63.25 kB / 489.9 MB, free: 22.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.01317, allocations: 480.6 kB / 490.3 MB, free: 22.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.01319, allocations: 30.92 kB / 490.3 MB, free: 22.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.01335, allocations: 354.1 kB / 490.7 MB, free: 22.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.01341, allocations: 152.1 kB / 490.8 MB, free: 21.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.01347, allocations: 66.27 kB / 490.9 MB, free: 21.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.01361, allocations: 0.5481 MB / 491.5 MB, free: 21.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.0137, allocations: 56.09 kB / 491.5 MB, free: 21.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.503e-05/0.01378, allocations: 63.05 kB / 491.6 MB, free: 21.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.01398, allocations: 167.7 kB / 491.7 MB, free: 21.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.01398, allocations: 0 / 491.7 MB, free: 21.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000297/0.01428, allocations: 281.7 kB / 492 MB, free: 21.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01429, allocations: 8.312 kB / 492 MB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.0143, allocations: 0 / 492 MB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.01431, allocations: 2.141 kB / 492 MB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.0146, allocations: 132.6 kB / 492.2 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.0146, allocations: 4.094 kB / 492.2 MB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.62e-05/0.01469, allocations: 26.41 kB / 492.2 MB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.0147, allocations: 10.88 kB / 492.2 MB, free: 21.11 MB / 426.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 (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.712e-05/0.0148, allocations: 173.2 kB / 492.4 MB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.01485, allocations: 64.19 kB / 492.4 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.01491, allocations: 61.95 kB / 492.5 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01491, allocations: 3.719 kB / 492.5 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01492, allocations: 3.938 kB / 492.5 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01492, allocations: 4.844 kB / 492.5 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.01524, allocations: 427.8 kB / 492.9 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01524, allocations: 0 / 492.9 MB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.01551, allocations: 125.1 kB / 493 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01552, allocations: 2.25 kB / 493 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.01554, allocations: 10.31 kB / 493 MB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01554, allocations: 1.125 kB / 493.1 MB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01554, allocations: 1.062 kB / 493.1 MB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.01599, allocations: 0.5085 MB / 493.6 MB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.01604, allocations: 56.7 kB / 493.6 MB, free: 20.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.01607, allocations: 7.5 kB / 493.6 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.01616, allocations: 14.84 kB / 493.6 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.01621, allocations: 27.02 kB / 493.7 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.01622, allocations: 11.3 kB / 493.7 MB, free: 20.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000205/0.01643, allocations: 313.7 kB / 494 MB, free: 20.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01643, allocations: 1.344 kB / 494 MB, free: 20.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.01668, allocations: 148.9 kB / 494.1 MB, free: 20.01 MB / 426.7 MB 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 7.862e-05/0.01675, allocations: 113.6 kB / 494.2 MB, free: 19.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.01702, allocations: 196.6 kB / 494.4 MB, free: 19.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01702, allocations: 0 / 494.4 MB, free: 19.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.01715, allocations: 132.9 kB / 494.6 MB, free: 19.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.0175, allocations: 105.3 kB / 494.7 MB, free: 19.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.01871, allocations: 1.033 MB / 495.7 MB, free: 19.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.889e-05/0.01878, allocations: 129.3 kB / 495.8 MB, free: 19.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.666e-05/0.01888, allocations: 49.11 kB / 495.9 MB, free: 19.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.01895, allocations: 32.81 kB / 495.9 MB, free: 19.13 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01895, allocations: 0.875 kB / 495.9 MB, free: 19.13 MB / 426.7 MB Notification: Performance of Templates: time 0.007305/0.02626, allocations: 4.986 MB / 0.4891 GB, free: 18.53 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.39255214901641]