Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, 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.001653/0.001653, allocations: 194.4 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.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.889/0.889, allocations: 135.6 MB / 425.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001876, allocations: 63.23 kB / 0.5054 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1452, allocations: 81.02 MB / 0.5845 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004377/0.1496, allocations: 3.061 MB / 0.5875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.1523, allocations: 2.11 MB / 0.5896 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.1525, allocations: 8 kB / 0.5896 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.1538, allocations: 478.1 kB / 0.59 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1541, allocations: 131.1 kB / 0.5902 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.1542, allocations: 55.97 kB / 0.5902 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.1547, allocations: 438 kB / 0.5906 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.1549, allocations: 159.2 kB / 0.5908 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.1551, allocations: 159.3 kB / 0.5909 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.1553, allocations: 187.1 kB / 0.5911 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.1554, allocations: 36 kB / 0.5912 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.662e-05/0.1555, allocations: 36 kB / 0.5912 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1556, allocations: 95.67 kB / 0.5913 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.1558, allocations: 214.9 kB / 0.5915 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.1563, allocations: 0.541 MB / 0.592 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1563, allocations: 0 / 0.592 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1563, allocations: 4 kB / 0.592 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.1563, allocations: 0 / 0.592 GB, free: 12.56 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001045/0.1574, allocations: 0.7045 MB / 0.5927 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1574, allocations: 12.03 kB / 0.5927 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.811e-05/0.1575, allocations: 52.36 kB / 0.5928 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.158, allocations: 374.1 kB / 0.5931 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.158, allocations: 16.81 kB / 0.5931 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.1581, allocations: 24.12 kB / 0.5932 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.1585, allocations: 199.3 kB / 0.5934 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1585, allocations: 0 / 0.5934 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.1585, allocations: 4 kB / 0.5934 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.1585, allocations: 11.94 kB / 0.5934 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.1589, allocations: 169.6 kB / 0.5935 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.1601, allocations: 0.8661 MB / 0.5944 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.1604, allocations: 150.6 kB / 0.5945 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.1606, allocations: 111.5 kB / 0.5946 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1606, allocations: 0 / 0.5946 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.1607, allocations: 46.48 kB / 0.5947 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 9.32e-07/0.1607, allocations: 0 / 0.5947 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005725/0.1612, allocations: 257.3 kB / 0.5949 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1613, allocations: 51.41 kB / 0.595 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.1618, allocations: 417.7 kB / 0.5954 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1618, allocations: 25.7 kB / 0.5954 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.1619, allocations: 212.2 kB / 0.5956 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.162, allocations: 63.05 kB / 0.5957 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.1621, allocations: 33.7 kB / 0.5957 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1622, allocations: 346.8 kB / 0.596 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1624, allocations: 55.97 kB / 0.5961 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1625, allocations: 55.97 kB / 0.5961 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.1628, allocations: 146.7 kB / 0.5963 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1628, allocations: 0 / 0.5963 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003769/0.1632, allocations: 208 kB / 0.5965 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1632, allocations: 10.28 kB / 0.5965 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1632, allocations: 4 kB / 0.5965 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1633, allocations: 3.938 kB / 0.5965 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.1635, allocations: 51.91 kB / 0.5965 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1635, allocations: 0 / 0.5965 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.1637, allocations: 27.89 kB / 0.5966 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1637, allocations: 7.984 kB / 0.5966 GB, free: 7.672 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 (20): * Single equations (assignments): 20 * 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.0001611/0.1639, allocations: 165.8 kB / 0.5967 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.1639, allocations: 39.47 kB / 0.5968 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.164, allocations: 39.59 kB / 0.5968 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.164, allocations: 0 / 0.5968 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.164, allocations: 0 / 0.5968 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.164, allocations: 11.98 kB / 0.5968 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.1645, allocations: 377.3 kB / 0.5972 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1645, allocations: 0 / 0.5972 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.1647, allocations: 55.91 kB / 0.5972 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.1647, allocations: 3.938 kB / 0.5972 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1648, allocations: 7.984 kB / 0.5972 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1648, allocations: 0 / 0.5972 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1648, allocations: 0 / 0.5972 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.1654, allocations: 374.9 kB / 0.5976 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1655, allocations: 128.6 kB / 0.5977 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.1655, allocations: 0 / 0.5977 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.1657, allocations: 19.89 kB / 0.5977 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1657, allocations: 11.92 kB / 0.5977 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1658, allocations: 8.062 kB / 0.5977 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003226/0.1661, allocations: 303.1 kB / 0.598 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1661, allocations: 0 / 0.598 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002845/0.1664, allocations: 75.84 kB / 0.5981 GB, free: 5.984 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.000111/0.1665, allocations: 103.2 kB / 0.5982 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003696/0.1669, allocations: 147.9 kB / 0.5984 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1669, allocations: 4 kB / 0.5984 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1671, allocations: 75.91 kB / 0.5984 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.1676, allocations: 99.95 kB / 0.5985 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1689, allocations: 0.8745 MB / 0.5994 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.1693, allocations: 0.799 MB / 0.6002 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.1695, allocations: 30.97 kB / 0.6002 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.1695, allocations: 27.42 kB / 0.6002 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1695, allocations: 3.938 kB / 0.6002 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of Templates: time 0.00844/0.178, allocations: 3.867 MB / 0.604 GB, free: 36 kB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)