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.001415/0.001415, allocations: 100.1 kB / 15.88 MB, free: 12 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.00177/0.001771, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.423/1.423, allocations: 222.9 MB / 240.5 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7462/0.7462, allocations: 122.9 MB / 413.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 68.25 kB / 0.4905 GB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1457, allocations: 77.94 MB / 0.5666 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00237/0.1481, allocations: 1.475 MB / 0.568 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.1522, allocations: 2.962 MB / 0.5709 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.1523, allocations: 0 / 0.5709 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.1523, allocations: 3.984 kB / 0.5709 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.1524, allocations: 15.86 kB / 0.5709 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.156, allocations: 1.373 MB / 0.5723 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.1561, allocations: 39.8 kB / 0.5723 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.1561, allocations: 3.938 kB / 0.5723 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.852e-05/0.1562, allocations: 12 kB / 0.5723 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.365e-05/0.1562, allocations: 23.81 kB / 0.5723 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1562, allocations: 0 / 0.5723 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.1584, allocations: 1.435 MB / 0.5737 GB, free: 9.391 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.1584, allocations: 0 / 0.5737 GB, free: 9.391 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.1584, allocations: 19.88 kB / 0.5738 GB, free: 9.371 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.1602, allocations: 1.103 MB / 0.5748 GB, free: 8.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1602, allocations: 0 / 0.5748 GB, free: 8.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1602, allocations: 0 / 0.5748 GB, free: 8.266 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1602, allocations: 4 kB / 0.5748 GB, free: 8.262 MB / 446.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.0006667/0.1609, allocations: 0.5146 MB / 0.5753 GB, free: 7.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1609, allocations: 8.031 kB / 0.5754 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.161, allocations: 80.12 kB / 0.5754 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.1612, allocations: 257.5 kB / 0.5757 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/0.1612, allocations: 150.9 kB / 0.5758 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.1613, allocations: 150.9 kB / 0.576 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.699e-05/0.1614, allocations: 113 kB / 0.5761 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.1614, allocations: 75.28 kB / 0.5761 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.1614, allocations: 150.6 kB / 0.5763 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.1615, allocations: 150.6 kB / 0.5764 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.495e-05/0.1615, allocations: 158.6 kB / 0.5766 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.1618, allocations: 461.9 kB / 0.577 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.601e-05/0.1619, allocations: 173.1 kB / 0.5772 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.1619, allocations: 88.12 kB / 0.5773 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.162, allocations: 75.28 kB / 0.5773 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.162, allocations: 113.8 kB / 0.5775 GB, free: 5.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.162, allocations: 0 / 0.5775 GB, free: 5.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.912e-05/0.1621, allocations: 33.61 kB / 0.5775 GB, free: 5.379 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.1622, allocations: 130.6 kB / 0.5776 GB, free: 5.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1623, allocations: 128.5 kB / 0.5777 GB, free: 5.105 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1623, allocations: 29.7 kB / 0.5778 GB, free: 5.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.1624, allocations: 88.14 kB / 0.5778 GB, free: 4.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.1624, allocations: 0 / 0.5778 GB, free: 4.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.1624, allocations: 25.7 kB / 0.5779 GB, free: 4.949 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.1625, allocations: 310.8 kB / 0.5782 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.1626, allocations: 4 kB / 0.5782 GB, free: 4.633 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.1626, allocations: 11.98 kB / 0.5782 GB, free: 4.621 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.1626, allocations: 8.953 kB / 0.5782 GB, free: 4.609 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1627, allocations: 0 / 0.5782 GB, free: 4.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001246/0.1628, allocations: 57.53 kB / 0.5782 GB, free: 4.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1628, allocations: 4 kB / 0.5782 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.1628, allocations: 11.92 kB / 0.5783 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1628, allocations: 4.062 kB / 0.5783 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.1629, allocations: 3.938 kB / 0.5783 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1629, allocations: 3.984 kB / 0.5783 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.1629, allocations: 0 / 0.5783 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1629, allocations: 7.938 kB / 0.5783 GB, free: 4.512 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 8.799e-05/0.163, allocations: 185.1 kB / 0.5785 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.1631, allocations: 112.8 kB / 0.5786 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.1631, allocations: 120.8 kB / 0.5787 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.193e-05/0.1632, allocations: 184.3 kB / 0.5789 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.821e-05/0.1632, allocations: 176.3 kB / 0.579 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.995e-05/0.1633, allocations: 180.2 kB / 0.5792 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.1635, allocations: 413.2 kB / 0.5796 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.272e-05/0.1635, allocations: 112.8 kB / 0.5797 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.1636, allocations: 105 kB / 0.5798 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.369e-05/0.1636, allocations: 176.3 kB / 0.58 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.1637, allocations: 184.2 kB / 0.5801 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.013e-05/0.1637, allocations: 176.3 kB / 0.5803 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.312e-05/0.1638, allocations: 184.2 kB / 0.5805 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.1639, allocations: 303.8 kB / 0.5808 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.837e-05/0.164, allocations: 193.9 kB / 0.581 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.1641, allocations: 180.3 kB / 0.5811 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.1641, allocations: 112.9 kB / 0.5812 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.1642, allocations: 184.3 kB / 0.5814 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.1642, allocations: 105 kB / 0.5815 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.519e-05/0.1643, allocations: 95.27 kB / 0.5816 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1643, allocations: 3.938 kB / 0.5816 GB, free: 0.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007605/0.1651, allocations: 287.8 kB / 0.5819 GB, free: 0.5938 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.001178/0.1663, allocations: 0.5247 MB / 0.5824 GB, free: 64 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.746e-05/0.1664, allocations: 41.7 kB / 0.5824 GB, free: 16 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1664, allocations: 0 / 0.5824 GB, free: 16 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/0.1664, allocations: 0 / 0.5824 GB, free: 16 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2361/0.4025, allocations: 0.5229 MB / 0.5829 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.4028, allocations: 240 kB / 0.5832 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.403, allocations: 0.6839 MB / 0.5838 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.821e-05/0.403, allocations: 6.578 kB / 0.5838 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.403, allocations: 9.312 kB / 0.5839 GB, free: 22.59 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.403, allocations: 0 / 0.5839 GB, free: 22.59 MB / 446.1 MB Notification: Performance of Templates: time 0.01151/0.4145, allocations: 5.478 MB / 0.5892 GB, free: 22.3 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)