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.001253/0.001253, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001578/0.001578, allocations: 222.3 kB / 23 MB, free: 4.914 MB / 14.72 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 1.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9037/0.9037, allocations: 145 MB / 458.2 MB, free: 15.31 MB / 366.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.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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 71.05 kB / 0.6344 GB, free: 6.156 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1774, allocations: 87.88 MB / 0.7202 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006502/0.1839, allocations: 3.791 MB / 0.7239 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003898/0.1878, allocations: 2.227 MB / 0.7261 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000482/0.1882, allocations: 12 kB / 0.7261 GB, free: 8.238 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.1899, allocations: 497.4 kB / 0.7266 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000691/0.1906, allocations: 258 kB / 0.7268 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1909, allocations: 135.9 kB / 0.7269 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.192, allocations: 0.8127 MB / 0.7277 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/0.1924, allocations: 219 kB / 0.7279 GB, free: 6.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005234/0.1929, allocations: 307 kB / 0.7282 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004964/0.1934, allocations: 282.6 kB / 0.7285 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.1936, allocations: 76 kB / 0.7286 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.1937, allocations: 76 kB / 0.7286 GB, free: 5.602 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.1939, allocations: 171.4 kB / 0.7288 GB, free: 5.434 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.1943, allocations: 314.7 kB / 0.7291 GB, free: 5.125 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.1953, allocations: 1.031 MB / 0.7301 GB, free: 4.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1954, allocations: 0 / 0.7301 GB, free: 4.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.338e-06/0.1954, allocations: 3.984 kB / 0.7301 GB, free: 4.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.959e-05/0.1954, allocations: 0 / 0.7301 GB, free: 4.086 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.001761/0.1972, allocations: 0.8938 MB / 0.731 GB, free: 3.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1972, allocations: 8.031 kB / 0.731 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.1973, allocations: 80.47 kB / 0.7311 GB, free: 3.074 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.1981, allocations: 412.1 kB / 0.7315 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.1981, allocations: 37.38 kB / 0.7315 GB, free: 2.609 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.1982, allocations: 44.38 kB / 0.7315 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/0.199, allocations: 434.7 kB / 0.732 GB, free: 2.133 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.199, allocations: 4 kB / 0.732 GB, free: 2.129 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.199, allocations: 16 kB / 0.732 GB, free: 2.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.199, allocations: 12 kB / 0.732 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000705/0.1997, allocations: 363.8 kB / 0.7323 GB, free: 1.746 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.2017, allocations: 1.164 MB / 0.7335 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.2022, allocations: 313 kB / 0.7338 GB, free: 236 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.2027, allocations: 292.5 kB / 0.7341 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.2027, allocations: 4 kB / 0.7341 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.2027, allocations: 35.25 kB / 0.7341 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.773e-06/0.2027, allocations: 3.938 kB / 0.7341 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009304/0.2036, allocations: 0.4946 MB / 0.7346 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.2037, allocations: 59.34 kB / 0.7346 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.2042, allocations: 438 kB / 0.7351 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.2042, allocations: 33.69 kB / 0.7351 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.2044, allocations: 280.5 kB / 0.7354 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.2046, allocations: 150.7 kB / 0.7355 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.2047, allocations: 62.08 kB / 0.7356 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2048, allocations: 358.8 kB / 0.7359 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.2051, allocations: 116.7 kB / 0.736 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.2053, allocations: 129.4 kB / 0.7361 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.2058, allocations: 302 kB / 0.7364 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.2058, allocations: 0 / 0.7364 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000634/0.2064, allocations: 396.5 kB / 0.7368 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2065, allocations: 11.92 kB / 0.7368 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2065, allocations: 0 / 0.7368 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.2065, allocations: 8 kB / 0.7368 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.207, allocations: 123.9 kB / 0.7369 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.207, allocations: 0 / 0.7369 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.2072, allocations: 31.78 kB / 0.737 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2072, allocations: 8 kB / 0.737 GB, free: 12.88 MB / 0.5606 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.000217/0.2074, allocations: 197.8 kB / 0.7372 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.167e-05/0.2075, allocations: 47.66 kB / 0.7372 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.2076, allocations: 64.86 kB / 0.7373 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2076, allocations: 8 kB / 0.7373 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2076, allocations: 0 / 0.7373 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2076, allocations: 4 kB / 0.7373 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/0.2081, allocations: 420.8 kB / 0.7377 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2081, allocations: 0 / 0.7377 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/0.2086, allocations: 123.9 kB / 0.7378 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2086, allocations: 0 / 0.7378 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.2087, allocations: 15.94 kB / 0.7378 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2087, allocations: 0 / 0.7378 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2087, allocations: 4 kB / 0.7378 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.2097, allocations: 0.6472 MB / 0.7385 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.178e-05/0.2097, allocations: 55.69 kB / 0.7385 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.2098, allocations: 11.94 kB / 0.7385 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.21, allocations: 11.98 kB / 0.7385 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.2101, allocations: 23.95 kB / 0.7385 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.2101, allocations: 12 kB / 0.7386 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000352/0.2104, allocations: 319.1 kB / 0.7389 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2104, allocations: 4 kB / 0.7389 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003956/0.2108, allocations: 151.6 kB / 0.739 GB, free: 10.73 MB / 0.5606 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.0001524/0.211, allocations: 119.2 kB / 0.7391 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005791/0.2116, allocations: 307.5 kB / 0.7394 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2116, allocations: 0 / 0.7394 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.2118, allocations: 167.9 kB / 0.7396 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.2124, allocations: 100.2 kB / 0.7397 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.2143, allocations: 1.247 MB / 0.7409 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.2146, allocations: 271.2 kB / 0.7412 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.2147, allocations: 35.44 kB / 0.7412 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.2147, allocations: 0 / 0.7412 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of Templates: time 0.009586/0.2243, allocations: 6.691 MB / 0.7477 GB, free: 1.789 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: 8.689857786986977] Failed to read output from testmodel.py, exit status != 0: 0.23302436107769608 0.5167872800000001 0.318595823 Calling exit ...