Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001343/0.001343, allocations: 112.3 kB / 16.42 MB, free: 6.527 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.001475/0.001475, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8173/0.8173, allocations: 135.1 MB / 426.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 74.69 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1593, allocations: 80.91 MB / 0.6654 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005591/0.1649, allocations: 4.143 MB / 0.6694 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003698/0.1687, allocations: 2.413 MB / 0.6718 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.169, allocations: 8 kB / 0.6718 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.1707, allocations: 0.5363 MB / 0.6723 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.1713, allocations: 254 kB / 0.6725 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.1715, allocations: 135.8 kB / 0.6727 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008557/0.1724, allocations: 0.8136 MB / 0.6735 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004837/0.1729, allocations: 334.5 kB / 0.6738 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003677/0.1733, allocations: 294.9 kB / 0.6741 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.1737, allocations: 334.6 kB / 0.6744 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.58e-05/0.1737, allocations: 72 kB / 0.6744 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1739, allocations: 76 kB / 0.6745 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.1741, allocations: 167.5 kB / 0.6747 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.1744, allocations: 386.2 kB / 0.675 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009774/0.1754, allocations: 1 MB / 0.676 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1754, allocations: 0 / 0.676 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1755, allocations: 0 / 0.676 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.1755, allocations: 0 / 0.676 GB, free: 10.81 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.00138/0.1769, allocations: 0.9691 MB / 0.677 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1769, allocations: 9.109 kB / 0.677 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.177, allocations: 84.47 kB / 0.6771 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006353/0.1777, allocations: 462 kB / 0.6775 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.1777, allocations: 37.38 kB / 0.6775 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.1778, allocations: 51.94 kB / 0.6776 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.1785, allocations: 426.5 kB / 0.678 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.1786, allocations: 0 / 0.678 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.1786, allocations: 20 kB / 0.678 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1786, allocations: 12 kB / 0.678 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006874/0.1793, allocations: 363.8 kB / 0.6784 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.1814, allocations: 1.528 MB / 0.6799 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.1819, allocations: 350.6 kB / 0.6802 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005013/0.1824, allocations: 320.5 kB / 0.6805 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.1825, allocations: 4.766 kB / 0.6805 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1825, allocations: 42.56 kB / 0.6805 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 2.124e-06/0.1825, allocations: 0 / 0.6805 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009608/0.1835, allocations: 0.4933 MB / 0.681 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.1835, allocations: 55.41 kB / 0.6811 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005632/0.1841, allocations: 485.9 kB / 0.6815 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1842, allocations: 37.7 kB / 0.6816 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.1844, allocations: 280.6 kB / 0.6818 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.1845, allocations: 158.6 kB / 0.682 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/0.1846, allocations: 62.06 kB / 0.6821 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1848, allocations: 362.8 kB / 0.6824 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.185, allocations: 116.7 kB / 0.6825 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.1852, allocations: 129.2 kB / 0.6826 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.1858, allocations: 302.2 kB / 0.6829 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1858, allocations: 3.938 kB / 0.6829 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006227/0.1864, allocations: 392.7 kB / 0.6833 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1864, allocations: 4 kB / 0.6833 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1864, allocations: 0 / 0.6833 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1865, allocations: 4 kB / 0.6833 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.1869, allocations: 123.9 kB / 0.6834 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.187, allocations: 7.984 kB / 0.6834 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.1872, allocations: 39.73 kB / 0.6835 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.1872, allocations: 4 kB / 0.6835 GB, free: 2.918 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.0002044/0.1874, allocations: 201.7 kB / 0.6837 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/0.1875, allocations: 51.67 kB / 0.6837 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.1876, allocations: 65.09 kB / 0.6838 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1876, allocations: 4 kB / 0.6838 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1876, allocations: 0 / 0.6838 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1878, allocations: 140.7 kB / 0.6839 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/0.1878, allocations: 4 kB / 0.6839 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.188, allocations: 19.98 kB / 0.6839 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.1881, allocations: 27.84 kB / 0.684 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001055/0.1892, allocations: 0.5133 MB / 0.6845 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00101/0.1902, allocations: 0.7246 MB / 0.6852 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002696/0.1905, allocations: 167.7 kB / 0.6853 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003822/0.1909, allocations: 351.1 kB / 0.6857 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of Backend: time 8.21e-07/0.1909, allocations: 4 kB / 0.6857 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007337/0.1916, allocations: 288.2 kB / 0.686 GB, free: 336 kB / 0.5137 GB Notification: Performance of SimCode: time 0.002182/0.1938, allocations: 1.649 MB / 0.6876 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.01271/0.2066, allocations: 6.92 MB / 0.6943 GB, free: 7.836 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)