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.001093/0.001093, allocations: 92.86 kB / 15.7 MB, free: 472 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.001222/0.001222, allocations: 171.3 kB / 16.58 MB, free: 6.051 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.361/1.361, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7158/0.7158, allocations: 115.5 MB / 407.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 13.62 kB / 495.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 77.53 MB / 0.5594 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003047/0.1442, allocations: 2.572 MB / 0.5619 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.1469, allocations: 1.952 MB / 0.5638 GB, free: 4.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.1471, allocations: 4 kB / 0.5638 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.1481, allocations: 426.2 kB / 0.5642 GB, free: 4.398 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1484, allocations: 127.2 kB / 0.5643 GB, free: 4.273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.737e-05/0.1485, allocations: 35.91 kB / 0.5643 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.1489, allocations: 414 kB / 0.5647 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.1491, allocations: 126.9 kB / 0.5649 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.1493, allocations: 135.4 kB / 0.565 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.1495, allocations: 163.3 kB / 0.5651 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.1495, allocations: 16 kB / 0.5652 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.62e-05/0.1496, allocations: 20 kB / 0.5652 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.378e-05/0.1497, allocations: 75.69 kB / 0.5653 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.971e-05/0.1498, allocations: 109.5 kB / 0.5654 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.1501, allocations: 446.7 kB / 0.5658 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1502, allocations: 0 / 0.5658 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1502, allocations: 0 / 0.5658 GB, free: 2.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1502, allocations: 4 kB / 0.5658 GB, free: 2.75 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.0009325/0.1511, allocations: 0.6384 MB / 0.5664 GB, free: 2.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1512, allocations: 19.97 kB / 0.5664 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.1513, allocations: 43.44 kB / 0.5665 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.1518, allocations: 361.1 kB / 0.5668 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1518, allocations: 12.44 kB / 0.5668 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.1519, allocations: 23.95 kB / 0.5668 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.1523, allocations: 207.3 kB / 0.567 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1523, allocations: 3.906 kB / 0.5671 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.1524, allocations: 4 kB / 0.5671 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.1524, allocations: 12 kB / 0.5671 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.1528, allocations: 169.7 kB / 0.5672 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.154, allocations: 0.8702 MB / 0.5681 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.1543, allocations: 169.1 kB / 0.5682 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.1545, allocations: 118.6 kB / 0.5684 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1546, allocations: 3.938 kB / 0.5684 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1546, allocations: 42.5 kB / 0.5684 GB, free: 15.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/0.1546, allocations: 0 / 0.5684 GB, free: 15.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005994/0.1552, allocations: 265.5 kB / 0.5686 GB, free: 15.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1553, allocations: 59.36 kB / 0.5687 GB, free: 15.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004437/0.1557, allocations: 413.7 kB / 0.5691 GB, free: 15.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1557, allocations: 29.7 kB / 0.5691 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1559, allocations: 200.3 kB / 0.5693 GB, free: 14.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.156, allocations: 74.92 kB / 0.5694 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.156, allocations: 4 kB / 0.5694 GB, free: 14.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1561, allocations: 342.8 kB / 0.5697 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1563, allocations: 67.97 kB / 0.5698 GB, free: 14.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1564, allocations: 59.91 kB / 0.5698 GB, free: 14.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1566, allocations: 69.88 kB / 0.5699 GB, free: 14.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1566, allocations: 4 kB / 0.5699 GB, free: 14.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003691/0.157, allocations: 213.1 kB / 0.5701 GB, free: 14.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.157, allocations: 7.953 kB / 0.5701 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.157, allocations: 4 kB / 0.5701 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.157, allocations: 3.938 kB / 0.5701 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.1573, allocations: 63.91 kB / 0.5702 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1573, allocations: 0 / 0.5702 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.1575, allocations: 27.83 kB / 0.5702 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1575, allocations: 4 kB / 0.5702 GB, free: 13.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.1576, allocations: 161.8 kB / 0.5704 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.1577, allocations: 35.62 kB / 0.5704 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.006e-05/0.1578, allocations: 47.53 kB / 0.5705 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1578, allocations: 4 kB / 0.5705 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1578, allocations: 0 / 0.5705 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1578, allocations: 0 / 0.5705 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.1583, allocations: 373.3 kB / 0.5708 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1583, allocations: 0 / 0.5708 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.1585, allocations: 59.89 kB / 0.5709 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1585, allocations: 0 / 0.5709 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1586, allocations: 12 kB / 0.5709 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1586, allocations: 3.953 kB / 0.5709 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1586, allocations: 0 / 0.5709 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.1592, allocations: 395.3 kB / 0.5713 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.1594, allocations: 120.5 kB / 0.5714 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/0.1594, allocations: 7.984 kB / 0.5714 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.1596, allocations: 11.95 kB / 0.5714 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.1596, allocations: 15.98 kB / 0.5714 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1597, allocations: 0 / 0.5714 GB, free: 12.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003461/0.16, allocations: 307.2 kB / 0.5717 GB, free: 12.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.16, allocations: 3.938 kB / 0.5717 GB, free: 12.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.1603, allocations: 75.84 kB / 0.5718 GB, free: 12.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.1605, allocations: 107.2 kB / 0.5719 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.1609, allocations: 151.9 kB / 0.572 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1609, allocations: 0 / 0.572 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.1611, allocations: 83.91 kB / 0.5721 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.1617, allocations: 95 kB / 0.5722 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1631, allocations: 0.9013 MB / 0.5731 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1635, allocations: 0.7914 MB / 0.5739 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1636, allocations: 30.97 kB / 0.5739 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.1637, allocations: 27.44 kB / 0.5739 GB, free: 10.04 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1637, allocations: 0 / 0.5739 GB, free: 10.04 MB / 446.1 MB Notification: Performance of Templates: time 0.007544/0.1712, allocations: 3.568 MB / 0.5774 GB, free: 6.594 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)