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.0009193/0.0009195, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001015/0.001015, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8642/0.8642, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 8 kB / 0.5069 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 82.32 MB / 0.5872 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002663/0.1442, allocations: 2.408 MB / 0.5896 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.1467, allocations: 1.898 MB / 0.5914 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.1469, allocations: 4 kB / 0.5914 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.1481, allocations: 446.4 kB / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.1484, allocations: 151.6 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000108/0.1485, allocations: 39.95 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.149, allocations: 319.3 kB / 0.5924 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.1492, allocations: 122.9 kB / 0.5925 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.1494, allocations: 139.4 kB / 0.5926 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1496, allocations: 147.3 kB / 0.5928 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.1496, allocations: 16 kB / 0.5928 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.552e-05/0.1497, allocations: 20 kB / 0.5928 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.892e-05/0.1498, allocations: 79.67 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.778e-05/0.1499, allocations: 105.5 kB / 0.593 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.1502, allocations: 438.7 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1502, allocations: 0 / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1502, allocations: 0 / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.1502, allocations: 0 / 0.5934 GB, free: 12.75 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.0008398/0.1511, allocations: 0.6538 MB / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1511, allocations: 8.031 kB / 0.594 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.1512, allocations: 47.45 kB / 0.5941 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.1517, allocations: 373 kB / 0.5944 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1517, allocations: 16.38 kB / 0.5944 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.1517, allocations: 20 kB / 0.5945 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.1521, allocations: 199.3 kB / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1521, allocations: 4 kB / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1521, allocations: 4 kB / 0.5947 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1522, allocations: 4 kB / 0.5947 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.1525, allocations: 185.6 kB / 0.5948 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1536, allocations: 0.8662 MB / 0.5957 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1538, allocations: 158.6 kB / 0.5958 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1539, allocations: 7.953 kB / 0.5958 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.1539, allocations: 30.56 kB / 0.5959 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.1539, allocations: 0 / 0.5959 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005395/0.1544, allocations: 273.4 kB / 0.5961 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.1545, allocations: 51.41 kB / 0.5962 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/0.1549, allocations: 409.7 kB / 0.5966 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1549, allocations: 29.7 kB / 0.5966 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.155, allocations: 216.1 kB / 0.5968 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.1551, allocations: 63.11 kB / 0.5969 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-06/0.1551, allocations: 0 / 0.5969 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1552, allocations: 350.8 kB / 0.5972 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1554, allocations: 59.91 kB / 0.5973 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1555, allocations: 63.97 kB / 0.5973 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.1556, allocations: 75.92 kB / 0.5974 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1556, allocations: 0 / 0.5974 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003439/0.156, allocations: 215.2 kB / 0.5976 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.156, allocations: 8 kB / 0.5976 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.156, allocations: 0 / 0.5976 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.156, allocations: 0 / 0.5976 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.1563, allocations: 63.84 kB / 0.5977 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-06/0.1563, allocations: 0 / 0.5977 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.1564, allocations: 31.83 kB / 0.5977 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1564, allocations: 4 kB / 0.5977 GB, free: 8.09 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.1566, allocations: 165.8 kB / 0.5979 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.1566, allocations: 35.53 kB / 0.5979 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/0.1567, allocations: 39.59 kB / 0.5979 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1567, allocations: 4 kB / 0.5979 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1567, allocations: 0 / 0.5979 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1567, allocations: 3.984 kB / 0.5979 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.1571, allocations: 369.4 kB / 0.5983 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1571, allocations: 7.953 kB / 0.5983 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.1574, allocations: 59.91 kB / 0.5984 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1574, allocations: 4 kB / 0.5984 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1574, allocations: 3.938 kB / 0.5984 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1574, allocations: 0 / 0.5984 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1574, allocations: 3.984 kB / 0.5984 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.158, allocations: 397.2 kB / 0.5987 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1581, allocations: 128.5 kB / 0.5989 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.1582, allocations: 4 kB / 0.5989 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1583, allocations: 24.03 kB / 0.5989 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.1584, allocations: 7.984 kB / 0.5989 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.1584, allocations: 4 kB / 0.5989 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003244/0.1587, allocations: 303.1 kB / 0.5992 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.1587, allocations: 0 / 0.5992 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000299/0.159, allocations: 71.84 kB / 0.5993 GB, free: 6.395 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001327/0.1592, allocations: 107.2 kB / 0.5994 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003447/0.1595, allocations: 155.8 kB / 0.5995 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1595, allocations: 0 / 0.5995 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.1597, allocations: 83.91 kB / 0.5996 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.1602, allocations: 87.52 kB / 0.5997 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1614, allocations: 0.8943 MB / 0.6006 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.1617, allocations: 0.807 MB / 0.6013 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000114/0.1618, allocations: 38.89 kB / 0.6014 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.1619, allocations: 27.44 kB / 0.6014 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1619, allocations: 0 / 0.6014 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of Templates: time 0.006609/0.1685, allocations: 3.562 MB / 0.6049 GB, free: 0.707 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: