Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001512/0.001512, 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.001664/0.001664, allocations: 188 kB / 22.22 MB, free: 5.164 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.384/1.384, 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/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002453/0.002453, allocations: 285.8 kB / 306.6 MB, free: 8.344 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.175/1.175, allocations: 180.9 MB / 0.53 GB, free: 14.43 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 96.48 kB / 0.7309 GB, free: 38.73 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1454, allocations: 94.2 MB / 0.8229 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005481/0.1509, allocations: 4.184 MB / 0.827 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003266/0.1542, allocations: 2.429 MB / 0.8293 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.1544, allocations: 8 kB / 0.8294 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.1558, allocations: 0.5441 MB / 0.8299 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.1562, allocations: 250 kB / 0.8301 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.1565, allocations: 135.9 kB / 0.8303 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008453/0.1573, allocations: 0.8176 MB / 0.8311 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.1577, allocations: 235 kB / 0.8313 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003568/0.1581, allocations: 302.9 kB / 0.8316 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.1584, allocations: 330.6 kB / 0.8319 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.946e-05/0.1585, allocations: 72 kB / 0.8319 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1587, allocations: 76 kB / 0.832 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.1588, allocations: 179.4 kB / 0.8322 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003658/0.1592, allocations: 382.3 kB / 0.8326 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.1602, allocations: 1 MB / 0.8335 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1602, allocations: 0 / 0.8335 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1602, allocations: 4 kB / 0.8335 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.1602, allocations: 0 / 0.8335 GB, free: 6.863 MB / 0.5762 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.001506/0.1617, allocations: 0.8938 MB / 0.8344 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1618, allocations: 8.031 kB / 0.8344 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.1619, allocations: 80.47 kB / 0.8345 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006427/0.1625, allocations: 396.2 kB / 0.8349 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.1626, allocations: 41.38 kB / 0.8349 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.598e-05/0.1627, allocations: 52.33 kB / 0.835 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.1634, allocations: 434.8 kB / 0.8354 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1635, allocations: 0 / 0.8354 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.1635, allocations: 20 kB / 0.8354 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.1635, allocations: 12 kB / 0.8354 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000755/0.1643, allocations: 367.8 kB / 0.8358 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.1665, allocations: 1.473 MB / 0.8372 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/0.1671, allocations: 312.1 kB / 0.8375 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.1676, allocations: 290.8 kB / 0.8378 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1676, allocations: 7.938 kB / 0.8378 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.1677, allocations: 46.44 kB / 0.8378 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=42): time 1.824e-06/0.1677, allocations: 4 kB / 0.8378 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.001003/0.1687, allocations: 494.5 kB / 0.8383 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1687, allocations: 55.41 kB / 0.8383 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.1693, allocations: 490.7 kB / 0.8388 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.1694, allocations: 33.7 kB / 0.8388 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.1696, allocations: 284.7 kB / 0.8391 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.1697, allocations: 150.6 kB / 0.8393 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.1698, allocations: 62.08 kB / 0.8393 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.17, allocations: 362.8 kB / 0.8397 GB, free: 380 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.1703, allocations: 116.7 kB / 0.8398 GB, free: 264 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.1705, allocations: 134.4 kB / 0.8399 GB, free: 132 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.1711, allocations: 298 kB / 0.8402 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1711, allocations: 0 / 0.8402 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007178/0.1718, allocations: 400.5 kB / 0.8406 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1718, allocations: 11.98 kB / 0.8406 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1718, allocations: 0 / 0.8406 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1718, allocations: 0 / 0.8406 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.1723, allocations: 123.9 kB / 0.8407 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1724, allocations: 11.98 kB / 0.8407 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.1726, allocations: 35.73 kB / 0.8408 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.1726, allocations: 11.94 kB / 0.8408 GB, free: 15.25 MB / 0.5919 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.0002299/0.1728, allocations: 198.4 kB / 0.841 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.1729, allocations: 59.59 kB / 0.841 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.173, allocations: 61.09 kB / 0.8411 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.173, allocations: 4 kB / 0.8411 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1731, allocations: 4 kB / 0.8411 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1731, allocations: 4 kB / 0.8411 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.1738, allocations: 0.5469 MB / 0.8416 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1738, allocations: 0 / 0.8416 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.1743, allocations: 127.8 kB / 0.8417 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1743, allocations: 0 / 0.8417 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.1744, allocations: 11.98 kB / 0.8417 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1744, allocations: 0 / 0.8417 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1744, allocations: 0 / 0.8417 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.1754, allocations: 0.655 MB / 0.8424 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.1756, allocations: 63.58 kB / 0.8424 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.1756, allocations: 15.92 kB / 0.8425 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.1758, allocations: 8 kB / 0.8425 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.1759, allocations: 27.95 kB / 0.8425 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.1759, allocations: 11.98 kB / 0.8425 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004393/0.1764, allocations: 359.1 kB / 0.8428 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1764, allocations: 0 / 0.8428 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004044/0.1768, allocations: 147.7 kB / 0.843 GB, free: 12.89 MB / 0.5919 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.0001511/0.1769, allocations: 107.2 kB / 0.8431 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006257/0.1776, allocations: 303.6 kB / 0.8434 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1776, allocations: 0 / 0.8434 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.1779, allocations: 168.2 kB / 0.8435 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.1785, allocations: 121.8 kB / 0.8437 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.1805, allocations: 1.219 MB / 0.8448 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.181, allocations: 0.8664 MB / 0.8457 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.1812, allocations: 48.41 kB / 0.8457 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.1813, allocations: 39.44 kB / 0.8458 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1813, allocations: 0 / 0.8458 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of Templates: time 0.01247/0.1938, allocations: 6.281 MB / 0.8519 GB, free: 3.84 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.966500769369304] Failed to read output from testmodel.py, exit status != 0: 0.20098151732236147 0.216189968 0.052959392 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7efd87f757b0>