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.001067/0.001067, allocations: 105.7 kB / 16.41 MB, free: 6.504 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.0009835/0.0009836, allocations: 187 kB / 17.34 MB, free: 5.742 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.227/1.227, 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-master/package.mo): time 0.742/0.742, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 59.69 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1296, allocations: 80.93 MB / 0.6654 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003587/0.1332, allocations: 3.022 MB / 0.6683 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.1356, allocations: 2.144 MB / 0.6704 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.1357, allocations: 7.938 kB / 0.6704 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.1369, allocations: 497.7 kB / 0.6709 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.1372, allocations: 158.8 kB / 0.671 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.1373, allocations: 51.95 kB / 0.6711 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.1377, allocations: 449.8 kB / 0.6715 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.1379, allocations: 159.2 kB / 0.6717 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.1381, allocations: 155.4 kB / 0.6718 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.1383, allocations: 187.1 kB / 0.672 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.1384, allocations: 36 kB / 0.672 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.693e-05/0.1384, allocations: 36 kB / 0.6721 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.397e-05/0.1385, allocations: 91.67 kB / 0.6721 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.1387, allocations: 222.8 kB / 0.6724 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.1391, allocations: 0.545 MB / 0.6729 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1391, allocations: 0 / 0.6729 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1391, allocations: 0 / 0.6729 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.1392, allocations: 4 kB / 0.6729 GB, free: 14 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.0008869/0.14, allocations: 0.6967 MB / 0.6736 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1401, allocations: 9.109 kB / 0.6736 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.954e-05/0.1402, allocations: 48.38 kB / 0.6736 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.1406, allocations: 382.1 kB / 0.674 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1407, allocations: 16.81 kB / 0.674 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.1407, allocations: 23.84 kB / 0.674 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.1411, allocations: 199.3 kB / 0.6742 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1411, allocations: 0 / 0.6742 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.1411, allocations: 12 kB / 0.6742 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1411, allocations: 4 kB / 0.6742 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.1415, allocations: 169.6 kB / 0.6744 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009951/0.1425, allocations: 0.8584 MB / 0.6752 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.1427, allocations: 169.7 kB / 0.6754 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.1429, allocations: 108.8 kB / 0.6755 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.143, allocations: 0 / 0.6755 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.143, allocations: 46.44 kB / 0.6755 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/0.143, allocations: 0 / 0.6755 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0005274/0.1435, allocations: 251.1 kB / 0.6758 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.1436, allocations: 55.41 kB / 0.6758 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.144, allocations: 417.7 kB / 0.6762 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.144, allocations: 29.7 kB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1441, allocations: 208.1 kB / 0.6765 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/0.1442, allocations: 63.09 kB / 0.6765 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.1442, allocations: 37.7 kB / 0.6766 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1444, allocations: 350.8 kB / 0.6769 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1445, allocations: 51.97 kB / 0.6769 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1446, allocations: 62.03 kB / 0.677 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.1449, allocations: 134.8 kB / 0.6771 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1449, allocations: 0 / 0.6771 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003331/0.1452, allocations: 213.1 kB / 0.6773 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1453, allocations: 4 kB / 0.6773 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.1453, allocations: 0 / 0.6773 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1453, allocations: 4 kB / 0.6773 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.1455, allocations: 55.91 kB / 0.6774 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1455, allocations: 0 / 0.6774 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.1457, allocations: 19.83 kB / 0.6774 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1457, allocations: 8 kB / 0.6774 GB, free: 9.121 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.0001311/0.1458, allocations: 165.8 kB / 0.6776 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.1459, allocations: 39.47 kB / 0.6776 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.1459, allocations: 39.59 kB / 0.6777 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1459, allocations: 0 / 0.6777 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1459, allocations: 4 kB / 0.6777 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.146, allocations: 3.984 kB / 0.6777 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.1463, allocations: 365.4 kB / 0.678 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1463, allocations: 0 / 0.678 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.1465, allocations: 59.84 kB / 0.6781 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1465, allocations: 8 kB / 0.6781 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1466, allocations: 4 kB / 0.6781 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1466, allocations: 0 / 0.6781 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1466, allocations: 0 / 0.6781 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.1471, allocations: 380.7 kB / 0.6784 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.1472, allocations: 124.5 kB / 0.6786 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.1473, allocations: 12 kB / 0.6786 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1474, allocations: 11.92 kB / 0.6786 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.1475, allocations: 15.98 kB / 0.6786 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.1475, allocations: 0 / 0.6786 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002789/0.1478, allocations: 307.1 kB / 0.6789 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1478, allocations: 0 / 0.6789 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002661/0.148, allocations: 71.84 kB / 0.679 GB, free: 7.449 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.0001182/0.1482, allocations: 112.6 kB / 0.6791 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.1485, allocations: 138.3 kB / 0.6792 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1485, allocations: 0 / 0.6792 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1486, allocations: 83.8 kB / 0.6793 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.1491, allocations: 81.52 kB / 0.6794 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1502, allocations: 0.7881 MB / 0.6801 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.1506, allocations: 0.7951 MB / 0.6809 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.1506, allocations: 23.44 kB / 0.6809 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1506, allocations: 0 / 0.6809 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of Templates: time 0.005386/0.156, allocations: 4.358 MB / 0.6852 GB, free: 1.039 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)