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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 189.1 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
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.9306/0.9306, allocations: 145 MB / 451.2 MB, free: 5.5 MB / 350.1 MB
"
[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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002036/0.002036, allocations: 68.48 kB / 0.6254 GB, free: 15.48 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.216, allocations: 86.71 MB / 0.7101 GB, free: 8.789 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005487/0.2215, allocations: 3.055 MB / 0.713 GB, free: 5.719 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.00327/0.2247, allocations: 2.16 MB / 0.7152 GB, free: 3.547 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.225, allocations: 8 kB / 0.7152 GB, free: 3.539 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.001492/0.2265, allocations: 0.5016 MB / 0.7156 GB, free: 3.035 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.2268, allocations: 154.8 kB / 0.7158 GB, free: 2.883 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.227, allocations: 59.92 kB / 0.7159 GB, free: 2.824 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0005155/0.2275, allocations: 456.6 kB / 0.7163 GB, free: 2.379 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.2277, allocations: 103.8 kB / 0.7164 GB, free: 2.273 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.2279, allocations: 159.4 kB / 0.7165 GB, free: 2.117 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.2282, allocations: 187.1 kB / 0.7167 GB, free: 1.934 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.2282, allocations: 32 kB / 0.7167 GB, free: 1.902 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.2283, allocations: 36 kB / 0.7168 GB, free: 1.867 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.2284, allocations: 95.67 kB / 0.7169 GB, free: 1.773 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.2287, allocations: 218.9 kB / 0.7171 GB, free: 1.559 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006505/0.2293, allocations: 0.5719 MB / 0.7176 GB, free: 0.9844 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2293, allocations: 3.938 kB / 0.7176 GB, free: 0.9805 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.582e-06/0.2293, allocations: 0 / 0.7176 GB, free: 0.9805 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 8.185e-06/0.2293, allocations: 0 / 0.7176 GB, free: 0.9805 MB / 0.5294 GB
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.001149/0.2305, allocations: 0.6432 MB / 0.7183 GB, free: 312 kB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2305, allocations: 12.03 kB / 0.7183 GB, free: 300 kB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.305e-05/0.2306, allocations: 48.64 kB / 0.7183 GB, free: 252 kB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006466/0.2313, allocations: 316.8 kB / 0.7186 GB, free: 15.91 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.2313, allocations: 20.75 kB / 0.7187 GB, free: 15.89 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.2314, allocations: 24.38 kB / 0.7187 GB, free: 15.86 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.2318, allocations: 203.5 kB / 0.7189 GB, free: 15.66 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2318, allocations: 8 kB / 0.7189 GB, free: 15.65 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.2318, allocations: 8 kB / 0.7189 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.2319, allocations: 4 kB / 0.7189 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.2323, allocations: 165.7 kB / 0.719 GB, free: 15.48 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.2335, allocations: 0.8277 MB / 0.7199 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.2338, allocations: 138.6 kB / 0.72 GB, free: 14.44 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.2341, allocations: 103.9 kB / 0.7201 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.2341, allocations: 4 kB / 0.7201 GB, free: 14.33 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.2341, allocations: 30.56 kB / 0.7201 GB, free: 14.29 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.2341, allocations: 4 kB / 0.7201 GB, free: 14.29 MB / 0.545 GB
Notification: Performance of matching and sorting (n=18): time 0.0006595/0.2348, allocations: 263.5 kB / 0.7204 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.2348, allocations: 59.41 kB / 0.7204 GB, free: 13.96 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.2353, allocations: 413.7 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.2353, allocations: 29.7 kB / 0.7209 GB, free: 13.51 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.2355, allocations: 208.4 kB / 0.7211 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/0.2356, allocations: 67.42 kB / 0.7211 GB, free: 13.24 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.2356, allocations: 33.72 kB / 0.7212 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001741/0.2358, allocations: 346.8 kB / 0.7215 GB, free: 12.85 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.236, allocations: 55.97 kB / 0.7215 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.2361, allocations: 59.91 kB / 0.7216 GB, free: 12.74 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.2364, allocations: 143 kB / 0.7217 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2364, allocations: 0 / 0.7217 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003981/0.2368, allocations: 201.4 kB / 0.7219 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.2368, allocations: 8 kB / 0.7219 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2368, allocations: 0 / 0.7219 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2369, allocations: 3.938 kB / 0.7219 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.2371, allocations: 55.95 kB / 0.722 GB, free: 12.33 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2371, allocations: 11.92 kB / 0.722 GB, free: 12.32 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.2373, allocations: 19.84 kB / 0.722 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.2373, allocations: 8 kB / 0.722 GB, free: 12.29 MB / 0.545 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 (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.0001711/0.2375, allocations: 165.8 kB / 0.7222 GB, free: 12.12 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.2375, allocations: 35.77 kB / 0.7222 GB, free: 12.08 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.024e-05/0.2376, allocations: 47.45 kB / 0.7223 GB, free: 12.04 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2376, allocations: 4 kB / 0.7223 GB, free: 12.03 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2376, allocations: 0 / 0.7223 GB, free: 12.03 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2376, allocations: 0 / 0.7223 GB, free: 12.03 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.238, allocations: 340.5 kB / 0.7226 GB, free: 11.66 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.238, allocations: 12 kB / 0.7226 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.2383, allocations: 59.89 kB / 0.7227 GB, free: 11.59 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2383, allocations: 0 / 0.7227 GB, free: 11.59 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.2383, allocations: 3.938 kB / 0.7227 GB, free: 11.58 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2383, allocations: 7.938 kB / 0.7227 GB, free: 11.57 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2383, allocations: 0 / 0.7227 GB, free: 11.57 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006481/0.239, allocations: 377 kB / 0.723 GB, free: 11.19 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.239, allocations: 47.72 kB / 0.7231 GB, free: 11.14 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.2391, allocations: 3.938 kB / 0.7231 GB, free: 11.14 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.2392, allocations: 11.98 kB / 0.7231 GB, free: 11.13 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.2393, allocations: 11.97 kB / 0.7231 GB, free: 11.12 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.2393, allocations: 11.94 kB / 0.7231 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0003426/0.2396, allocations: 299.2 kB / 0.7234 GB, free: 10.81 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.2396, allocations: 0 / 0.7234 GB, free: 10.81 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0003108/0.24, allocations: 75.95 kB / 0.7235 GB, free: 10.74 MB / 0.545 GB
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 0.0001504/0.2401, allocations: 107.2 kB / 0.7236 GB, free: 10.62 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0003973/0.2405, allocations: 135.8 kB / 0.7237 GB, free: 10.49 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2405, allocations: 0 / 0.7237 GB, free: 10.49 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.2407, allocations: 79.84 kB / 0.7238 GB, free: 10.41 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.2412, allocations: 91.72 kB / 0.7239 GB, free: 10.33 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.2426, allocations: 0.7734 MB / 0.7246 GB, free: 9.531 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.243, allocations: 0.8028 MB / 0.7254 GB, free: 8.703 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0001165/0.2431, allocations: 34.97 kB / 0.7254 GB, free: 8.668 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.2432, allocations: 23.44 kB / 0.7255 GB, free: 8.645 MB / 0.545 GB
Notification: Performance of SimCode: time 3.41e-07/0.2432, allocations: 0 / 0.7255 GB, free: 8.645 MB / 0.545 GB
Notification: Performance of Templates: time 0.009087/0.2523, allocations: 4.128 MB / 0.7295 GB, free: 4.629 MB / 0.545 GB
"
[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 -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: 5.919238961301744]
Failed to read output from testmodel.py, exit status != 0:
0.2604116350412369 0.275056016 0.042622828
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8ceb0e57b0>