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.001053/0.001053, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.001188/0.001188, allocations: 177 kB / 24.09 MB, free: 416 kB / 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.929/0.929, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.5371/0.5371, allocations: 110.3 MB / 371.3 MB, free: 12.33 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.743e-06/1.743e-06, allocations: 0 / 475.7 MB, free: 14.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.695e-05, allocations: 3.297 kB / 475.7 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004005/0.004032, allocations: 4.148 MB / 479.9 MB, free: 12.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.006523, allocations: 2.383 MB / 482.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.006786, allocations: 10.75 kB / 482.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.007885, allocations: 0.4985 MB / 482.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.008232, allocations: 259.3 kB / 483 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.008403, allocations: 148 kB / 483.1 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005345/0.008937, allocations: 0.8473 MB / 484 MB, free: 9.641 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.009201, allocations: 212.8 kB / 484.2 MB, free: 9.531 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000458/0.009659, allocations: 458.6 kB / 484.6 MB, free: 9.332 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.009917, allocations: 251.7 kB / 484.9 MB, free: 9.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.339e-05/0.01, allocations: 77.19 kB / 485 MB, free: 9.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.0101, allocations: 75.09 kB / 485 MB, free: 9.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.0102, allocations: 179.3 kB / 485.2 MB, free: 9.129 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.0104, allocations: 264.4 kB / 485.5 MB, free: 9.016 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.01087, allocations: 0.5089 MB / 486 MB, free: 8.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01088, allocations: 0.6562 kB / 486 MB, free: 8.754 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01088, allocations: 0 / 486 MB, free: 8.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.01089, allocations: 0.8125 kB / 486 MB, free: 8.754 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.0009136/0.01181, allocations: 1.009 MB / 487 MB, free: 8.016 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.01185, allocations: 9.406 kB / 487 MB, free: 8.016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.01197, allocations: 116.1 kB / 487.1 MB, free: 7.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.0123, allocations: 377.7 kB / 487.5 MB, free: 7.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.01233, allocations: 36.19 kB / 487.5 MB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.01237, allocations: 52.66 kB / 487.6 MB, free: 7.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.01268, allocations: 276.4 kB / 487.8 MB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.01269, allocations: 1.312 kB / 487.8 MB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.01271, allocations: 19.25 kB / 487.9 MB, free: 7.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.01272, allocations: 19.58 kB / 487.9 MB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.01291, allocations: 157.3 kB / 488 MB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.01444, allocations: 1.118 MB / 489.2 MB, free: 22.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.0147, allocations: 196.9 kB / 489.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.01492, allocations: 172.1 kB / 489.5 MB, free: 22.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.01495, allocations: 10.72 kB / 489.5 MB, free: 22.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.01497, allocations: 39.64 kB / 489.6 MB, free: 22.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 3.056e-06/0.01497, allocations: 0.625 kB / 489.6 MB, free: 22.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005134/0.01549, allocations: 288.5 kB / 489.8 MB, free: 22.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.01552, allocations: 59.69 kB / 489.9 MB, free: 22.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.01595, allocations: 470.4 kB / 490.4 MB, free: 22.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.01598, allocations: 31.2 kB / 490.4 MB, free: 22.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.01616, allocations: 355.8 kB / 490.7 MB, free: 21.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.303e-05/0.01626, allocations: 156.5 kB / 490.9 MB, free: 21.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.23e-05/0.01635, allocations: 64.33 kB / 491 MB, free: 21.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.01654, allocations: 0.5556 MB / 491.5 MB, free: 21.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/0.01662, allocations: 42.16 kB / 491.6 MB, free: 21.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.0167, allocations: 46.28 kB / 491.6 MB, free: 21.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.01691, allocations: 140.3 kB / 491.7 MB, free: 21.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01691, allocations: 0.8438 kB / 491.7 MB, free: 21.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003199/0.01723, allocations: 252.4 kB / 492 MB, free: 21.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.01725, allocations: 6.094 kB / 492 MB, free: 21.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.01725, allocations: 0.5938 kB / 492 MB, free: 21.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.01727, allocations: 2.469 kB / 492 MB, free: 21.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.01764, allocations: 125.1 kB / 492.1 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01765, allocations: 14.33 kB / 492.1 MB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.01782, allocations: 25.75 kB / 492.2 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.01784, allocations: 14.28 kB / 492.2 MB, free: 21.03 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 0.0001393/0.01798, allocations: 180.5 kB / 492.3 MB, free: 20.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/0.01806, allocations: 60.7 kB / 492.4 MB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/0.01813, allocations: 59.16 kB / 492.5 MB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.01814, allocations: 4.094 kB / 492.5 MB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.01814, allocations: 1.344 kB / 492.5 MB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.01815, allocations: 8.156 kB / 492.5 MB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.01862, allocations: 341.8 kB / 492.8 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01862, allocations: 0.9062 kB / 492.8 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.01903, allocations: 124 kB / 492.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.01904, allocations: 1.188 kB / 492.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.01907, allocations: 7.812 kB / 492.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.01907, allocations: 1.219 kB / 492.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01908, allocations: 1.281 kB / 492.9 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.01971, allocations: 478.1 kB / 493.4 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.01981, allocations: 57.62 kB / 493.5 MB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.01987, allocations: 10.09 kB / 493.5 MB, free: 20.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.02006, allocations: 7.312 kB / 493.5 MB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.02013, allocations: 27.22 kB / 493.5 MB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.02015, allocations: 4.844 kB / 493.5 MB, free: 20.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000328/0.02048, allocations: 297.3 kB / 493.8 MB, free: 20.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02048, allocations: 2.844 kB / 493.8 MB, free: 20.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005695/0.02105, allocations: 148.2 kB / 493.9 MB, free: 20.02 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 0.0002023/0.02125, allocations: 121.8 kB / 494.1 MB, free: 19.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.02157, allocations: 173.9 kB / 494.2 MB, free: 19.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.02157, allocations: 2.156 kB / 494.2 MB, free: 19.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.02172, allocations: 115.1 kB / 494.4 MB, free: 19.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.02226, allocations: 103.8 kB / 494.5 MB, free: 19.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.02413, allocations: 1.016 MB / 495.5 MB, free: 19.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.449e-05/0.02423, allocations: 133.2 kB / 495.6 MB, free: 19.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.02442, allocations: 46.91 kB / 495.6 MB, free: 19.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.02466, allocations: 163.6 kB / 495.8 MB, free: 19.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02466, allocations: 0 / 495.8 MB, free: 19.11 MB / 426.7 MB Notification: Performance of Templates: time 0.008535/0.03319, allocations: 5.413 MB / 0.4895 GB, free: 18.45 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.190466171130538]