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.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.001437/0.001437, allocations: 110 kB / 18.93 MB, free: 2.945 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.001658/0.001658, allocations: 186.1 kB / 22.23 MB, free: 5.16 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.632/1.632, allocations: 225.6 MB / 251 MB, free: 13.01 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.9269/0.9269, allocations: 145 MB / 451.2 MB, free: 5.426 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.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 0.001974/0.001974, allocations: 63.94 kB / 0.6254 GB, free: 15.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2185, 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.InternalResistancesTwoUTube): time 0.005996/0.2245, allocations: 4.187 MB / 0.7141 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004295/0.2288, allocations: 2.421 MB / 0.7165 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.2291, allocations: 15.94 kB / 0.7165 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.2309, allocations: 0.5364 MB / 0.717 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000575/0.2315, allocations: 254 kB / 0.7173 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.2318, allocations: 147.7 kB / 0.7174 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000938/0.2328, allocations: 0.8098 MB / 0.7182 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004358/0.2332, allocations: 234.9 kB / 0.7184 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.2336, allocations: 306.9 kB / 0.7187 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004486/0.2341, allocations: 326.6 kB / 0.719 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.2342, allocations: 72 kB / 0.7191 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.2343, allocations: 76 kB / 0.7192 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.2346, allocations: 183.4 kB / 0.7194 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.235, allocations: 378.3 kB / 0.7197 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.2362, allocations: 1.031 MB / 0.7207 GB, free: 13.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2362, allocations: 0 / 0.7207 GB, free: 13.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2362, allocations: 0 / 0.7207 GB, free: 13.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.2362, allocations: 4 kB / 0.7207 GB, free: 13.79 MB / 0.545 GB 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.001752/0.238, allocations: 0.8899 MB / 0.7216 GB, free: 12.87 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.238, allocations: 8.031 kB / 0.7216 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.2382, allocations: 80.47 kB / 0.7217 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007822/0.239, allocations: 404.2 kB / 0.7221 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.239, allocations: 33.38 kB / 0.7221 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/0.2391, allocations: 48.38 kB / 0.7221 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008793/0.24, allocations: 434.8 kB / 0.7226 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.24, allocations: 3.953 kB / 0.7226 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.24, allocations: 20 kB / 0.7226 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.24, allocations: 12 kB / 0.7226 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/0.2408, allocations: 371.8 kB / 0.723 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.2433, allocations: 1.473 MB / 0.7244 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.2439, allocations: 315.4 kB / 0.7247 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/0.2444, allocations: 286.3 kB / 0.725 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2444, allocations: 4.688 kB / 0.725 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.2444, allocations: 34.5 kB / 0.725 GB, free: 9.262 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.923e-06/0.2444, allocations: 7.938 kB / 0.725 GB, free: 9.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.00112/0.2456, allocations: 0.4907 MB / 0.7255 GB, free: 8.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.2456, allocations: 59.19 kB / 0.7255 GB, free: 8.688 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006805/0.2463, allocations: 489.9 kB / 0.726 GB, free: 8.207 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.2463, allocations: 29.7 kB / 0.726 GB, free: 8.172 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.2466, allocations: 280.7 kB / 0.7263 GB, free: 7.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.2468, allocations: 158.6 kB / 0.7265 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.2469, allocations: 62.08 kB / 0.7265 GB, free: 7.664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.2471, allocations: 359.5 kB / 0.7269 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.2474, allocations: 120.7 kB / 0.727 GB, free: 7.188 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.2477, allocations: 129.4 kB / 0.7271 GB, free: 7.062 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.2482, allocations: 294.1 kB / 0.7274 GB, free: 6.773 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2483, allocations: 0 / 0.7274 GB, free: 6.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007243/0.249, allocations: 400.5 kB / 0.7278 GB, free: 6.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.249, allocations: 18.02 kB / 0.7278 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.249, allocations: 7.922 kB / 0.7278 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.249, allocations: 0 / 0.7278 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.2496, allocations: 127.9 kB / 0.7279 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2496, allocations: 4 kB / 0.7279 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.2498, allocations: 31.73 kB / 0.7279 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.2499, allocations: 12 kB / 0.728 GB, free: 6.18 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 (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.0002855/0.2502, allocations: 205.7 kB / 0.7282 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2503, allocations: 59.61 kB / 0.7282 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.2504, allocations: 57.09 kB / 0.7283 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2504, allocations: 4 kB / 0.7283 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2504, allocations: 4 kB / 0.7283 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2504, allocations: 0 / 0.7283 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007875/0.2512, allocations: 0.5469 MB / 0.7288 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2512, allocations: 0 / 0.7288 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/0.2518, allocations: 127.8 kB / 0.7289 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2518, allocations: 4 kB / 0.7289 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.2518, allocations: 15.98 kB / 0.7289 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2518, allocations: 0 / 0.7289 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2518, allocations: 0 / 0.7289 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.253, allocations: 0.6433 MB / 0.7296 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.2531, allocations: 67.58 kB / 0.7296 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/0.2532, allocations: 7.984 kB / 0.7296 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.2534, allocations: 12 kB / 0.7297 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.2535, allocations: 31.89 kB / 0.7297 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.2535, allocations: 7.984 kB / 0.7297 GB, free: 4.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004648/0.254, allocations: 351.1 kB / 0.73 GB, free: 3.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.254, allocations: 7.938 kB / 0.73 GB, free: 3.973 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004647/0.2544, allocations: 143.7 kB / 0.7302 GB, free: 3.832 MB / 0.545 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.0001767/0.2546, allocations: 118.1 kB / 0.7303 GB, free: 3.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006894/0.2553, allocations: 303.6 kB / 0.7306 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2553, allocations: 0 / 0.7306 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.2556, allocations: 171.7 kB / 0.7307 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/0.2563, allocations: 128.5 kB / 0.7309 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.2586, allocations: 1.218 MB / 0.7321 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.2593, allocations: 0.8703 MB / 0.7329 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002462/0.2595, allocations: 52.39 kB / 0.733 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.2597, allocations: 35.44 kB / 0.733 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of SimCode: time 9.61e-07/0.2597, allocations: 0 / 0.733 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of Templates: time 0.01717/0.2768, allocations: 6.289 MB / 0.7391 GB, free: 10.75 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.318789600394666] Failed to read output from testmodel.py, exit status != 0: 0.28560193348675966 0.5759319399999999 0.335979241 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f4b86db97b0>