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.001473/0.001473, allocations: 110.5 kB / 16.38 MB, free: 6.473 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.001467/0.001467, allocations: 192.9 kB / 17.31 MB, free: 5.789 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002245/0.002245, allocations: 285.4 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9582/0.9582, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 107.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4948, allocations: 86.97 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002574/0.4975, allocations: 1.42 MB / 0.7685 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004222/0.5017, allocations: 2.854 MB / 0.7712 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.5018, allocations: 4 kB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.5018, allocations: 7.922 kB / 0.7713 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-05/0.5019, allocations: 11.86 kB / 0.7713 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003868/0.5058, allocations: 1.559 MB / 0.7728 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.427e-05/0.5059, allocations: 43.72 kB / 0.7728 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.506, allocations: 8 kB / 0.7728 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.506, allocations: 11.94 kB / 0.7729 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.019e-05/0.506, allocations: 15.92 kB / 0.7729 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.506, allocations: 4 kB / 0.7729 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.5082, allocations: 1.486 MB / 0.7743 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.5083, allocations: 11.98 kB / 0.7743 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.5083, allocations: 15.88 kB / 0.7743 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.5097, allocations: 1.067 MB / 0.7754 GB, free: 11.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5097, allocations: 4 kB / 0.7754 GB, free: 11.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5097, allocations: 4 kB / 0.7754 GB, free: 11.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.5097, allocations: 0 / 0.7754 GB, free: 11.44 MB / 0.545 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.0006013/0.5103, allocations: 0.5169 MB / 0.7759 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.5104, allocations: 8.031 kB / 0.7759 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.5105, allocations: 80.22 kB / 0.776 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.5106, allocations: 255.4 kB / 0.7762 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.998e-05/0.5107, allocations: 154.9 kB / 0.7764 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.929e-05/0.5108, allocations: 154.9 kB / 0.7765 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.067e-05/0.5108, allocations: 109.1 kB / 0.7766 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.5109, allocations: 79.28 kB / 0.7767 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.5109, allocations: 150.6 kB / 0.7768 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.511, allocations: 154.5 kB / 0.777 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/0.5111, allocations: 154.6 kB / 0.7771 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.5114, allocations: 465.9 kB / 0.7776 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.48e-05/0.5115, allocations: 165.1 kB / 0.7777 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.5115, allocations: 80.14 kB / 0.7778 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.5115, allocations: 75.28 kB / 0.7779 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.5116, allocations: 117.8 kB / 0.778 GB, free: 8.598 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 2.304e-06/0.5116, allocations: 0 / 0.778 GB, free: 8.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.556e-05/0.5117, allocations: 33.58 kB / 0.778 GB, free: 8.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.5117, allocations: 134.7 kB / 0.7782 GB, free: 8.414 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.5119, allocations: 132.7 kB / 0.7783 GB, free: 8.277 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.5119, allocations: 25.7 kB / 0.7783 GB, free: 8.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.512, allocations: 96.06 kB / 0.7784 GB, free: 8.148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.512, allocations: 4 kB / 0.7784 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.512, allocations: 17.72 kB / 0.7784 GB, free: 8.121 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5121, allocations: 314.8 kB / 0.7787 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/0.5122, allocations: 7.984 kB / 0.7787 GB, free: 7.797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/0.5122, allocations: 4.031 kB / 0.7787 GB, free: 7.793 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.193e-05/0.5122, allocations: 16.89 kB / 0.7788 GB, free: 7.773 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5122, allocations: 0 / 0.7788 GB, free: 7.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001226/0.5124, allocations: 53.48 kB / 0.7788 GB, free: 7.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5124, allocations: 16.05 kB / 0.7788 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.5124, allocations: 0 / 0.7788 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.5124, allocations: 0 / 0.7788 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-07/0.5124, allocations: 0 / 0.7788 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.5125, allocations: 4 kB / 0.7788 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.5125, allocations: 0 / 0.7788 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.5125, allocations: 0 / 0.7788 GB, free: 7.695 MB / 0.545 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.0001001/0.5126, allocations: 184.8 kB / 0.779 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.5127, allocations: 116.8 kB / 0.7791 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.5127, allocations: 120.8 kB / 0.7792 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-05/0.5128, allocations: 184.3 kB / 0.7794 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.048e-05/0.5129, allocations: 180.2 kB / 0.7796 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-05/0.5129, allocations: 176.3 kB / 0.7797 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.5132, allocations: 413.2 kB / 0.7801 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-05/0.5132, allocations: 112.9 kB / 0.7802 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.5132, allocations: 113 kB / 0.7804 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.858e-05/0.5133, allocations: 180.2 kB / 0.7805 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/0.5134, allocations: 176.3 kB / 0.7807 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.768e-05/0.5134, allocations: 176.3 kB / 0.7809 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-05/0.5135, allocations: 188.2 kB / 0.781 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.5136, allocations: 307.8 kB / 0.7813 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.5137, allocations: 185.9 kB / 0.7815 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.5138, allocations: 184.2 kB / 0.7817 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.5139, allocations: 108.9 kB / 0.7818 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.5139, allocations: 184.3 kB / 0.782 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.514, allocations: 104.9 kB / 0.7821 GB, free: 4.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.874e-05/0.514, allocations: 102.2 kB / 0.7822 GB, free: 4.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.514, allocations: 0 / 0.7822 GB, free: 4.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007092/0.5148, allocations: 275.8 kB / 0.7824 GB, free: 3.785 MB / 0.545 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.001046/0.5158, allocations: 0.5181 MB / 0.7829 GB, free: 3.258 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.5159, allocations: 37.7 kB / 0.783 GB, free: 3.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.516, allocations: 3.938 kB / 0.783 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-06/0.516, allocations: 3.938 kB / 0.783 GB, free: 3.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.5164, allocations: 472 kB / 0.7834 GB, free: 2.742 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.5168, allocations: 261.8 kB / 0.7837 GB, free: 2.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.517, allocations: 0.6807 MB / 0.7843 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.292e-05/0.5171, allocations: 11.44 kB / 0.7844 GB, free: 1.734 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.5171, allocations: 0 / 0.7844 GB, free: 1.734 MB / 0.545 GB Notification: Performance of Templates: time 0.008215/0.5253, allocations: 4.624 MB / 0.7889 GB, free: 13.11 MB / 0.5606 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)