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.001032/0.001032, allocations: 112.3 kB / 16.42 MB, free: 6.449 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.001052/0.001052, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7435/0.7435, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 70.64 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1269, allocations: 80.92 MB / 0.6654 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003704/0.1306, allocations: 3.017 MB / 0.6683 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.133, allocations: 2.141 MB / 0.6704 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.1331, allocations: 8 kB / 0.6704 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.1343, allocations: 0.4938 MB / 0.6709 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.1345, allocations: 158.9 kB / 0.671 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.1346, allocations: 55.94 kB / 0.6711 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.135, allocations: 453.7 kB / 0.6715 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.1353, allocations: 155.2 kB / 0.6717 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.1355, allocations: 155.4 kB / 0.6718 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.1357, allocations: 187.1 kB / 0.672 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.1357, allocations: 36 kB / 0.672 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.954e-05/0.1358, allocations: 36 kB / 0.6721 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.873e-05/0.1359, allocations: 91.67 kB / 0.6721 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1361, allocations: 222.9 kB / 0.6724 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.1365, allocations: 0.5488 MB / 0.6729 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1365, allocations: 0 / 0.6729 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1365, allocations: 0 / 0.6729 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.1365, allocations: 0 / 0.6729 GB, free: 14.02 MB / 0.5137 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.0009307/0.1375, allocations: 0.7045 MB / 0.6736 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1375, allocations: 9.109 kB / 0.6736 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.1376, allocations: 48.38 kB / 0.6736 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.1381, allocations: 374.2 kB / 0.674 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1381, allocations: 16.81 kB / 0.674 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.1381, allocations: 27.78 kB / 0.674 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.1385, allocations: 199.3 kB / 0.6742 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1386, allocations: 0 / 0.6742 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.1386, allocations: 16 kB / 0.6742 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1386, allocations: 4 kB / 0.6742 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.139, allocations: 161.6 kB / 0.6744 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.1401, allocations: 0.8701 MB / 0.6753 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.1404, allocations: 150.5 kB / 0.6754 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.1406, allocations: 112.8 kB / 0.6755 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1406, allocations: 0 / 0.6755 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1406, allocations: 34.5 kB / 0.6755 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.1406, allocations: 4 kB / 0.6755 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.000554/0.1412, allocations: 255.4 kB / 0.6758 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1412, allocations: 55.41 kB / 0.6758 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.1416, allocations: 417.7 kB / 0.6762 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1417, allocations: 29.7 kB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1418, allocations: 212.1 kB / 0.6765 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.1419, allocations: 63.09 kB / 0.6765 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.1419, allocations: 37.7 kB / 0.6766 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.142, allocations: 350.8 kB / 0.6769 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.1422, allocations: 51.97 kB / 0.6769 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1423, allocations: 59.97 kB / 0.677 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.1426, allocations: 131.2 kB / 0.6771 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1426, allocations: 4 kB / 0.6771 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003618/0.143, allocations: 209.1 kB / 0.6773 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.143, allocations: 7.938 kB / 0.6773 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.143, allocations: 0 / 0.6773 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.143, allocations: 0 / 0.6773 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.1433, allocations: 59.91 kB / 0.6774 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1433, allocations: 0 / 0.6774 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1434, allocations: 19.83 kB / 0.6774 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1435, allocations: 15.94 kB / 0.6774 GB, free: 9.129 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.0001424/0.1436, allocations: 161.8 kB / 0.6776 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.1437, allocations: 39.47 kB / 0.6776 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.1437, allocations: 39.59 kB / 0.6777 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1438, allocations: 0 / 0.6777 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1438, allocations: 0 / 0.6777 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.153e-05/0.1439, allocations: 112.7 kB / 0.6778 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.1439, allocations: 4 kB / 0.6778 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.1441, allocations: 15.98 kB / 0.6778 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1441, allocations: 11.98 kB / 0.6778 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005806/0.1447, allocations: 294.6 kB / 0.6781 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005871/0.1453, allocations: 460.5 kB / 0.6785 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001545/0.1455, allocations: 77.7 kB / 0.6786 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002912/0.1458, allocations: 303.1 kB / 0.6789 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of Backend: time 3.81e-07/0.1458, allocations: 0 / 0.6789 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005321/0.1463, allocations: 170.9 kB / 0.679 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001323/0.1477, allocations: 1.245 MB / 0.6803 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of Templates: time 0.007563/0.1552, allocations: 4.335 MB / 0.6845 GB, free: 1.895 MB / 0.5137 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)