Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.0008234/0.0008234, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.0007853/0.0007853, allocations: 161.3 kB / 23.52 MB, free: 0.918 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.8916/0.8916, allocations: 177.2 MB / 203.9 MB, free: 5.586 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.5624/0.5624, allocations: 110.2 MB / 370.6 MB, free: 12.48 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 474.5 MB, free: 15.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.64e-05, allocations: 11.31 kB / 474.5 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002412/0.002428, allocations: 2.838 MB / 477.3 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.004113, allocations: 1.966 MB / 479.3 MB, free: 12.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.004254, allocations: 5.312 kB / 479.3 MB, free: 12.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.005621, allocations: 466.7 kB / 479.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.005928, allocations: 160.1 kB / 479.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.006043, allocations: 58.59 kB / 480 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.006384, allocations: 473.5 kB / 480.4 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.006553, allocations: 94.98 kB / 480.5 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.00685, allocations: 248.7 kB / 480.8 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.007018, allocations: 134.9 kB / 480.9 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.007067, allocations: 34.38 kB / 480.9 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.733e-05/0.007114, allocations: 33.94 kB / 481 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.668e-05/0.007201, allocations: 96.3 kB / 481.1 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.007312, allocations: 147.8 kB / 481.2 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.007713, allocations: 0.5514 MB / 481.8 MB, free: 10.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.007718, allocations: 0 / 481.8 MB, free: 10.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.00772, allocations: 3.438 kB / 481.8 MB, free: 10.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.007735, allocations: 0 / 481.8 MB, free: 10.95 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007606/0.008496, allocations: 0.6412 MB / 482.4 MB, free: 10.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.008537, allocations: 9.594 kB / 482.4 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.00862, allocations: 61.03 kB / 482.5 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.009003, allocations: 326 kB / 482.8 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.009016, allocations: 18.03 kB / 482.8 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.009051, allocations: 22.91 kB / 482.8 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.009301, allocations: 198 kB / 483 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.009313, allocations: 0.9062 kB / 483 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.009329, allocations: 9.969 kB / 483 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.009337, allocations: 14.5 kB / 483 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.009563, allocations: 161.7 kB / 483.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.01026, allocations: 0.6466 MB / 483.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.01046, allocations: 142.4 kB / 484 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.01059, allocations: 102.7 kB / 484.1 MB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.0106, allocations: 3.75 kB / 484.1 MB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.01061, allocations: 39.16 kB / 484.1 MB, free: 9.457 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.01062, allocations: 0.7188 kB / 484.1 MB, free: 9.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.000406/0.01102, allocations: 253.8 kB / 484.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.01105, allocations: 53.91 kB / 484.4 MB, free: 9.281 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.01139, allocations: 399 kB / 484.8 MB, free: 9.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.01141, allocations: 31.73 kB / 484.9 MB, free: 9.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.01149, allocations: 211.2 kB / 485.1 MB, free: 8.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.01153, allocations: 65.97 kB / 485.1 MB, free: 8.816 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.01158, allocations: 37.08 kB / 485.2 MB, free: 8.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.01181, allocations: 345.4 kB / 485.5 MB, free: 24.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.01191, allocations: 61.98 kB / 485.6 MB, free: 24.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.01198, allocations: 53.72 kB / 485.6 MB, free: 24.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.01215, allocations: 132.4 kB / 485.7 MB, free: 24.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01216, allocations: 4 kB / 485.7 MB, free: 24.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002315/0.01239, allocations: 214.9 kB / 486 MB, free: 24.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.0124, allocations: 6.344 kB / 486 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01241, allocations: 3.938 kB / 486 MB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.01242, allocations: 5.359 kB / 486 MB, free: 24.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.01258, allocations: 55.25 kB / 486 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.01259, allocations: 1.156 kB / 486 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.638e-05/0.01266, allocations: 21.33 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.01267, allocations: 8.188 kB / 486.1 MB, free: 24.24 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 (20): * Single equations (assignments): 20 * 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.0001049/0.01277, allocations: 166.8 kB / 486.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.01281, allocations: 39.58 kB / 486.3 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.01286, allocations: 37.53 kB / 486.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01286, allocations: 3 kB / 486.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.01287, allocations: 1.031 kB / 486.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01287, allocations: 7.359 kB / 486.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.01308, allocations: 276.7 kB / 486.6 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01308, allocations: 0 / 486.6 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.01323, allocations: 50.03 kB / 486.6 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01323, allocations: 3.281 kB / 486.6 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.01325, allocations: 9.25 kB / 486.6 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01325, allocations: 0 / 486.6 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01325, allocations: 1.125 kB / 486.6 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.01364, allocations: 386.4 kB / 487 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.01369, allocations: 42.59 kB / 487.1 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.01371, allocations: 2.344 kB / 487.1 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.0138, allocations: 8.688 kB / 487.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.01384, allocations: 11.31 kB / 487.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.01385, allocations: 6.594 kB / 487.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002255/0.01408, allocations: 288.7 kB / 487.4 MB, free: 23.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01408, allocations: 0 / 487.4 MB, free: 23.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.01431, allocations: 81.16 kB / 487.4 MB, free: 23.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.671e-05/0.0144, allocations: 112.2 kB / 487.6 MB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.01464, allocations: 134.6 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01464, allocations: 1.562 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.992e-05/0.01473, allocations: 80.75 kB / 487.8 MB, free: 23.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.0151, allocations: 84.8 kB / 487.8 MB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009031/0.016, allocations: 0.6967 MB / 488.5 MB, free: 22.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.01615, allocations: 194.3 kB / 488.7 MB, free: 22.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.01627, allocations: 35.31 kB / 488.8 MB, free: 22.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.01632, allocations: 23.84 kB / 488.8 MB, free: 22.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01632, allocations: 0 / 488.8 MB, free: 22.72 MB / 426.7 MB Notification: Performance of Templates: time 0.006335/0.02266, allocations: 3.66 MB / 492.5 MB, free: 22.33 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.2298285998404026]