Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.005879/0.005879, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001247/0.001247, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7937/0.7937, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 62.91 kB / 0.5814 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1363, allocations: 80.2 MB / 0.6597 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004156/0.1405, allocations: 3.021 MB / 0.6627 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002888/0.1434, allocations: 2.144 MB / 0.6648 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.1437, allocations: 7.938 kB / 0.6648 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.1452, allocations: 0.4977 MB / 0.6652 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.1456, allocations: 158.8 kB / 0.6654 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.1458, allocations: 55.94 kB / 0.6655 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.1463, allocations: 459.4 kB / 0.6659 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1465, allocations: 147.2 kB / 0.666 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.1468, allocations: 155.4 kB / 0.6662 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.147, allocations: 179.1 kB / 0.6664 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.103e-05/0.1471, allocations: 36 kB / 0.6664 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.1472, allocations: 32 kB / 0.6664 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.1473, allocations: 99.67 kB / 0.6665 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.1475, allocations: 226.8 kB / 0.6667 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.148, allocations: 0.545 MB / 0.6673 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.148, allocations: 0 / 0.6673 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.148, allocations: 0 / 0.6673 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.148, allocations: 0 / 0.6673 GB, free: 2.605 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.001049/0.1491, allocations: 0.7084 MB / 0.668 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1491, allocations: 8.031 kB / 0.668 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.1492, allocations: 48.38 kB / 0.668 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.1497, allocations: 374.1 kB / 0.6684 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1498, allocations: 16.81 kB / 0.6684 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.1498, allocations: 23.94 kB / 0.6684 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.1502, allocations: 207.3 kB / 0.6686 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1502, allocations: 0 / 0.6686 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.1503, allocations: 4 kB / 0.6686 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1503, allocations: 8 kB / 0.6686 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.1506, allocations: 161.7 kB / 0.6688 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.1518, allocations: 0.87 MB / 0.6696 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.1521, allocations: 150.7 kB / 0.6698 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.1524, allocations: 108.8 kB / 0.6699 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1524, allocations: 4 kB / 0.6699 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1524, allocations: 46.44 kB / 0.6699 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.1524, allocations: 0 / 0.6699 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0005864/0.153, allocations: 247.5 kB / 0.6701 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1531, allocations: 63.25 kB / 0.6702 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.1535, allocations: 417.7 kB / 0.6706 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1536, allocations: 29.7 kB / 0.6706 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1537, allocations: 212.2 kB / 0.6708 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.1538, allocations: 59.11 kB / 0.6709 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.1538, allocations: 29.72 kB / 0.6709 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.154, allocations: 346.8 kB / 0.6713 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1541, allocations: 59.95 kB / 0.6713 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1542, allocations: 53.52 kB / 0.6714 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.1545, allocations: 147.1 kB / 0.6715 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1546, allocations: 7.984 kB / 0.6715 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003728/0.1549, allocations: 201.1 kB / 0.6717 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.155, allocations: 11.92 kB / 0.6717 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.155, allocations: 0 / 0.6717 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.155, allocations: 0 / 0.6717 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.1552, allocations: 55.91 kB / 0.6718 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1553, allocations: 4 kB / 0.6718 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.1554, allocations: 19.83 kB / 0.6718 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1554, allocations: 4 kB / 0.6718 GB, free: 13.71 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 (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.0001521/0.1556, allocations: 158.7 kB / 0.6719 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.1556, allocations: 43.47 kB / 0.672 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.983e-05/0.1557, allocations: 43.58 kB / 0.672 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1557, allocations: 0 / 0.672 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1557, allocations: 0 / 0.672 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1557, allocations: 4 kB / 0.672 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.1561, allocations: 377.2 kB / 0.6724 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1562, allocations: 0 / 0.6724 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.1564, allocations: 59.83 kB / 0.6724 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1564, allocations: 0 / 0.6724 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.1565, allocations: 8 kB / 0.6725 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1565, allocations: 0 / 0.6725 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1565, allocations: 0 / 0.6725 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.1571, allocations: 376.8 kB / 0.6728 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1572, allocations: 128.5 kB / 0.6729 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.1573, allocations: 4 kB / 0.6729 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.1574, allocations: 4 kB / 0.6729 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1575, allocations: 19.91 kB / 0.673 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1575, allocations: 7.984 kB / 0.673 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003141/0.1578, allocations: 303.2 kB / 0.6733 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1578, allocations: 0 / 0.6733 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003056/0.1581, allocations: 75.84 kB / 0.6733 GB, free: 12.04 MB / 0.5137 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.0001249/0.1583, allocations: 99.25 kB / 0.6734 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.1586, allocations: 158 kB / 0.6736 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1586, allocations: 0 / 0.6736 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.1588, allocations: 79.91 kB / 0.6737 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.1593, allocations: 98.14 kB / 0.6737 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.1606, allocations: 0.7418 MB / 0.6745 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.161, allocations: 0.7989 MB / 0.6753 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.1612, allocations: 38.94 kB / 0.6753 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.1612, allocations: 27.44 kB / 0.6753 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1612, allocations: 0 / 0.6753 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of Templates: time 0.008331/0.1696, allocations: 4.001 MB / 0.6792 GB, free: 6.066 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)