Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008321/0.0008322, allocations: 98.42 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 181.2 kB / 16.92 MB, free: 6.898 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6716/0.6716, allocations: 115.4 MB / 407.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003337, allocations: 8 kB / 495.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 77.51 MB / 0.5598 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00346/0.1529, allocations: 2.687 MB / 0.5625 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.1558, allocations: 2.067 MB / 0.5645 GB, free: 4.336 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.1562, allocations: 11.94 kB / 0.5645 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.1577, allocations: 478.1 kB / 0.5649 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.1582, allocations: 135 kB / 0.5651 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.1583, allocations: 51.97 kB / 0.5651 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005904/0.1589, allocations: 461.9 kB / 0.5656 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.1592, allocations: 135.9 kB / 0.5657 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.1594, allocations: 139.3 kB / 0.5658 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.1597, allocations: 167.2 kB / 0.566 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.1597, allocations: 20 kB / 0.566 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.1598, allocations: 16 kB / 0.566 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1599, allocations: 79.61 kB / 0.5661 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.1601, allocations: 220.7 kB / 0.5663 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.1606, allocations: 0.5214 MB / 0.5668 GB, free: 1.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1606, allocations: 0 / 0.5668 GB, free: 1.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1606, allocations: 8 kB / 0.5668 GB, free: 1.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.1606, allocations: 0 / 0.5668 GB, free: 1.918 MB / 430.1 MB 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.0009275/0.1615, allocations: 0.6463 MB / 0.5675 GB, free: 1.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1616, allocations: 8.031 kB / 0.5675 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.74e-05/0.1617, allocations: 48.38 kB / 0.5675 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.1621, allocations: 374.1 kB / 0.5679 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1622, allocations: 12.81 kB / 0.5679 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.1622, allocations: 24.38 kB / 0.5679 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.1627, allocations: 207.6 kB / 0.5681 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1627, allocations: 3.984 kB / 0.5681 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.1627, allocations: 12 kB / 0.5681 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1627, allocations: 8 kB / 0.5681 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.1631, allocations: 169.6 kB / 0.5683 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.1644, allocations: 0.874 MB / 0.5691 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.1647, allocations: 164.8 kB / 0.5693 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.1649, allocations: 112.8 kB / 0.5694 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.165, allocations: 8 kB / 0.5694 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.165, allocations: 38.55 kB / 0.5694 GB, free: 15.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.165, allocations: 0 / 0.5694 GB, free: 15.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006176/0.1656, allocations: 275 kB / 0.5697 GB, free: 14.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.1657, allocations: 55.34 kB / 0.5698 GB, free: 14.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004763/0.1661, allocations: 417.7 kB / 0.5702 GB, free: 14.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1662, allocations: 29.7 kB / 0.5702 GB, free: 14.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.1663, allocations: 204.2 kB / 0.5704 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.1664, allocations: 66.98 kB / 0.5704 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.1664, allocations: 21.7 kB / 0.5705 GB, free: 13.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1665, allocations: 350.8 kB / 0.5708 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.1667, allocations: 63.97 kB / 0.5709 GB, free: 13.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.1669, allocations: 61.86 kB / 0.5709 GB, free: 13.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.1672, allocations: 150.6 kB / 0.5711 GB, free: 13.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1672, allocations: 0 / 0.5711 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004026/0.1676, allocations: 213.2 kB / 0.5713 GB, free: 13.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1676, allocations: 8 kB / 0.5713 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1676, allocations: 7.938 kB / 0.5713 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1677, allocations: 3.938 kB / 0.5713 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.1679, allocations: 51.97 kB / 0.5713 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1679, allocations: 0 / 0.5713 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.1681, allocations: 23.89 kB / 0.5714 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1681, allocations: 11.94 kB / 0.5714 GB, free: 13.02 MB / 446.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 (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.0001603/0.1683, allocations: 169.7 kB / 0.5715 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/0.1684, allocations: 35.53 kB / 0.5716 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.623e-05/0.1685, allocations: 43.53 kB / 0.5716 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1685, allocations: 4 kB / 0.5716 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1685, allocations: 0 / 0.5716 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1685, allocations: 3.984 kB / 0.5716 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.1689, allocations: 369.3 kB / 0.572 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1689, allocations: 0 / 0.572 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.1692, allocations: 59.97 kB / 0.572 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1692, allocations: 0 / 0.572 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1692, allocations: 7.938 kB / 0.572 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.1692, allocations: 3.984 kB / 0.572 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1692, allocations: 0 / 0.572 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/0.1699, allocations: 393.2 kB / 0.5724 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.17, allocations: 120.7 kB / 0.5725 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.17, allocations: 7.938 kB / 0.5725 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.1702, allocations: 23.95 kB / 0.5726 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.1703, allocations: 7.984 kB / 0.5726 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1703, allocations: 8 kB / 0.5726 GB, free: 11.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003253/0.1706, allocations: 299.1 kB / 0.5729 GB, free: 11.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1706, allocations: 4 kB / 0.5729 GB, free: 11.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.171, allocations: 75.84 kB / 0.5729 GB, free: 11.32 MB / 446.1 MB 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.0001157/0.1711, allocations: 103.2 kB / 0.573 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000373/0.1715, allocations: 157.8 kB / 0.5732 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1715, allocations: 0 / 0.5732 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.1716, allocations: 79.91 kB / 0.5733 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.1722, allocations: 97.55 kB / 0.5734 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1735, allocations: 0.9383 MB / 0.5743 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1739, allocations: 0.7953 MB / 0.575 GB, free: 9.105 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.174, allocations: 34.95 kB / 0.5751 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/0.1741, allocations: 23.44 kB / 0.5751 GB, free: 9.051 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1741, allocations: 4 kB / 0.5751 GB, free: 9.047 MB / 446.1 MB Notification: Performance of Templates: time 0.007865/0.182, allocations: 3.677 MB / 0.5787 GB, free: 5.496 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)