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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 103.4 kB / 16.4 MB, free: 6.02 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.001023/0.001023, allocations: 195.4 kB / 17.34 MB, free: 5.605 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8134/0.8135, allocations: 126.1 MB / 417.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 68.11 kB / 0.5731 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1778, allocations: 78.71 MB / 0.65 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003257/0.1811, allocations: 1.419 MB / 0.6514 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.1862, allocations: 2.909 MB / 0.6542 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.1863, allocations: 0 / 0.6542 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.1863, allocations: 3.938 kB / 0.6542 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.648e-05/0.1865, allocations: 15.86 kB / 0.6543 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004919/0.1914, allocations: 1.595 MB / 0.6558 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1915, allocations: 39.69 kB / 0.6559 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.1916, allocations: 7.984 kB / 0.6559 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.231e-05/0.1916, allocations: 11.94 kB / 0.6559 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.305e-05/0.1917, allocations: 15.88 kB / 0.6559 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1917, allocations: 0 / 0.6559 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.1944, allocations: 1.544 MB / 0.6574 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.1945, allocations: 4 kB / 0.6574 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.1945, allocations: 19.88 kB / 0.6574 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.197, allocations: 1.122 MB / 0.6585 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.197, allocations: 0 / 0.6585 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.197, allocations: 0 / 0.6585 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.197, allocations: 0 / 0.6585 GB, free: 11.38 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.0008678/0.1979, allocations: 0.5286 MB / 0.659 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1979, allocations: 8.031 kB / 0.659 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.198, allocations: 92.09 kB / 0.6591 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1982, allocations: 251.6 kB / 0.6594 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/0.1983, allocations: 154.7 kB / 0.6595 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.1983, allocations: 150.6 kB / 0.6597 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/0.1984, allocations: 101 kB / 0.6598 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.1985, allocations: 79.27 kB / 0.6598 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.597e-05/0.1985, allocations: 158.5 kB / 0.66 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.472e-05/0.1986, allocations: 154.6 kB / 0.6601 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.172e-05/0.1987, allocations: 150.6 kB / 0.6603 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.199, allocations: 461.9 kB / 0.6607 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.195e-05/0.1991, allocations: 173.1 kB / 0.6609 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.1991, allocations: 88.12 kB / 0.661 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1992, allocations: 79.22 kB / 0.661 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.1992, allocations: 109.8 kB / 0.6611 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.1992, allocations: 0 / 0.6611 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.444e-05/0.1993, allocations: 29.66 kB / 0.6612 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.1994, allocations: 126.7 kB / 0.6613 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.1996, allocations: 139.4 kB / 0.6614 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1996, allocations: 25.7 kB / 0.6614 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.1997, allocations: 100.1 kB / 0.6615 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.1997, allocations: 0 / 0.6615 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.1997, allocations: 13.72 kB / 0.6616 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1998, allocations: 318.8 kB / 0.6619 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.1999, allocations: 4.047 kB / 0.6619 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.1999, allocations: 12 kB / 0.6619 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.1999, allocations: 28.83 kB / 0.6619 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2, allocations: 0 / 0.6619 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001434/0.2001, allocations: 45.66 kB / 0.6619 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2001, allocations: 18.58 kB / 0.662 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.2002, allocations: 3.984 kB / 0.662 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2002, allocations: 4 kB / 0.662 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.2002, allocations: 0 / 0.662 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2002, allocations: 0 / 0.662 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.665e-05/0.2002, allocations: 3.953 kB / 0.662 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.2002, allocations: 4 kB / 0.662 GB, free: 7.598 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.0001222/0.2004, allocations: 197.1 kB / 0.6622 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.2004, allocations: 112.9 kB / 0.6623 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.2005, allocations: 108.8 kB / 0.6624 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.149e-05/0.2006, allocations: 180.2 kB / 0.6626 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.268e-05/0.2006, allocations: 184.3 kB / 0.6627 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.367e-05/0.2007, allocations: 180.3 kB / 0.6629 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.201, allocations: 421.1 kB / 0.6633 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-05/0.201, allocations: 101 kB / 0.6634 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.2011, allocations: 104.9 kB / 0.6635 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.411e-05/0.2011, allocations: 180.3 kB / 0.6637 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/0.2012, allocations: 176.3 kB / 0.6638 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-05/0.2013, allocations: 188.2 kB / 0.664 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.871e-05/0.2014, allocations: 180.2 kB / 0.6642 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.2015, allocations: 311.7 kB / 0.6645 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.153e-05/0.2016, allocations: 190 kB / 0.6647 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-05/0.2017, allocations: 188.2 kB / 0.6648 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.2018, allocations: 105 kB / 0.6649 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.2019, allocations: 184.2 kB / 0.6651 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.2019, allocations: 105 kB / 0.6652 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.05e-05/0.202, allocations: 95.27 kB / 0.6653 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.2e-07/0.202, allocations: 0 / 0.6653 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009496/0.203, allocations: 291 kB / 0.6656 GB, free: 3.672 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.001416/0.2044, allocations: 0.5401 MB / 0.6661 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.2045, allocations: 41.64 kB / 0.6662 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2045, allocations: 0 / 0.6662 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.2045, allocations: 64 / 0.6662 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.205, allocations: 467.6 kB / 0.6666 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.2054, allocations: 239.8 kB / 0.6668 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.2057, allocations: 0.6846 MB / 0.6675 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.691e-05/0.2057, allocations: 0 / 0.6675 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.2057, allocations: 11.44 kB / 0.6675 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.2057, allocations: 0 / 0.6675 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of Templates: time 0.01069/0.2164, allocations: 5.636 MB / 0.673 GB, free: 12.04 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)