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-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_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.0008159/0.0008159, allocations: 100.1 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.0008238/0.0008238, 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.207/1.207, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8353/0.8353, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 12 kB / 0.5068 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 82.32 MB / 0.5872 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002886/0.1523, allocations: 2.397 MB / 0.5896 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.1544, allocations: 1.906 MB / 0.5914 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1545, allocations: 8 kB / 0.5914 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009574/0.1555, allocations: 450.4 kB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1557, allocations: 143.6 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 7.636e-05/0.1558, allocations: 43.95 kB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.1562, allocations: 327.3 kB / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.1563, allocations: 115 kB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.1565, allocations: 139.4 kB / 0.5926 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.1567, allocations: 147.3 kB / 0.5927 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.1567, allocations: 20 kB / 0.5928 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.309e-05/0.1568, allocations: 20 kB / 0.5928 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.1568, allocations: 71.73 kB / 0.5929 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.69e-05/0.1569, allocations: 109.5 kB / 0.593 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.1573, allocations: 446.7 kB / 0.5934 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.1573, allocations: 4 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1573, allocations: 0 / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1573, 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.0008226/0.1581, allocations: 0.6499 MB / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.1581, allocations: 8.031 kB / 0.594 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.1582, allocations: 43.53 kB / 0.5941 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.1586, allocations: 365 kB / 0.5944 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1587, allocations: 12.44 kB / 0.5944 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.1587, allocations: 24 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.1591, allocations: 207.2 kB / 0.5947 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1591, allocations: 4 kB / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.1591, allocations: 8 kB / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.1591, allocations: 4 kB / 0.5947 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.1595, allocations: 173.7 kB / 0.5948 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1605, allocations: 0.874 MB / 0.5957 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.1608, allocations: 158.5 kB / 0.5958 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.1608, allocations: 7.938 kB / 0.5958 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1608, allocations: 34.52 kB / 0.5959 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.1608, allocations: 4 kB / 0.5959 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005384/0.1614, allocations: 257.5 kB / 0.5961 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.1614, allocations: 67.34 kB / 0.5962 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.1618, allocations: 409.7 kB / 0.5966 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1619, allocations: 29.7 kB / 0.5966 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.162, allocations: 208.1 kB / 0.5968 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.162, allocations: 59.11 kB / 0.5969 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.162, allocations: 4 kB / 0.5969 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.1622, allocations: 346.8 kB / 0.5972 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1623, allocations: 67.95 kB / 0.5973 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1624, allocations: 62.03 kB / 0.5973 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1626, allocations: 67.94 kB / 0.5974 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1626, allocations: 0 / 0.5974 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000346/0.1629, allocations: 218.8 kB / 0.5976 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.163, allocations: 4 kB / 0.5976 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.163, allocations: 4 kB / 0.5976 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.163, allocations: 3.938 kB / 0.5976 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.1632, allocations: 59.91 kB / 0.5977 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1633, allocations: 7.984 kB / 0.5977 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1634, allocations: 23.83 kB / 0.5977 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1634, allocations: 8 kB / 0.5977 GB, free: 8.098 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.0001339/0.1636, allocations: 165.8 kB / 0.5979 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.1636, allocations: 39.48 kB / 0.5979 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.818e-05/0.1637, allocations: 39.59 kB / 0.5979 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1637, allocations: 8 kB / 0.5979 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1637, allocations: 3.984 kB / 0.598 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1637, allocations: 0 / 0.598 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.1641, allocations: 373.4 kB / 0.5983 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1641, allocations: 0 / 0.5983 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.1643, allocations: 63.91 kB / 0.5984 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1644, allocations: 0 / 0.5984 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1644, allocations: 4 kB / 0.5984 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1644, allocations: 0 / 0.5984 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1644, allocations: 4 kB / 0.5984 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.1649, allocations: 393.2 kB / 0.5987 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.165, allocations: 124.5 kB / 0.5989 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.1651, allocations: 4 kB / 0.5989 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1652, allocations: 15.98 kB / 0.5989 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.1653, allocations: 11.98 kB / 0.5989 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1653, allocations: 0 / 0.5989 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002832/0.1656, allocations: 307.1 kB / 0.5992 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1656, allocations: 4.062 kB / 0.5992 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002678/0.1659, allocations: 71.84 kB / 0.5993 GB, free: 6.406 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.0001057/0.166, allocations: 115.2 kB / 0.5994 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.1663, allocations: 145.7 kB / 0.5995 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1663, allocations: 8 kB / 0.5995 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.1665, allocations: 79.91 kB / 0.5996 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.1669, allocations: 102.8 kB / 0.5997 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.168, allocations: 0.8925 MB / 0.6006 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.1683, allocations: 0.8031 MB / 0.6014 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.891e-05/0.1684, allocations: 30.97 kB / 0.6014 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.1685, allocations: 23.44 kB / 0.6014 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1685, allocations: 0 / 0.6014 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.006276/0.1747, allocations: 3.557 MB / 0.6049 GB, free: 0.7188 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: