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.001443/0.001443, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001046/0.001046, allocations: 193.8 kB / 16.25 MB, free: 6.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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9485/0.9485, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 72.97 kB / 0.5049 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1551, allocations: 80.92 MB / 0.5839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004853/0.16, allocations: 4.151 MB / 0.588 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.1629, allocations: 2.371 MB / 0.5903 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.1631, allocations: 8 kB / 0.5903 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.1645, allocations: 0.5048 MB / 0.5908 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.1649, allocations: 214.4 kB / 0.591 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1651, allocations: 127.9 kB / 0.5911 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007037/0.1658, allocations: 0.8137 MB / 0.5919 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.1663, allocations: 322.5 kB / 0.5922 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.1665, allocations: 291 kB / 0.5925 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.1669, allocations: 330.6 kB / 0.5928 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.309e-05/0.1669, allocations: 72 kB / 0.5929 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.167, allocations: 76 kB / 0.593 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.1672, allocations: 183.4 kB / 0.5931 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.1675, allocations: 386.2 kB / 0.5935 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007388/0.1682, allocations: 0.9927 MB / 0.5945 GB, free: 10 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1682, allocations: 0 / 0.5945 GB, free: 10 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1683, allocations: 0 / 0.5945 GB, free: 10 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.1683, allocations: 0 / 0.5945 GB, free: 10 MB / 0.4981 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.001293/0.1696, allocations: 0.9424 MB / 0.5954 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1696, allocations: 12.03 kB / 0.5954 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1697, allocations: 80 kB / 0.5955 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.1702, allocations: 457.6 kB / 0.5959 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.1703, allocations: 41.36 kB / 0.596 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/0.1704, allocations: 48.12 kB / 0.596 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.1711, allocations: 430.5 kB / 0.5964 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.1711, allocations: 0 / 0.5964 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.1712, allocations: 23.94 kB / 0.5964 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.1712, allocations: 12 kB / 0.5964 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.1719, allocations: 367.8 kB / 0.5968 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.1738, allocations: 1.52 MB / 0.5983 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.1743, allocations: 339.6 kB / 0.5986 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.1748, allocations: 324.7 kB / 0.5989 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.1748, allocations: 4.688 kB / 0.5989 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1749, allocations: 34.56 kB / 0.5989 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.844e-06/0.1749, allocations: 0 / 0.5989 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.001003/0.1759, allocations: 0.4924 MB / 0.5994 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.176, allocations: 59.19 kB / 0.5995 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005901/0.1765, allocations: 489.9 kB / 0.6 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.1766, allocations: 33.7 kB / 0.6 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.1768, allocations: 276.3 kB / 0.6002 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.177, allocations: 145.8 kB / 0.6004 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.1771, allocations: 66.08 kB / 0.6004 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1772, allocations: 362.7 kB / 0.6008 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.1775, allocations: 124.7 kB / 0.6009 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.1777, allocations: 125.5 kB / 0.601 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.1782, allocations: 304.1 kB / 0.6013 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1782, allocations: 0 / 0.6013 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006175/0.1788, allocations: 396.4 kB / 0.6017 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1789, allocations: 8 kB / 0.6017 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1789, allocations: 0 / 0.6017 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1789, allocations: 4 kB / 0.6017 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.1794, allocations: 127.8 kB / 0.6018 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1794, allocations: 3.938 kB / 0.6018 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.1797, allocations: 47.67 kB / 0.6019 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.1797, allocations: 12 kB / 0.6019 GB, free: 2.145 MB / 0.4981 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.0001928/0.1799, allocations: 197.6 kB / 0.6021 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.18, allocations: 55.34 kB / 0.6021 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.1801, allocations: 61.09 kB / 0.6022 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1801, allocations: 4 kB / 0.6022 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1801, allocations: 0 / 0.6022 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1801, allocations: 0 / 0.6022 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006084/0.1807, allocations: 0.5752 MB / 0.6028 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1807, allocations: 0 / 0.6028 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.1813, allocations: 123.9 kB / 0.6029 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1813, allocations: 4 kB / 0.6029 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.1813, allocations: 11.98 kB / 0.6029 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1813, allocations: 7.984 kB / 0.6029 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1813, allocations: 0 / 0.6029 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009288/0.1823, allocations: 0.648 MB / 0.6035 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.1824, allocations: 144.3 kB / 0.6037 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.1824, allocations: 4 kB / 0.6037 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.1827, allocations: 23.98 kB / 0.6037 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.1828, allocations: 27.97 kB / 0.6037 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1828, allocations: 4 kB / 0.6037 GB, free: 176 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2439/0.4267, allocations: 349.4 kB / 0.6041 GB, free: 52.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.012e-06/0.4267, allocations: 0 / 0.6041 GB, free: 52.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006944/0.4274, allocations: 147.4 kB / 0.6042 GB, free: 52.3 MB / 0.4981 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.0001568/0.4276, allocations: 113.3 kB / 0.6043 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007681/0.4284, allocations: 345.6 kB / 0.6046 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4284, allocations: 0 / 0.6046 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.4287, allocations: 184.4 kB / 0.6048 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/0.4294, allocations: 141.5 kB / 0.605 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.4311, allocations: 1.4 MB / 0.6063 GB, free: 51.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.4313, allocations: 0.8749 MB / 0.6072 GB, free: 50.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000176/0.4315, allocations: 52.45 kB / 0.6072 GB, free: 50.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.955e-05/0.4316, allocations: 39.59 kB / 0.6073 GB, free: 50.76 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4316, allocations: 0 / 0.6073 GB, free: 50.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.008971/0.4406, allocations: 5.861 MB / 0.613 GB, free: 50.5 MB / 0.4981 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)