Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001821/0.001821, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00196/0.00196, allocations: 196.3 kB / 16.14 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002467/0.002467, allocations: 286.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 94.3 kB / 0.6058 GB, free: 25.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1464, allocations: 89.16 MB / 0.6928 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002541/0.149, allocations: 1.485 MB / 0.6943 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004384/0.1534, allocations: 2.975 MB / 0.6972 GB, free: 316 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.1534, allocations: 0 / 0.6972 GB, free: 316 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.1534, allocations: 3.938 kB / 0.6972 GB, free: 312 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.1535, allocations: 15.84 kB / 0.6972 GB, free: 296 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.1566, allocations: 1.359 MB / 0.6986 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.796e-05/0.1567, allocations: 43.67 kB / 0.6986 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.077e-05/0.1567, allocations: 8.281 kB / 0.6986 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.202e-05/0.1567, allocations: 11.94 kB / 0.6986 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.906e-05/0.1568, allocations: 23.91 kB / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.1568, allocations: 0 / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.1588, allocations: 1.427 MB / 0.7 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.1588, allocations: 3.938 kB / 0.7 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.1588, allocations: 19.88 kB / 0.7001 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.1602, allocations: 1.103 MB / 0.7011 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1603, allocations: 0 / 0.7011 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.41e-07/0.1603, allocations: 0 / 0.7011 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1603, allocations: 4 kB / 0.7011 GB, free: 12.3 MB / 0.4981 GB 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.0006038/0.1609, allocations: 0.5107 MB / 0.7016 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1609, allocations: 12.03 kB / 0.7016 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.161, allocations: 76.22 kB / 0.7017 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.1612, allocations: 257.3 kB / 0.702 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.305e-05/0.1613, allocations: 150.9 kB / 0.7021 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.1613, allocations: 166.9 kB / 0.7023 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.589e-05/0.1614, allocations: 113 kB / 0.7024 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.1615, allocations: 75.28 kB / 0.7024 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.1615, allocations: 154.5 kB / 0.7026 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.88e-05/0.1616, allocations: 150.6 kB / 0.7027 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.1617, allocations: 150.6 kB / 0.7029 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.162, allocations: 465.9 kB / 0.7033 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1621, allocations: 169.1 kB / 0.7035 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.1622, allocations: 88.14 kB / 0.7036 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.1622, allocations: 75.28 kB / 0.7036 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.1622, allocations: 113.8 kB / 0.7037 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.1623, allocations: 0 / 0.7037 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.335e-05/0.1623, allocations: 33.75 kB / 0.7038 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.1624, allocations: 130.6 kB / 0.7039 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.1625, allocations: 132.5 kB / 0.704 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1626, allocations: 29.7 kB / 0.7041 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.1626, allocations: 92.12 kB / 0.7041 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.1626, allocations: 4 kB / 0.7042 GB, free: 9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1627, allocations: 21.66 kB / 0.7042 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1628, allocations: 314.8 kB / 0.7045 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.1629, allocations: 4 kB / 0.7045 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/0.1629, allocations: 8 kB / 0.7045 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.1629, allocations: 8.859 kB / 0.7045 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1629, allocations: 0 / 0.7045 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001237/0.1631, allocations: 53.62 kB / 0.7045 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1631, allocations: 4 kB / 0.7045 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.1631, allocations: 8.062 kB / 0.7046 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1631, allocations: 0 / 0.7046 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1631, allocations: 0 / 0.7046 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1631, allocations: 0 / 0.7046 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/0.1632, allocations: 11.78 kB / 0.7046 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1632, allocations: 3.984 kB / 0.7046 GB, free: 8.547 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 0.0001119/0.1633, allocations: 185.1 kB / 0.7047 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.1634, allocations: 112.9 kB / 0.7049 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.173e-05/0.1634, allocations: 112.9 kB / 0.705 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.208e-05/0.1635, allocations: 180.2 kB / 0.7051 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.222e-05/0.1636, allocations: 180.4 kB / 0.7053 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-05/0.1637, allocations: 184.2 kB / 0.7055 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.164, allocations: 413.2 kB / 0.7059 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.672e-05/0.164, allocations: 112.9 kB / 0.706 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.1641, allocations: 104.9 kB / 0.7061 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-05/0.1642, allocations: 176.3 kB / 0.7063 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/0.1642, allocations: 180.2 kB / 0.7064 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.053e-05/0.1643, allocations: 184.2 kB / 0.7066 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.971e-05/0.1644, allocations: 180.3 kB / 0.7068 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.1646, allocations: 311.6 kB / 0.7071 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1647, allocations: 201.9 kB / 0.7073 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/0.1648, allocations: 184.3 kB / 0.7074 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.1649, allocations: 101 kB / 0.7075 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/0.165, allocations: 192.2 kB / 0.7077 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.165, allocations: 105 kB / 0.7078 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.403e-05/0.1651, allocations: 99.25 kB / 0.7079 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1651, allocations: 0 / 0.7079 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006654/0.1658, allocations: 275.8 kB / 0.7082 GB, free: 4.629 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.001037/0.1668, allocations: 0.5215 MB / 0.7087 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.305e-05/0.1669, allocations: 41.62 kB / 0.7087 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1669, allocations: 0 / 0.7087 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.1669, allocations: 0 / 0.7087 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.1674, allocations: 0.5306 MB / 0.7092 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.1677, allocations: 245.9 kB / 0.7095 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.168, allocations: 0.6809 MB / 0.7101 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.156e-05/0.1681, allocations: 0 / 0.7101 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.108e-05/0.1681, allocations: 7.438 kB / 0.7101 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1681, allocations: 4 kB / 0.7101 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of Templates: time 0.009675/0.1778, allocations: 5.496 MB / 0.7155 GB, free: 13.09 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)