Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 100.4 kB / 16.4 MB, free: 6.508 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.001622/0.001622, allocations: 192 kB / 17.34 MB, free: 5.738 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7986/0.7986, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.42 kB / 0.5686 GB, free: 28.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1615, allocations: 77.94 MB / 0.6447 GB, free: 8.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002408/0.164, allocations: 1.41 MB / 0.6461 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00403/0.168, allocations: 2.857 MB / 0.6488 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.1681, allocations: 0 / 0.6488 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.1681, allocations: 7.922 kB / 0.6489 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.1682, allocations: 11.86 kB / 0.6489 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00382/0.172, allocations: 1.577 MB / 0.6504 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.1721, allocations: 43.73 kB / 0.6504 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.1722, allocations: 3.938 kB / 0.6505 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.042e-05/0.1722, allocations: 11.94 kB / 0.6505 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.139e-05/0.1723, allocations: 19.86 kB / 0.6505 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1723, allocations: 0 / 0.6505 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.1746, allocations: 1.482 MB / 0.6519 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.1746, allocations: 11.91 kB / 0.6519 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.1746, allocations: 19.88 kB / 0.652 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.1763, allocations: 1.083 MB / 0.653 GB, free: 396 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1763, allocations: 0 / 0.653 GB, free: 396 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1763, allocations: 0 / 0.653 GB, free: 396 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1764, allocations: 4 kB / 0.653 GB, free: 392 kB / 494.1 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.0007836/0.1771, allocations: 0.5324 MB / 0.6535 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1772, allocations: 8.625 kB / 0.6535 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.1773, allocations: 84.17 kB / 0.6536 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.1774, allocations: 251.5 kB / 0.6539 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/0.1775, allocations: 154.9 kB / 0.654 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.1776, allocations: 150.9 kB / 0.6542 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.189e-05/0.1776, allocations: 105.1 kB / 0.6543 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.1777, allocations: 79.28 kB / 0.6543 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.812e-05/0.1777, allocations: 154.5 kB / 0.6545 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.1778, allocations: 154.6 kB / 0.6546 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.763e-05/0.1778, allocations: 154.6 kB / 0.6548 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.1781, allocations: 461.9 kB / 0.6552 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.238e-05/0.1782, allocations: 169.1 kB / 0.6554 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.1783, allocations: 80.14 kB / 0.6555 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.1783, allocations: 83.22 kB / 0.6555 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.1784, allocations: 109.8 kB / 0.6556 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1784, allocations: 4 kB / 0.6556 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.634e-05/0.1785, allocations: 29.66 kB / 0.6557 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.1785, allocations: 126.7 kB / 0.6558 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1787, allocations: 131.9 kB / 0.6559 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1787, allocations: 29.7 kB / 0.6559 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.1787, allocations: 96.12 kB / 0.656 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.1787, allocations: 0 / 0.656 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.1788, allocations: 13.72 kB / 0.6561 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1789, allocations: 318.8 kB / 0.6564 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.1789, allocations: 4 kB / 0.6564 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.77e-05/0.1789, allocations: 11.86 kB / 0.6564 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.179, allocations: 20.89 kB / 0.6564 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.179, allocations: 0 / 0.6564 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.1791, allocations: 49.62 kB / 0.6564 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1791, allocations: 4 kB / 0.6564 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.1792, allocations: 7.984 kB / 0.6565 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1792, allocations: 0 / 0.6565 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1792, allocations: 3.938 kB / 0.6565 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1792, allocations: 0 / 0.6565 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.1792, allocations: 4 kB / 0.6565 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1792, allocations: 0 / 0.6565 GB, free: 12.62 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 (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 8.711e-05/0.1793, allocations: 189.2 kB / 0.6566 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.1794, allocations: 120.9 kB / 0.6568 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.1795, allocations: 112.8 kB / 0.6569 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.243e-05/0.1795, allocations: 180.2 kB / 0.657 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-05/0.1796, allocations: 180.3 kB / 0.6572 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.123e-05/0.1797, allocations: 176.3 kB / 0.6574 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1799, allocations: 421.2 kB / 0.6578 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-05/0.1799, allocations: 108.9 kB / 0.6579 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.18, allocations: 104.9 kB / 0.658 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.284e-05/0.18, allocations: 184.3 kB / 0.6582 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/0.1801, allocations: 176.3 kB / 0.6583 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.039e-05/0.1802, allocations: 180.2 kB / 0.6585 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.033e-05/0.1802, allocations: 184.3 kB / 0.6587 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.1804, allocations: 311.7 kB / 0.659 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.1805, allocations: 186 kB / 0.6591 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.1805, allocations: 184.2 kB / 0.6593 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.1806, allocations: 109 kB / 0.6594 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.1807, allocations: 180.2 kB / 0.6596 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.1807, allocations: 101 kB / 0.6597 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.818e-05/0.1808, allocations: 101.1 kB / 0.6598 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1808, allocations: 4 kB / 0.6598 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008351/0.1817, allocations: 283 kB / 0.6601 GB, free: 8.703 MB / 0.4981 GB 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.001275/0.1829, allocations: 0.5238 MB / 0.6606 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.932e-05/0.183, allocations: 41.64 kB / 0.6606 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1831, allocations: 0 / 0.6606 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.1831, allocations: 0 / 0.6606 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.1835, allocations: 475.7 kB / 0.6611 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.1838, allocations: 240 kB / 0.6613 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1841, allocations: 0.6846 MB / 0.662 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.674e-05/0.1841, allocations: 0 / 0.662 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.1842, allocations: 7.438 kB / 0.662 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1842, allocations: 0 / 0.662 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of Templates: time 0.009087/0.1933, allocations: 5.463 MB / 0.6673 GB, free: 1.262 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)