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.0009201/0.0009197, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006862/0.006862, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9273/0.9273, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 12.62 kB / 0.5076 GB, free: 4.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 82.3 MB / 0.588 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00298/0.1455, allocations: 2.691 MB / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.1483, allocations: 2.079 MB / 0.5927 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1484, allocations: 7.938 kB / 0.5927 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.1497, allocations: 477.2 kB / 0.5931 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1499, allocations: 131.2 kB / 0.5932 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.1501, allocations: 59.91 kB / 0.5933 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004924/0.1506, allocations: 461.9 kB / 0.5937 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.1508, allocations: 131.9 kB / 0.5939 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.151, allocations: 135.3 kB / 0.594 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1512, allocations: 167.2 kB / 0.5942 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.1513, allocations: 20 kB / 0.5942 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.624e-05/0.1513, allocations: 16 kB / 0.5942 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1514, allocations: 83.61 kB / 0.5943 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.1516, allocations: 224.7 kB / 0.5945 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.1521, allocations: 0.5097 MB / 0.595 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1521, allocations: 4 kB / 0.595 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1521, allocations: 3.938 kB / 0.595 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1521, allocations: 0 / 0.595 GB, free: 11.39 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.0008449/0.1529, allocations: 0.6463 MB / 0.5956 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.153, allocations: 8.031 kB / 0.5956 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.1531, allocations: 52.41 kB / 0.5957 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.1535, allocations: 378 kB / 0.596 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1535, allocations: 16.81 kB / 0.5961 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.1535, allocations: 32.11 kB / 0.5961 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.1539, allocations: 199.3 kB / 0.5963 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.154, allocations: 0 / 0.5963 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.154, allocations: 8 kB / 0.5963 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.154, allocations: 8 kB / 0.5963 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.1544, allocations: 177.6 kB / 0.5965 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.1555, allocations: 0.8701 MB / 0.5973 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.1557, allocations: 158.6 kB / 0.5975 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.156, allocations: 128.8 kB / 0.5976 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.156, allocations: 3.938 kB / 0.5976 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.156, allocations: 46.41 kB / 0.5976 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.156, allocations: 0 / 0.5976 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005744/0.1566, allocations: 267 kB / 0.5979 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.1567, allocations: 59.41 kB / 0.5979 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.1571, allocations: 413.7 kB / 0.5983 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1571, allocations: 29.7 kB / 0.5984 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1572, allocations: 204.2 kB / 0.5986 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.1573, allocations: 74.92 kB / 0.5986 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.1573, allocations: 21.72 kB / 0.5987 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1575, allocations: 346.8 kB / 0.599 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1576, allocations: 59.97 kB / 0.599 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1578, allocations: 74.12 kB / 0.5991 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.1581, allocations: 144.8 kB / 0.5993 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1581, allocations: 0 / 0.5993 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003809/0.1585, allocations: 211.2 kB / 0.5995 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1585, allocations: 11.94 kB / 0.5995 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1585, allocations: 0 / 0.5995 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1585, allocations: 0 / 0.5995 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.1588, allocations: 67.89 kB / 0.5995 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1588, allocations: 3.938 kB / 0.5995 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.159, allocations: 19.89 kB / 0.5996 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.159, allocations: 8 kB / 0.5996 GB, free: 6.473 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.0001549/0.1591, allocations: 169.8 kB / 0.5997 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.1592, allocations: 35.56 kB / 0.5998 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.1593, allocations: 39.59 kB / 0.5998 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1593, allocations: 7.938 kB / 0.5998 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1593, allocations: 0 / 0.5998 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1593, allocations: 3.938 kB / 0.5998 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.1597, allocations: 373.3 kB / 0.6002 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1597, allocations: 0 / 0.6002 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.1599, allocations: 51.97 kB / 0.6002 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.16, allocations: 7.938 kB / 0.6002 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.16, allocations: 8 kB / 0.6002 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.16, allocations: 0 / 0.6002 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.16, allocations: 0 / 0.6002 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.1606, allocations: 400.7 kB / 0.6006 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.1607, allocations: 120.5 kB / 0.6007 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.1607, allocations: 8 kB / 0.6007 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1609, allocations: 15.98 kB / 0.6007 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.1609, allocations: 7.984 kB / 0.6008 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.161, allocations: 8.062 kB / 0.6008 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002956/0.1613, allocations: 303.2 kB / 0.601 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1613, allocations: 0 / 0.601 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002906/0.1616, allocations: 71.84 kB / 0.6011 GB, free: 4.777 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.0001042/0.1617, allocations: 107.2 kB / 0.6012 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.162, allocations: 155.8 kB / 0.6014 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.162, allocations: 0 / 0.6014 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.1622, allocations: 90.77 kB / 0.6015 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.1628, allocations: 95.3 kB / 0.6015 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.164, allocations: 0.9347 MB / 0.6025 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1643, allocations: 0.7953 MB / 0.6032 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.1644, allocations: 34.97 kB / 0.6033 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.1645, allocations: 27.38 kB / 0.6033 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1645, allocations: 0 / 0.6033 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of Templates: time 0.2633/0.4278, allocations: 3.67 MB / 0.6069 GB, free: 47.46 MB / 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)