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.001261/0.001261, allocations: 117.3 kB / 16.42 MB, free: 6.012 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.001286/0.001286, allocations: 181.7 kB / 17.35 MB, free: 5.629 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.238/1.238, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7301/0.7301, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 61 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1376, allocations: 80.92 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00482/0.1424, allocations: 4.139 MB / 0.6694 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.1455, allocations: 2.421 MB / 0.6718 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/0.1459, allocations: 8 kB / 0.6718 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.1474, allocations: 0.5324 MB / 0.6723 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005394/0.1479, allocations: 262 kB / 0.6725 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.1482, allocations: 135.9 kB / 0.6727 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008882/0.1491, allocations: 0.8175 MB / 0.6735 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.1496, allocations: 322.5 kB / 0.6738 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.1499, allocations: 290.9 kB / 0.674 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004083/0.1504, allocations: 334.5 kB / 0.6744 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.1505, allocations: 76 kB / 0.6744 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.1506, allocations: 76 kB / 0.6745 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.1508, allocations: 171.5 kB / 0.6747 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004431/0.1513, allocations: 390.2 kB / 0.675 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008642/0.1521, allocations: 0.9928 MB / 0.676 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1521, allocations: 0 / 0.676 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1521, allocations: 0 / 0.676 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.426e-05/0.1522, allocations: 0 / 0.676 GB, free: 10.8 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.001543/0.1537, allocations: 0.9501 MB / 0.6769 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1538, allocations: 13.11 kB / 0.677 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.1539, allocations: 76.09 kB / 0.677 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.1546, allocations: 457.7 kB / 0.6775 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.1546, allocations: 41.36 kB / 0.6775 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.076e-05/0.1547, allocations: 55.92 kB / 0.6776 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.1554, allocations: 422.5 kB / 0.678 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.1555, allocations: 3.906 kB / 0.678 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.1555, allocations: 24 kB / 0.678 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.1555, allocations: 12 kB / 0.678 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006742/0.1562, allocations: 367.8 kB / 0.6783 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.1582, allocations: 1.512 MB / 0.6798 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.1587, allocations: 346.7 kB / 0.6802 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.1592, allocations: 320.5 kB / 0.6805 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1592, allocations: 4 kB / 0.6805 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1593, allocations: 39.33 kB / 0.6805 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.1593, allocations: 0 / 0.6805 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009026/0.1602, allocations: 0.4892 MB / 0.681 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.1602, allocations: 59.39 kB / 0.681 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005628/0.1608, allocations: 485.9 kB / 0.6815 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.1608, allocations: 37.7 kB / 0.6815 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.161, allocations: 272.3 kB / 0.6818 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.1611, allocations: 153.8 kB / 0.6819 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/0.1612, allocations: 62.08 kB / 0.682 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1614, allocations: 362.8 kB / 0.6823 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.1616, allocations: 120.7 kB / 0.6825 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.1619, allocations: 125.2 kB / 0.6826 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.1624, allocations: 298.2 kB / 0.6829 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1624, allocations: 0 / 0.6829 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000652/0.1631, allocations: 404.3 kB / 0.6833 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1631, allocations: 4 kB / 0.6833 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1631, allocations: 0 / 0.6833 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1631, allocations: 4 kB / 0.6833 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.1636, allocations: 123.9 kB / 0.6834 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1636, allocations: 0 / 0.6834 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.1639, allocations: 39.58 kB / 0.6834 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.1639, allocations: 16 kB / 0.6834 GB, free: 2.945 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.0002195/0.1641, allocations: 197.7 kB / 0.6836 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.695e-05/0.1642, allocations: 47.44 kB / 0.6837 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.1643, allocations: 65.09 kB / 0.6837 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.003e-05/0.1644, allocations: 0 / 0.6837 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.1644, allocations: 3.984 kB / 0.6837 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1645, allocations: 136.4 kB / 0.6839 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.1646, allocations: 8 kB / 0.6839 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.1648, allocations: 12 kB / 0.6839 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.1649, allocations: 31.89 kB / 0.6839 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001063/0.166, allocations: 0.5172 MB / 0.6844 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009783/0.167, allocations: 0.7204 MB / 0.6851 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002644/0.1672, allocations: 167.7 kB / 0.6853 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003619/0.1676, allocations: 355.1 kB / 0.6856 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of Backend: time 7.92e-07/0.1676, allocations: 0 / 0.6856 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006988/0.1683, allocations: 288.2 kB / 0.6859 GB, free: 376 kB / 0.5137 GB Notification: Performance of SimCode: time 0.00196/0.1703, allocations: 1.632 MB / 0.6875 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of Templates: time 0.01174/0.182, allocations: 6.917 MB / 0.6942 GB, free: 7.895 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)