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.0008362/0.0008364, allocations: 93.34 kB / 16.02 MB, free: 84 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.0009176/0.0009177, allocations: 184.4 kB / 16.92 MB, free: 6.684 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6792/0.6792, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 8.906 kB / 495.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1624, allocations: 77.53 MB / 0.56 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001423/0.1639, allocations: 1.142 MB / 0.5611 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004079/0.168, allocations: 2.897 MB / 0.564 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.168, allocations: 4 kB / 0.564 GB, free: 4.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.1681, allocations: 0 / 0.564 GB, free: 4.848 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.93e-05/0.1681, allocations: 19.84 kB / 0.564 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.1712, allocations: 1.355 MB / 0.5653 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.447e-05/0.1713, allocations: 39.75 kB / 0.5653 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.1714, allocations: 15.84 kB / 0.5654 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.69e-05/0.1714, allocations: 8 kB / 0.5654 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.375e-05/0.1714, allocations: 15.88 kB / 0.5654 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1714, allocations: 4 kB / 0.5654 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.1734, allocations: 1.427 MB / 0.5668 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.1734, allocations: 7.922 kB / 0.5668 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.1735, allocations: 45.56 kB / 0.5668 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.1748, allocations: 1.1 MB / 0.5679 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1748, allocations: 0 / 0.5679 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1748, allocations: 0 / 0.5679 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1748, allocations: 0 / 0.5679 GB, free: 0.8281 MB / 430.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.0005562/0.1754, allocations: 0.5069 MB / 0.5684 GB, free: 280 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1754, allocations: 8.031 kB / 0.5684 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.1755, allocations: 84.12 kB / 0.5685 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1757, allocations: 259.4 kB / 0.5687 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.1757, allocations: 150.9 kB / 0.5689 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.1758, allocations: 150.9 kB / 0.569 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.968e-05/0.1758, allocations: 105.1 kB / 0.5691 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.1759, allocations: 79.28 kB / 0.5692 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.1759, allocations: 150.6 kB / 0.5693 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.747e-05/0.176, allocations: 150.6 kB / 0.5695 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.241e-05/0.176, allocations: 154.6 kB / 0.5696 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.1763, allocations: 465.9 kB / 0.5701 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.409e-05/0.1764, allocations: 173.1 kB / 0.5702 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.1764, allocations: 84.12 kB / 0.5703 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.1765, allocations: 75.28 kB / 0.5704 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.1765, allocations: 109.8 kB / 0.5705 GB, free: 14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1765, allocations: 4 kB / 0.5705 GB, free: 13.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.848e-05/0.1766, allocations: 37.55 kB / 0.5705 GB, free: 13.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.1767, allocations: 126.7 kB / 0.5707 GB, free: 13.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1768, allocations: 132 kB / 0.5708 GB, free: 13.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.1768, allocations: 25.7 kB / 0.5708 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.1769, allocations: 88.14 kB / 0.5709 GB, free: 13.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-06/0.1769, allocations: 0 / 0.5709 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.1769, allocations: 13.7 kB / 0.5709 GB, free: 13.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.177, allocations: 322.8 kB / 0.5712 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.177, allocations: 4 kB / 0.5712 GB, free: 13.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.1771, allocations: 4 kB / 0.5712 GB, free: 13.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.1771, allocations: 16.84 kB / 0.5712 GB, free: 13.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1771, allocations: 0 / 0.5712 GB, free: 13.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001133/0.1772, allocations: 53.48 kB / 0.5713 GB, free: 13.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1772, allocations: 4 kB / 0.5713 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.1773, allocations: 7.938 kB / 0.5713 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1773, allocations: 0 / 0.5713 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.677e-06/0.1773, allocations: 3.984 kB / 0.5713 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1773, allocations: 8.047 kB / 0.5713 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.1773, allocations: 4 kB / 0.5713 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.1773, allocations: 7.938 kB / 0.5713 GB, free: 13.09 MB / 446.1 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.116e-05/0.1774, allocations: 181.1 kB / 0.5715 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.1775, allocations: 116.9 kB / 0.5716 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.1776, allocations: 116.8 kB / 0.5717 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.98e-05/0.1776, allocations: 188.4 kB / 0.5719 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.086e-05/0.1777, allocations: 184.2 kB / 0.5721 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.548e-05/0.1777, allocations: 176.3 kB / 0.5722 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.178, allocations: 413.2 kB / 0.5726 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/0.178, allocations: 108.9 kB / 0.5727 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.178, allocations: 105 kB / 0.5728 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.402e-05/0.1781, allocations: 188.2 kB / 0.573 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.1782, allocations: 176.3 kB / 0.5732 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.477e-05/0.1782, allocations: 176.3 kB / 0.5734 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.732e-05/0.1783, allocations: 184.2 kB / 0.5735 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.1784, allocations: 315.7 kB / 0.5738 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.1785, allocations: 182 kB / 0.574 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.1786, allocations: 188.2 kB / 0.5742 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.1786, allocations: 109 kB / 0.5743 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.1787, allocations: 176.3 kB / 0.5745 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.1787, allocations: 104.9 kB / 0.5746 GB, free: 9.551 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.784e-05/0.1788, allocations: 101.8 kB / 0.5747 GB, free: 9.453 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1788, allocations: 0 / 0.5747 GB, free: 9.453 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006739/0.1795, allocations: 283.8 kB / 0.5749 GB, free: 9.176 MB / 446.1 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.0009641/0.1805, allocations: 0.5211 MB / 0.5754 GB, free: 8.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.849e-05/0.1806, allocations: 37.7 kB / 0.5755 GB, free: 8.605 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1806, allocations: 4.062 kB / 0.5755 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1806, allocations: 0 / 0.5755 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.181, allocations: 0.5347 MB / 0.576 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.1813, allocations: 259.6 kB / 0.5762 GB, free: 7.785 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.1815, allocations: 0.6848 MB / 0.5769 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.265e-05/0.1815, allocations: 4 kB / 0.5769 GB, free: 7.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.049e-05/0.1816, allocations: 7.438 kB / 0.5769 GB, free: 7.062 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1816, allocations: 0 / 0.5769 GB, free: 7.062 MB / 446.1 MB Notification: Performance of Templates: time 0.009039/0.1906, allocations: 5.466 MB / 0.5823 GB, free: 1.645 MB / 446.1 MB 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)