Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7134/0.7134, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 403.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 113.2 kB / 484.4 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 51.92 kB / 0.5619 GB, free: 71 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1396, allocations: 80.2 MB / 0.6402 GB, free: 6.723 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002819/0.1425, allocations: 1.487 MB / 0.6417 GB, free: 5.219 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004482/0.147, allocations: 2.957 MB / 0.6446 GB, free: 2.254 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.1471, allocations: 0 / 0.6446 GB, free: 2.254 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.1472, allocations: 3.984 kB / 0.6446 GB, free: 2.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.1473, allocations: 15.86 kB / 0.6446 GB, free: 2.234 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.1512, allocations: 1.376 MB / 0.6459 GB, free: 0.875 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.308e-05/0.1513, allocations: 39.69 kB / 0.646 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.1513, allocations: 4 kB / 0.646 GB, free: 0.832 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.18e-05/0.1513, allocations: 15.92 kB / 0.646 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.063e-05/0.1514, allocations: 11.94 kB / 0.646 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1514, allocations: 0 / 0.646 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.1538, allocations: 1.427 MB / 0.6474 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.1539, allocations: 7.938 kB / 0.6474 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.1539, allocations: 15.94 kB / 0.6474 GB, free: 15.35 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.1559, allocations: 1.088 MB / 0.6485 GB, free: 14.26 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1559, allocations: 0 / 0.6485 GB, free: 14.26 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1559, allocations: 0 / 0.6485 GB, free: 14.26 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1559, allocations: 0 / 0.6485 GB, free: 14.26 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007194/0.1566, allocations: 0.5147 MB / 0.649 GB, free: 13.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1567, allocations: 8.031 kB / 0.649 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.1568, allocations: 84.12 kB / 0.6491 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1569, allocations: 256.6 kB / 0.6493 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.157, allocations: 150.9 kB / 0.6495 GB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.157, allocations: 154.5 kB / 0.6496 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.479e-05/0.1571, allocations: 104.9 kB / 0.6497 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.1571, allocations: 75.28 kB / 0.6498 GB, free: 12.83 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.1572, allocations: 154.6 kB / 0.6499 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.1572, allocations: 154.6 kB / 0.6501 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.97e-05/0.1573, allocations: 150.6 kB / 0.6502 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.1576, allocations: 461.9 kB / 0.6506 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.1577, allocations: 185 kB / 0.6508 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.1577, allocations: 80.19 kB / 0.6509 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1577, allocations: 79.28 kB / 0.651 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.1578, allocations: 105.8 kB / 0.6511 GB, free: 11.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.1578, allocations: 0 / 0.6511 GB, free: 11.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 7.649e-05/0.1579, allocations: 33.61 kB / 0.6511 GB, free: 11.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.1579, allocations: 126.7 kB / 0.6512 GB, free: 11.24 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1581, allocations: 139.5 kB / 0.6514 GB, free: 11.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1581, allocations: 25.7 kB / 0.6514 GB, free: 11.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.1581, allocations: 88.14 kB / 0.6515 GB, free: 10.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.1581, allocations: 0 / 0.6515 GB, free: 10.97 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.1582, allocations: 21.66 kB / 0.6515 GB, free: 10.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.1583, allocations: 318.8 kB / 0.6518 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/0.1583, allocations: 4 kB / 0.6518 GB, free: 10.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/0.1583, allocations: 4 kB / 0.6518 GB, free: 10.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/0.1584, allocations: 12.89 kB / 0.6518 GB, free: 10.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1584, allocations: 7.938 kB / 0.6518 GB, free: 10.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001197/0.1585, allocations: 49.59 kB / 0.6519 GB, free: 10.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1585, allocations: 4 kB / 0.6519 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.1586, allocations: 4 kB / 0.6519 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1586, allocations: 0 / 0.6519 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.1586, allocations: 0 / 0.6519 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1586, allocations: 0 / 0.6519 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.1586, allocations: 7.875 kB / 0.6519 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1586, allocations: 4 kB / 0.6519 GB, free: 10.52 MB / 458.7 MB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.195e-05/0.1587, allocations: 195.3 kB / 0.6521 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.1588, allocations: 112.9 kB / 0.6522 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.1588, allocations: 104.9 kB / 0.6523 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.264e-05/0.1589, allocations: 184.2 kB / 0.6525 GB, free: 9.906 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.496e-05/0.159, allocations: 176.3 kB / 0.6526 GB, free: 9.727 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-05/0.159, allocations: 192.2 kB / 0.6528 GB, free: 9.531 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.1592, allocations: 413.2 kB / 0.6532 GB, free: 9.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.03e-05/0.1593, allocations: 101 kB / 0.6533 GB, free: 8.965 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.1593, allocations: 112.9 kB / 0.6534 GB, free: 8.848 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.484e-05/0.1594, allocations: 176.4 kB / 0.6536 GB, free: 8.668 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/0.1595, allocations: 192.2 kB / 0.6538 GB, free: 8.473 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.847e-05/0.1595, allocations: 184.3 kB / 0.6539 GB, free: 8.285 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.14e-05/0.1596, allocations: 176.3 kB / 0.6541 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.1599, allocations: 0.8608 MB / 0.6549 GB, free: 7.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.16, allocations: 194 kB / 0.6551 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.1601, allocations: 180.2 kB / 0.6553 GB, free: 6.781 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.1602, allocations: 101 kB / 0.6554 GB, free: 6.676 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.1603, allocations: 196.1 kB / 0.6556 GB, free: 6.477 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.1603, allocations: 101 kB / 0.6557 GB, free: 6.371 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.163e-05/0.1604, allocations: 100.3 kB / 0.6558 GB, free: 6.273 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1604, allocations: 4 kB / 0.6558 GB, free: 6.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008602/0.1612, allocations: 287.8 kB / 0.6561 GB, free: 5.988 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001224/0.1625, allocations: 0.5079 MB / 0.6566 GB, free: 5.469 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.161e-05/0.1626, allocations: 41.69 kB / 0.6566 GB, free: 5.422 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1626, allocations: 0 / 0.6566 GB, free: 5.422 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/0.1626, allocations: 8 kB / 0.6566 GB, free: 5.414 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.163, allocations: 0.5224 MB / 0.6571 GB, free: 4.887 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.1633, allocations: 249.8 kB / 0.6573 GB, free: 4.617 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.1635, allocations: 0.6809 MB / 0.658 GB, free: 3.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.572e-05/0.1635, allocations: 0 / 0.658 GB, free: 3.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/0.1636, allocations: 7.438 kB / 0.658 GB, free: 3.902 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1636, allocations: 3.938 kB / 0.658 GB, free: 3.898 MB / 458.7 MB Notification: Performance of Templates: time 0.008944/0.1725, allocations: 5.465 MB / 0.6634 GB, free: 14.48 MB / 474.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)