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.005273/0.005273, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001266/0.001266, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7306/0.7306, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 59.91 kB / 0.5814 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1257, allocations: 80.22 MB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003839/0.1296, allocations: 3.013 MB / 0.6627 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.132, allocations: 2.148 MB / 0.6648 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.1322, allocations: 8 kB / 0.6648 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.1334, allocations: 0.4899 MB / 0.6653 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.1337, allocations: 158.8 kB / 0.6654 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.1338, allocations: 55.94 kB / 0.6655 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.1342, allocations: 455.6 kB / 0.6659 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.1344, allocations: 143.2 kB / 0.666 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.1346, allocations: 155.4 kB / 0.6662 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1348, allocations: 187.1 kB / 0.6664 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.1349, allocations: 32 kB / 0.6664 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.94e-05/0.1349, allocations: 36 kB / 0.6664 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.312e-05/0.135, allocations: 95.67 kB / 0.6665 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.1352, allocations: 214.9 kB / 0.6667 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000466/0.1357, allocations: 0.5563 MB / 0.6673 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1357, allocations: 4 kB / 0.6673 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1357, allocations: 0 / 0.6673 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1357, allocations: 0 / 0.6673 GB, free: 2.453 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.0008845/0.1366, allocations: 0.7083 MB / 0.668 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.1366, allocations: 8.031 kB / 0.668 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.1367, allocations: 52.59 kB / 0.668 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.1371, allocations: 374.5 kB / 0.6684 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1372, allocations: 24.8 kB / 0.6684 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.1372, allocations: 27.89 kB / 0.6684 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.1376, allocations: 207.2 kB / 0.6686 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1376, allocations: 3.938 kB / 0.6686 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.1376, allocations: 8 kB / 0.6686 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1376, allocations: 4 kB / 0.6686 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.138, allocations: 161.7 kB / 0.6688 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.139, allocations: 0.8665 MB / 0.6696 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.1392, allocations: 150.5 kB / 0.6698 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.1395, allocations: 120.8 kB / 0.6699 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.1395, allocations: 4 kB / 0.6699 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.1395, allocations: 34.5 kB / 0.6699 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.1395, allocations: 0 / 0.6699 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0005283/0.14, allocations: 255.4 kB / 0.6702 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.1401, allocations: 51.41 kB / 0.6702 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/0.1405, allocations: 425.7 kB / 0.6706 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.1405, allocations: 29.7 kB / 0.6707 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1407, allocations: 208.3 kB / 0.6709 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.1407, allocations: 67.36 kB / 0.6709 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.1408, allocations: 33.72 kB / 0.6709 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1409, allocations: 346.8 kB / 0.6713 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.141, allocations: 55.97 kB / 0.6713 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1412, allocations: 62.03 kB / 0.6714 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.1414, allocations: 132.8 kB / 0.6715 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1415, allocations: 0 / 0.6715 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003461/0.1418, allocations: 211 kB / 0.6717 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1418, allocations: 8 kB / 0.6717 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1418, allocations: 0 / 0.6717 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1418, allocations: 4 kB / 0.6717 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.1421, allocations: 55.95 kB / 0.6718 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1421, allocations: 4 kB / 0.6718 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.1422, allocations: 11.89 kB / 0.6718 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1422, allocations: 8 kB / 0.6718 GB, free: 13.55 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.0001309/0.1424, allocations: 166.6 kB / 0.672 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.1424, allocations: 39.7 kB / 0.672 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.559e-05/0.1425, allocations: 47.58 kB / 0.672 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1425, allocations: 4 kB / 0.6721 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1425, allocations: 3.984 kB / 0.6721 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1425, allocations: 0 / 0.6721 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.1429, allocations: 373.3 kB / 0.6724 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1429, allocations: 0 / 0.6724 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.1432, allocations: 63.83 kB / 0.6725 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1432, allocations: 0 / 0.6725 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1432, allocations: 4 kB / 0.6725 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1432, allocations: 4 kB / 0.6725 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1432, allocations: 7.938 kB / 0.6725 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.1437, allocations: 381.1 kB / 0.6729 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.1438, allocations: 116.8 kB / 0.673 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.1439, allocations: 11.98 kB / 0.673 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.144, allocations: 8 kB / 0.673 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.1441, allocations: 12.05 kB / 0.673 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1441, allocations: 8 kB / 0.673 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002924/0.1444, allocations: 307.1 kB / 0.6733 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.442e-06/0.1444, allocations: 0 / 0.6733 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002788/0.1447, allocations: 75.83 kB / 0.6734 GB, free: 11.86 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.0001073/0.1448, allocations: 107.2 kB / 0.6735 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.1451, allocations: 147.8 kB / 0.6736 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1451, allocations: 0 / 0.6736 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.1453, allocations: 79.91 kB / 0.6737 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1458, allocations: 102 kB / 0.6738 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1469, allocations: 0.7583 MB / 0.6745 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1472, allocations: 0.7951 MB / 0.6753 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.1473, allocations: 34.97 kB / 0.6753 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.1474, allocations: 23.44 kB / 0.6754 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1474, allocations: 0 / 0.6754 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of Templates: time 0.006743/0.1541, allocations: 4 MB / 0.6793 GB, free: 5.871 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)