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.001544/0.001544, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001392/0.001392, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7471/0.7471, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 61.16 kB / 0.5821 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1268, allocations: 80.2 MB / 0.6604 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003771/0.1306, allocations: 3.024 MB / 0.6633 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.1329, allocations: 2.144 MB / 0.6654 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1331, allocations: 8 kB / 0.6654 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.1343, allocations: 0.4991 MB / 0.6659 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1345, allocations: 158.8 kB / 0.6661 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.1346, allocations: 63.94 kB / 0.6661 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.135, allocations: 449.8 kB / 0.6666 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.1352, allocations: 143.2 kB / 0.6667 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.1354, allocations: 159.4 kB / 0.6669 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.1356, allocations: 179.2 kB / 0.667 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.1357, allocations: 32 kB / 0.6671 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.012e-05/0.1358, allocations: 40 kB / 0.6671 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1359, allocations: 99.61 kB / 0.6672 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.136, allocations: 218.9 kB / 0.6674 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.1365, allocations: 0.5527 MB / 0.6679 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1365, allocations: 0 / 0.6679 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1365, allocations: 0 / 0.6679 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.1365, allocations: 0 / 0.6679 GB, free: 2.578 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.0009248/0.1374, allocations: 0.7084 MB / 0.6686 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1375, allocations: 8.031 kB / 0.6686 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.1376, allocations: 44.38 kB / 0.6687 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.138, allocations: 370.1 kB / 0.669 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1381, allocations: 16.81 kB / 0.669 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.1381, allocations: 23.94 kB / 0.6691 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.1385, allocations: 203.3 kB / 0.6693 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1385, allocations: 4 kB / 0.6693 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.1385, allocations: 8 kB / 0.6693 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1385, allocations: 4 kB / 0.6693 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.1389, allocations: 165.6 kB / 0.6694 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.14, allocations: 0.8622 MB / 0.6703 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.1403, allocations: 156.9 kB / 0.6704 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.1405, allocations: 112.8 kB / 0.6705 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1405, allocations: 8 kB / 0.6705 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1405, allocations: 38.5 kB / 0.6706 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.1406, allocations: 0 / 0.6706 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0005533/0.1411, allocations: 247.6 kB / 0.6708 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.1412, allocations: 55.31 kB / 0.6709 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.1416, allocations: 421.7 kB / 0.6713 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1416, allocations: 37.64 kB / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1417, allocations: 204.2 kB / 0.6715 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.1418, allocations: 63.09 kB / 0.6716 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.1419, allocations: 33.72 kB / 0.6716 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.142, allocations: 346.8 kB / 0.6719 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.1421, allocations: 55.97 kB / 0.672 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1423, allocations: 62.02 kB / 0.672 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.1426, allocations: 136.8 kB / 0.6722 GB, free: 14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1426, allocations: 4 kB / 0.6722 GB, free: 14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003568/0.143, allocations: 198.9 kB / 0.6724 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.143, allocations: 11.94 kB / 0.6724 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.143, allocations: 0 / 0.6724 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.143, allocations: 3.984 kB / 0.6724 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.1433, allocations: 59.91 kB / 0.6724 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.1433, allocations: 4 kB / 0.6724 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.1434, allocations: 15.83 kB / 0.6725 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1434, allocations: 4 kB / 0.6725 GB, free: 13.7 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.000146/0.1436, allocations: 166.6 kB / 0.6726 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.1436, allocations: 43.47 kB / 0.6727 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.226e-05/0.1437, allocations: 47.56 kB / 0.6727 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1437, allocations: 0 / 0.6727 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1437, allocations: 4 kB / 0.6727 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/0.1438, allocations: 112.7 kB / 0.6728 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.1439, allocations: 8 kB / 0.6728 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1441, allocations: 7.984 kB / 0.6728 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.1441, allocations: 15.89 kB / 0.6728 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000595/0.1447, allocations: 292.8 kB / 0.6731 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005961/0.1453, allocations: 460 kB / 0.6736 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001524/0.1455, allocations: 71.98 kB / 0.6736 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003125/0.1458, allocations: 303.1 kB / 0.6739 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of Backend: time 4.21e-07/0.1458, allocations: 0 / 0.6739 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.1463, allocations: 180.1 kB / 0.6741 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001346/0.1477, allocations: 1.236 MB / 0.6753 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.007478/0.1552, allocations: 4.331 MB / 0.6795 GB, free: 6.457 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)