Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 183.2 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.687/0.687, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.409/1.409, allocations: 222.9 MB / 403.4 MB, free: 7.082 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.001187/0.001187, allocations: 112.5 kB / 484.4 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001007, allocations: 55.92 kB / 0.5619 GB, free: 70.99 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1561, 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.InternalResistancesTwoUTubeNegative): time 0.002862/0.159, allocations: 1.489 MB / 0.6417 GB, free: 5.215 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004444/0.1634, allocations: 3.006 MB / 0.6446 GB, free: 2.199 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.1635, allocations: 7.938 kB / 0.6446 GB, free: 2.191 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.1636, allocations: 3.984 kB / 0.6446 GB, free: 2.188 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.394e-05/0.1636, allocations: 11.86 kB / 0.6446 GB, free: 2.176 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.167, allocations: 1.392 MB / 0.646 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.409e-05/0.1671, allocations: 47.67 kB / 0.6461 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.1672, allocations: 4 kB / 0.6461 GB, free: 0.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.1672, allocations: 15.94 kB / 0.6461 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.833e-05/0.1673, allocations: 15.92 kB / 0.6461 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1673, allocations: 0 / 0.6461 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.1693, allocations: 1.459 MB / 0.6475 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.1693, allocations: 11.88 kB / 0.6475 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.1693, allocations: 19.88 kB / 0.6475 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.1707, allocations: 1.107 MB / 0.6486 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1707, allocations: 0 / 0.6486 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1707, allocations: 0 / 0.6486 GB, free: 14.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1707, allocations: 0 / 0.6486 GB, free: 14.11 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.0005473/0.1712, allocations: 0.5208 MB / 0.6491 GB, free: 13.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1713, allocations: 8.031 kB / 0.6491 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.1714, allocations: 84.12 kB / 0.6492 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.1715, allocations: 260.7 kB / 0.6495 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.1716, allocations: 150.9 kB / 0.6496 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.1716, allocations: 154.5 kB / 0.6498 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.042e-05/0.1717, allocations: 101 kB / 0.6499 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.1717, allocations: 75.28 kB / 0.6499 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.1718, allocations: 154.6 kB / 0.6501 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.1718, allocations: 150.6 kB / 0.6502 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/0.1719, allocations: 158.6 kB / 0.6504 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.1722, allocations: 465.9 kB / 0.6508 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.1722, allocations: 173.1 kB / 0.651 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.1723, allocations: 80.14 kB / 0.6511 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.1723, allocations: 75.28 kB / 0.6511 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.1724, allocations: 109.8 kB / 0.6512 GB, free: 11.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1724, allocations: 0 / 0.6512 GB, free: 11.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 8.298e-05/0.1725, allocations: 41.53 kB / 0.6513 GB, free: 11.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.1725, allocations: 130.7 kB / 0.6514 GB, free: 11.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1727, allocations: 135 kB / 0.6515 GB, free: 10.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.1727, allocations: 25.7 kB / 0.6515 GB, free: 10.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.1727, allocations: 88.14 kB / 0.6516 GB, free: 10.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-06/0.1727, allocations: 0 / 0.6516 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.1728, allocations: 25.7 kB / 0.6517 GB, free: 10.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1729, allocations: 314.8 kB / 0.652 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.1729, allocations: 4 kB / 0.652 GB, free: 10.47 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.1729, allocations: 19.92 kB / 0.652 GB, free: 10.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.173, allocations: 8.859 kB / 0.652 GB, free: 10.44 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.173, allocations: 3.938 kB / 0.652 GB, free: 10.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001206/0.1731, allocations: 57.55 kB / 0.652 GB, free: 10.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1731, allocations: 4 kB / 0.6521 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.1732, allocations: 4 kB / 0.6521 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1732, allocations: 0 / 0.6521 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-06/0.1732, allocations: 3.984 kB / 0.6521 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1732, allocations: 0 / 0.6521 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.1732, allocations: 15.97 kB / 0.6521 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1732, allocations: 4 kB / 0.6521 GB, free: 10.34 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 0.0001006/0.1734, allocations: 187.2 kB / 0.6523 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.1734, allocations: 105 kB / 0.6524 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.1735, allocations: 112.8 kB / 0.6525 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.784e-05/0.1735, allocations: 184.2 kB / 0.6526 GB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.155e-05/0.1736, allocations: 184.3 kB / 0.6528 GB, free: 9.547 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.446e-05/0.1736, allocations: 180.3 kB / 0.653 GB, free: 9.363 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.1739, allocations: 413.2 kB / 0.6534 GB, free: 8.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.53e-05/0.1739, allocations: 104.9 kB / 0.6535 GB, free: 8.793 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.174, allocations: 113 kB / 0.6536 GB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.378e-05/0.174, allocations: 180.2 kB / 0.6538 GB, free: 8.492 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/0.1741, allocations: 180.3 kB / 0.6539 GB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-05/0.1741, allocations: 176.3 kB / 0.6541 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.644e-05/0.1742, allocations: 184.2 kB / 0.6543 GB, free: 7.941 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.1746, allocations: 0.8725 MB / 0.6551 GB, free: 7.004 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.1747, allocations: 186 kB / 0.6553 GB, free: 6.797 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.1747, allocations: 184.3 kB / 0.6555 GB, free: 6.609 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.1748, allocations: 105 kB / 0.6556 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.1749, allocations: 184.1 kB / 0.6558 GB, free: 6.312 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.1749, allocations: 101 kB / 0.6559 GB, free: 6.207 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.678e-05/0.175, allocations: 112.4 kB / 0.656 GB, free: 6.098 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.175, allocations: 0 / 0.656 GB, free: 6.098 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007738/0.1758, allocations: 283.8 kB / 0.6562 GB, free: 5.82 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.001033/0.1768, allocations: 0.5276 MB / 0.6567 GB, free: 5.281 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.1769, allocations: 53.56 kB / 0.6568 GB, free: 5.223 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1769, allocations: 0 / 0.6568 GB, free: 5.223 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.664e-06/0.1769, allocations: 0 / 0.6568 GB, free: 5.223 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.1774, allocations: 0.5263 MB / 0.6573 GB, free: 4.691 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.1777, allocations: 247.3 kB / 0.6575 GB, free: 4.426 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.1779, allocations: 0.6848 MB / 0.6582 GB, free: 3.715 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.337e-05/0.1779, allocations: 4 kB / 0.6582 GB, free: 3.711 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.056e-05/0.1779, allocations: 7.438 kB / 0.6582 GB, free: 3.703 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1779, allocations: 4 kB / 0.6582 GB, free: 3.699 MB / 458.7 MB Notification: Performance of Templates: time 0.008722/0.1867, allocations: 5.66 MB / 0.6638 GB, free: 14.08 MB / 474.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)