Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 109.1 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7015/0.7015, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 66.22 kB / 0.5577 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1333, allocations: 76.18 MB / 0.6321 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004794/0.1381, allocations: 4.127 MB / 0.6362 GB, free: 352 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.1412, allocations: 2.41 MB / 0.6385 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.1415, allocations: 12 kB / 0.6385 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.1428, allocations: 0.5324 MB / 0.639 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.1432, allocations: 258 kB / 0.6393 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.1434, allocations: 135.9 kB / 0.6394 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006843/0.1441, allocations: 0.8156 MB / 0.6402 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004186/0.1446, allocations: 330.5 kB / 0.6405 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.1449, allocations: 295 kB / 0.6408 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.1452, allocations: 322.6 kB / 0.6411 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.665e-05/0.1453, allocations: 76 kB / 0.6412 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.52e-05/0.1454, allocations: 80 kB / 0.6413 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1455, allocations: 175.4 kB / 0.6414 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.1459, allocations: 386.3 kB / 0.6418 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008044/0.1467, allocations: 0.9966 MB / 0.6428 GB, free: 9.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1467, allocations: 0 / 0.6428 GB, free: 9.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1467, allocations: 0 / 0.6428 GB, free: 9.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.1467, allocations: 0 / 0.6428 GB, free: 9.527 MB / 494.1 MB 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.001343/0.1481, allocations: 0.9463 MB / 0.6437 GB, free: 8.531 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1481, allocations: 12.03 kB / 0.6437 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1482, allocations: 76.03 kB / 0.6438 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.1488, allocations: 461.6 kB / 0.6442 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.1489, allocations: 33.38 kB / 0.6443 GB, free: 7.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/0.1489, allocations: 48.38 kB / 0.6443 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/0.1497, allocations: 434.7 kB / 0.6447 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.1497, allocations: 4 kB / 0.6447 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.1497, allocations: 20 kB / 0.6447 GB, free: 7.422 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1498, allocations: 16 kB / 0.6448 GB, free: 7.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006891/0.1505, allocations: 363.8 kB / 0.6451 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.1524, allocations: 1.516 MB / 0.6466 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.1529, allocations: 343.2 kB / 0.6469 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.1534, allocations: 323.5 kB / 0.6472 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.1535, allocations: 7.781 kB / 0.6472 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1535, allocations: 42.5 kB / 0.6473 GB, free: 4.738 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 1.663e-06/0.1535, allocations: 0 / 0.6473 GB, free: 4.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009123/0.1544, allocations: 0.4887 MB / 0.6477 GB, free: 4.242 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.1545, allocations: 55.41 kB / 0.6478 GB, free: 4.176 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.155, allocations: 489.9 kB / 0.6483 GB, free: 3.691 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.155, allocations: 29.7 kB / 0.6483 GB, free: 3.656 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.1552, allocations: 281.1 kB / 0.6486 GB, free: 3.379 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.1553, allocations: 145.8 kB / 0.6487 GB, free: 3.234 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.1554, allocations: 66.06 kB / 0.6488 GB, free: 3.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1555, allocations: 362.8 kB / 0.6491 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.1558, allocations: 116.7 kB / 0.6492 GB, free: 2.684 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.156, allocations: 133.2 kB / 0.6493 GB, free: 2.555 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.1566, allocations: 290.2 kB / 0.6496 GB, free: 2.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1566, allocations: 3.938 kB / 0.6496 GB, free: 2.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006268/0.1572, allocations: 396.5 kB / 0.65 GB, free: 1.871 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1572, allocations: 4 kB / 0.65 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1572, allocations: 0 / 0.65 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1573, allocations: 0 / 0.65 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.1578, allocations: 131.8 kB / 0.6501 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1578, allocations: 4 kB / 0.6501 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.158, allocations: 39.59 kB / 0.6502 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.158, allocations: 16 kB / 0.6502 GB, free: 1.68 MB / 494.1 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 (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.0001956/0.1582, allocations: 193.8 kB / 0.6504 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.1583, allocations: 55.36 kB / 0.6504 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.1584, allocations: 61.09 kB / 0.6505 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1585, allocations: 8 kB / 0.6505 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1585, allocations: 0 / 0.6505 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1585, allocations: 0 / 0.6505 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.1591, allocations: 0.5712 MB / 0.6511 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1591, allocations: 3.938 kB / 0.6511 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.1596, allocations: 131.8 kB / 0.6512 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1596, allocations: 0 / 0.6512 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.1597, allocations: 12 kB / 0.6512 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1597, allocations: 0 / 0.6512 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1597, allocations: 3.984 kB / 0.6512 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009621/0.1606, allocations: 0.6518 MB / 0.6518 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1608, allocations: 140.3 kB / 0.652 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.1608, allocations: 11.98 kB / 0.652 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.1611, allocations: 12 kB / 0.652 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.1611, allocations: 23.91 kB / 0.652 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.1612, allocations: 12 kB / 0.652 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003744/0.1616, allocations: 351.1 kB / 0.6524 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1616, allocations: 0 / 0.6524 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003865/0.162, allocations: 143.7 kB / 0.6525 GB, free: 15.22 MB / 0.4981 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.0001304/0.1621, allocations: 115.2 kB / 0.6526 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005862/0.1627, allocations: 319.7 kB / 0.6529 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1627, allocations: 0 / 0.6529 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.163, allocations: 187.5 kB / 0.6531 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.1637, allocations: 139 kB / 0.6532 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.1655, allocations: 1.196 MB / 0.6544 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1659, allocations: 0.8665 MB / 0.6552 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.1661, allocations: 56.39 kB / 0.6553 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.1662, allocations: 35.44 kB / 0.6553 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1662, allocations: 0 / 0.6553 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.01015/0.1763, allocations: 6.013 MB / 0.6612 GB, free: 6.387 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)