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.00153/0.001529, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8904/0.8904, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 63.83 kB / 0.5054 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1526, allocations: 80.93 MB / 0.5844 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004305/0.157, allocations: 3.018 MB / 0.5874 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.1597, allocations: 2.137 MB / 0.5894 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.1599, allocations: 4 kB / 0.5895 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.1613, allocations: 0.4937 MB / 0.5899 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1616, allocations: 154.8 kB / 0.5901 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.1617, allocations: 59.94 kB / 0.5901 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.1622, allocations: 441.9 kB / 0.5906 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.1625, allocations: 159.2 kB / 0.5907 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.1626, allocations: 155.3 kB / 0.5909 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.1629, allocations: 187.1 kB / 0.591 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.1629, allocations: 36 kB / 0.5911 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-05/0.163, allocations: 32 kB / 0.5911 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1631, allocations: 95.67 kB / 0.5912 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.1633, allocations: 222.9 kB / 0.5914 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.1638, allocations: 0.5411 MB / 0.5919 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1638, allocations: 0 / 0.5919 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1638, allocations: 0 / 0.5919 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.1638, allocations: 0 / 0.5919 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.00106/0.1649, allocations: 0.7045 MB / 0.5926 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1649, allocations: 8.031 kB / 0.5926 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.165, allocations: 44.38 kB / 0.5927 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.1655, allocations: 378 kB / 0.593 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.1655, allocations: 16.81 kB / 0.593 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.1656, allocations: 24.12 kB / 0.5931 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.166, allocations: 203.3 kB / 0.5933 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.166, allocations: 0 / 0.5933 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.166, allocations: 12 kB / 0.5933 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.166, allocations: 4 kB / 0.5933 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.1664, allocations: 165.7 kB / 0.5934 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.1676, allocations: 0.8661 MB / 0.5943 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.1678, allocations: 158.6 kB / 0.5944 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.1681, allocations: 108.8 kB / 0.5945 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1681, allocations: 0 / 0.5945 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1681, allocations: 38.5 kB / 0.5946 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.1681, allocations: 0 / 0.5946 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006319/0.1688, allocations: 259.8 kB / 0.5948 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.1688, allocations: 55.41 kB / 0.5949 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.1693, allocations: 421.7 kB / 0.5953 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1693, allocations: 25.7 kB / 0.5953 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1694, allocations: 208.2 kB / 0.5955 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.1695, allocations: 67.03 kB / 0.5956 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.1696, allocations: 29.72 kB / 0.5956 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.1698, allocations: 350.8 kB / 0.5959 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1699, allocations: 55.97 kB / 0.596 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1701, allocations: 58.2 kB / 0.596 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.1704, allocations: 140.6 kB / 0.5962 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1704, allocations: 0 / 0.5962 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004731/0.1708, allocations: 211.8 kB / 0.5964 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1709, allocations: 7.938 kB / 0.5964 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1709, allocations: 0 / 0.5964 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1709, allocations: 4 kB / 0.5964 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.1711, allocations: 55.89 kB / 0.5964 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1712, allocations: 0 / 0.5964 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.1713, allocations: 19.84 kB / 0.5965 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1713, allocations: 4 kB / 0.5965 GB, free: 7.867 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.1715, allocations: 169.8 kB / 0.5966 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.1716, allocations: 39.47 kB / 0.5967 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.2e-05/0.1716, allocations: 43.58 kB / 0.5967 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1716, allocations: 0 / 0.5967 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1717, allocations: 4 kB / 0.5967 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1717, allocations: 0 / 0.5967 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.172, allocations: 373.3 kB / 0.5971 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1721, allocations: 0 / 0.5971 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.1723, allocations: 67.89 kB / 0.5971 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1723, allocations: 7.938 kB / 0.5971 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1723, allocations: 0 / 0.5971 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1724, allocations: 0 / 0.5971 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1724, allocations: 0 / 0.5971 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.1729, allocations: 378.9 kB / 0.5975 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.173, allocations: 124.7 kB / 0.5976 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.1731, allocations: 3.984 kB / 0.5976 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1732, allocations: 8 kB / 0.5976 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1733, allocations: 15.92 kB / 0.5976 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1733, allocations: 4 kB / 0.5976 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003006/0.1736, allocations: 303.1 kB / 0.5979 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1736, allocations: 0 / 0.5979 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002991/0.1739, allocations: 79.75 kB / 0.598 GB, free: 6.184 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 (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.0001121/0.174, allocations: 107.2 kB / 0.5981 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.1744, allocations: 147.9 kB / 0.5983 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1744, allocations: 0 / 0.5983 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.1746, allocations: 81.78 kB / 0.5983 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005653/0.1752, allocations: 97.7 kB / 0.5984 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1763, allocations: 0.761 MB / 0.5992 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1767, allocations: 0.7951 MB / 0.5999 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.1768, allocations: 38.95 kB / 0.6 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.1769, allocations: 23.44 kB / 0.6 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1769, allocations: 0 / 0.6 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of Templates: time 0.007708/0.1846, allocations: 3.943 MB / 0.6039 GB, free: 284 kB / 0.4981 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)