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.005462/0.005462, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001262/0.001262, allocations: 192 kB / 16.67 MB, free: 5.961 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.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.711/0.711, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 70.64 kB / 0.5814 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1334, allocations: 80.2 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004754/0.1382, allocations: 4.135 MB / 0.6638 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002896/0.1411, allocations: 2.417 MB / 0.6661 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.1414, allocations: 8 kB / 0.6661 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.1429, allocations: 0.5424 MB / 0.6667 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.1433, allocations: 242 kB / 0.6669 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.1435, allocations: 143.8 kB / 0.667 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007291/0.1443, allocations: 0.8136 MB / 0.6678 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.1447, allocations: 334.5 kB / 0.6681 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.145, allocations: 279 kB / 0.6684 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.1453, allocations: 334.6 kB / 0.6687 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.333e-05/0.1454, allocations: 75.94 kB / 0.6688 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1455, allocations: 80 kB / 0.6689 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.1456, allocations: 171.4 kB / 0.669 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.1459, allocations: 386.2 kB / 0.6694 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008416/0.1468, allocations: 0.9962 MB / 0.6704 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1468, allocations: 4 kB / 0.6704 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1468, allocations: 0 / 0.6704 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.1468, allocations: 0 / 0.6704 GB, free: 15.26 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.001284/0.1481, allocations: 0.9633 MB / 0.6713 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1482, allocations: 8.031 kB / 0.6713 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.1483, allocations: 84.47 kB / 0.6714 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.1488, allocations: 466 kB / 0.6719 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.1489, allocations: 37.38 kB / 0.6719 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.1489, allocations: 51.94 kB / 0.6719 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.1496, allocations: 422.5 kB / 0.6723 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1497, allocations: 0 / 0.6723 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.1497, allocations: 23.94 kB / 0.6724 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1497, allocations: 16 kB / 0.6724 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006349/0.1504, allocations: 363.8 kB / 0.6727 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.1522, allocations: 1.524 MB / 0.6742 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.1527, allocations: 347.2 kB / 0.6745 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/0.1532, allocations: 324.7 kB / 0.6749 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1532, allocations: 4 kB / 0.6749 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1532, allocations: 38.56 kB / 0.6749 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.343e-06/0.1533, allocations: 0.7656 kB / 0.6749 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0008539/0.1541, allocations: 0.4905 MB / 0.6754 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.1542, allocations: 55.41 kB / 0.6754 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.1547, allocations: 485.9 kB / 0.6759 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1547, allocations: 37.7 kB / 0.6759 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1549, allocations: 276.7 kB / 0.6762 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.155, allocations: 150.7 kB / 0.6763 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.1551, allocations: 66 kB / 0.6764 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1552, allocations: 370.7 kB / 0.6768 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.1554, allocations: 116.7 kB / 0.6769 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.1557, allocations: 129.2 kB / 0.677 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.1561, allocations: 294.4 kB / 0.6773 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1562, allocations: 3.938 kB / 0.6773 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005882/0.1568, allocations: 404.4 kB / 0.6777 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1568, allocations: 4 kB / 0.6777 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1568, allocations: 3.984 kB / 0.6777 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1568, allocations: 4 kB / 0.6777 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.1573, allocations: 131.8 kB / 0.6778 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1573, allocations: 0 / 0.6778 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.1575, allocations: 39.77 kB / 0.6778 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1575, allocations: 12 kB / 0.6778 GB, free: 7.355 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.0001878/0.1577, allocations: 198.6 kB / 0.678 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.1578, allocations: 51.67 kB / 0.6781 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.1579, allocations: 65.09 kB / 0.6781 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1579, allocations: 4 kB / 0.6781 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1579, allocations: 0 / 0.6781 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.1579, allocations: 0 / 0.6781 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.1585, allocations: 0.5791 MB / 0.6787 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1585, allocations: 0 / 0.6787 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.159, allocations: 127.9 kB / 0.6788 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.159, allocations: 4 kB / 0.6788 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.159, allocations: 4 kB / 0.6788 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.159, allocations: 4 kB / 0.6788 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.159, allocations: 3.938 kB / 0.6789 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008955/0.1599, allocations: 0.6623 MB / 0.6795 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.1601, allocations: 140.7 kB / 0.6796 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.1601, allocations: 4 kB / 0.6796 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.1603, allocations: 15.98 kB / 0.6797 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.1604, allocations: 23.97 kB / 0.6797 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1604, allocations: 8 kB / 0.6797 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003533/0.1608, allocations: 351.1 kB / 0.68 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1608, allocations: 0 / 0.68 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003635/0.1612, allocations: 147.7 kB / 0.6802 GB, free: 4.895 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001455/0.1613, allocations: 115.1 kB / 0.6803 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005622/0.1619, allocations: 320.3 kB / 0.6806 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1619, allocations: 0 / 0.6806 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.1622, allocations: 183.6 kB / 0.6807 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/0.1628, allocations: 134.2 kB / 0.6809 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.1644, allocations: 1.209 MB / 0.6821 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.1649, allocations: 0.8665 MB / 0.6829 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000163/0.165, allocations: 56.39 kB / 0.683 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1651, allocations: 35.44 kB / 0.683 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1651, allocations: 0 / 0.683 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of Templates: time 0.0097/0.1748, allocations: 6.031 MB / 0.6889 GB, free: 12.04 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)