Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001119/0.001119, allocations: 108.2 kB / 16.41 MB, free: 6.457 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.001208/0.001208, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7551/0.7551, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 66.94 kB / 0.5821 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1348, allocations: 80.2 MB / 0.6604 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005297/0.1401, allocations: 4.121 MB / 0.6644 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003528/0.1437, allocations: 2.425 MB / 0.6668 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/0.1441, allocations: 12 kB / 0.6668 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.1457, allocations: 0.5402 MB / 0.6673 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006578/0.1464, allocations: 254 kB / 0.6676 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1467, allocations: 135.9 kB / 0.6677 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000892/0.1476, allocations: 0.8175 MB / 0.6685 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.1481, allocations: 326.5 kB / 0.6688 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.1485, allocations: 294.9 kB / 0.6691 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.1489, allocations: 326.6 kB / 0.6694 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.1491, allocations: 79.94 kB / 0.6695 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1492, allocations: 72 kB / 0.6695 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1494, allocations: 167.5 kB / 0.6697 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.1497, allocations: 386.2 kB / 0.6701 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008338/0.1506, allocations: 1.004 MB / 0.6711 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1506, allocations: 3.938 kB / 0.6711 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1506, allocations: 0 / 0.6711 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.1506, allocations: 0 / 0.6711 GB, free: 15.29 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001544/0.1522, allocations: 0.9462 MB / 0.672 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1522, allocations: 12.03 kB / 0.672 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1524, allocations: 76.09 kB / 0.6721 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006877/0.1531, allocations: 457.7 kB / 0.6725 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.1531, allocations: 41.36 kB / 0.6725 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.1532, allocations: 55.84 kB / 0.6726 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007477/0.1539, allocations: 422.5 kB / 0.673 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.154, allocations: 0 / 0.673 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.154, allocations: 20 kB / 0.673 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.154, allocations: 12 kB / 0.673 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.1547, allocations: 367.8 kB / 0.6734 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.1567, allocations: 1.52 MB / 0.6749 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.1572, allocations: 351.2 kB / 0.6752 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.1577, allocations: 312.8 kB / 0.6755 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.1577, allocations: 4 kB / 0.6755 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1577, allocations: 38.55 kB / 0.6755 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.884e-06/0.1578, allocations: 0.7656 kB / 0.6755 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009093/0.1587, allocations: 0.4901 MB / 0.676 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.1587, allocations: 59.41 kB / 0.6761 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.1592, allocations: 485.9 kB / 0.6765 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.1593, allocations: 37.7 kB / 0.6766 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.1594, allocations: 272.4 kB / 0.6768 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.1596, allocations: 153.8 kB / 0.677 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.1596, allocations: 58.02 kB / 0.677 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1598, allocations: 362.8 kB / 0.6774 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.16, allocations: 128.7 kB / 0.6775 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.1603, allocations: 129.2 kB / 0.6776 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.1608, allocations: 290.4 kB / 0.6779 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1608, allocations: 0 / 0.6779 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006411/0.1614, allocations: 396.2 kB / 0.6783 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1615, allocations: 8 kB / 0.6783 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1615, allocations: 4 kB / 0.6783 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1615, allocations: 0 / 0.6783 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.162, allocations: 123.9 kB / 0.6784 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.162, allocations: 0 / 0.6784 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.1623, allocations: 43.58 kB / 0.6784 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.1623, allocations: 8 kB / 0.6785 GB, free: 7.445 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 (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.0002135/0.1625, allocations: 202.6 kB / 0.6787 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/0.1626, allocations: 47.44 kB / 0.6787 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.1627, allocations: 65.05 kB / 0.6788 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1627, allocations: 3.984 kB / 0.6788 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1627, allocations: 0 / 0.6788 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.1629, allocations: 136.4 kB / 0.6789 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.1629, allocations: 8 kB / 0.6789 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.1632, allocations: 15.98 kB / 0.6789 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.1633, allocations: 27.91 kB / 0.6789 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00111/0.1644, allocations: 0.5198 MB / 0.6794 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009865/0.1654, allocations: 0.7207 MB / 0.6802 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002685/0.1657, allocations: 171.7 kB / 0.6803 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003817/0.1661, allocations: 355 kB / 0.6807 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of Backend: time 4.81e-07/0.1661, allocations: 0 / 0.6807 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007231/0.1668, allocations: 278.2 kB / 0.6809 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002059/0.1689, allocations: 1.632 MB / 0.6825 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of Templates: time 0.01245/0.1814, allocations: 6.91 MB / 0.6893 GB, free: 12.41 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)