Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00829/0.00829, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001845/0.001845, allocations: 187.4 kB / 16.67 MB, free: 5.887 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.852/0.852, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.34 kB / 0.5857 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1378, allocations: 80.93 MB / 0.6647 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004306/0.1422, allocations: 3.021 MB / 0.6676 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002907/0.1451, allocations: 2.141 MB / 0.6697 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.1455, allocations: 8 kB / 0.6697 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.147, allocations: 0.4938 MB / 0.6702 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.1475, allocations: 154.9 kB / 0.6704 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.1477, allocations: 59.94 kB / 0.6704 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005544/0.1482, allocations: 449.7 kB / 0.6709 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.1485, allocations: 159.2 kB / 0.671 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.1488, allocations: 155.4 kB / 0.6712 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.1491, allocations: 183.2 kB / 0.6713 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.454e-05/0.1492, allocations: 39.94 kB / 0.6714 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.1492, allocations: 32 kB / 0.6714 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1494, allocations: 91.69 kB / 0.6715 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.1496, allocations: 222.9 kB / 0.6717 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.1501, allocations: 0.5449 MB / 0.6722 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1502, allocations: 0 / 0.6722 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.555e-06/0.1502, allocations: 7.984 kB / 0.6722 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.1502, allocations: 0 / 0.6722 GB, free: 14.02 MB / 0.5137 GB 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.001089/0.1513, allocations: 0.6967 MB / 0.6729 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1513, allocations: 13.05 kB / 0.6729 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.688e-05/0.1514, allocations: 52.38 kB / 0.673 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.152, allocations: 374.2 kB / 0.6733 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.152, allocations: 16.81 kB / 0.6734 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.1521, allocations: 23.84 kB / 0.6734 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.1525, allocations: 199.3 kB / 0.6736 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1525, allocations: 3.938 kB / 0.6736 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.1525, allocations: 12 kB / 0.6736 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1525, allocations: 8 kB / 0.6736 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.1529, allocations: 161.6 kB / 0.6737 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.1541, allocations: 0.8584 MB / 0.6746 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.1544, allocations: 162.4 kB / 0.6747 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.1547, allocations: 108.8 kB / 0.6748 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.1547, allocations: 0 / 0.6748 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1547, allocations: 46.47 kB / 0.6749 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.1547, allocations: 0 / 0.6749 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006211/0.1554, allocations: 255.1 kB / 0.6751 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1554, allocations: 59.34 kB / 0.6752 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.1559, allocations: 417.7 kB / 0.6756 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1559, allocations: 29.7 kB / 0.6756 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.156, allocations: 208.1 kB / 0.6758 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.1561, allocations: 63.09 kB / 0.6759 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.1562, allocations: 33.7 kB / 0.6759 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1563, allocations: 354.8 kB / 0.6762 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.1565, allocations: 51.97 kB / 0.6763 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1566, allocations: 61.86 kB / 0.6763 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.1569, allocations: 131.2 kB / 0.6765 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1569, allocations: 0 / 0.6765 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003979/0.1573, allocations: 217 kB / 0.6767 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1574, allocations: 4 kB / 0.6767 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1574, allocations: 0 / 0.6767 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1574, allocations: 4 kB / 0.6767 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.1577, allocations: 51.97 kB / 0.6767 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1577, allocations: 3.984 kB / 0.6767 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1578, allocations: 19.83 kB / 0.6768 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1578, allocations: 8 kB / 0.6768 GB, free: 9.141 MB / 0.5137 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 (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.0001556/0.158, allocations: 169.8 kB / 0.6769 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.1581, allocations: 39.47 kB / 0.677 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.461e-05/0.1582, allocations: 39.59 kB / 0.677 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1582, allocations: 0 / 0.677 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1582, allocations: 0 / 0.677 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1582, allocations: 4 kB / 0.677 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.1586, allocations: 373.3 kB / 0.6774 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1586, allocations: 0 / 0.6774 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.1589, allocations: 55.91 kB / 0.6774 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1589, allocations: 0 / 0.6774 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.1589, allocations: 12 kB / 0.6774 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1589, allocations: 3.938 kB / 0.6774 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1589, allocations: 0 / 0.6774 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005936/0.1595, allocations: 376.8 kB / 0.6778 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1596, allocations: 128.6 kB / 0.6779 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.1597, allocations: 4 kB / 0.6779 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1599, allocations: 7.984 kB / 0.6779 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1599, allocations: 15.92 kB / 0.6779 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1599, allocations: 4 kB / 0.6779 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003219/0.1603, allocations: 303.2 kB / 0.6782 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1603, allocations: 0 / 0.6782 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003254/0.1606, allocations: 71.84 kB / 0.6783 GB, free: 7.473 MB / 0.5137 GB 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.0001377/0.1607, allocations: 116.5 kB / 0.6784 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003841/0.1611, allocations: 141.9 kB / 0.6785 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1611, allocations: 0 / 0.6785 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.1613, allocations: 83.8 kB / 0.6786 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.1619, allocations: 87.48 kB / 0.6787 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.1631, allocations: 0.7457 MB / 0.6794 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.1635, allocations: 0.8029 MB / 0.6802 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.1637, allocations: 30.97 kB / 0.6803 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.1637, allocations: 23.44 kB / 0.6803 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.1637, allocations: 0 / 0.6803 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of Templates: time 0.007968/0.1717, allocations: 4.001 MB / 0.6842 GB, free: 1.492 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)