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.0008557/0.0008557, allocations: 88.17 kB / 15.7 MB, free: 460 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.000925/0.0009251, allocations: 172.4 kB / 16.58 MB, free: 6.852 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.442/1.442, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7264/0.7264, allocations: 115.5 MB / 407.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 16 kB / 495.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1758, allocations: 77.52 MB / 0.5594 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001747/0.1776, allocations: 1.141 MB / 0.5605 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005156/0.1828, allocations: 2.653 MB / 0.5631 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.1829, allocations: 0 / 0.5631 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.183, allocations: 3.984 kB / 0.5631 GB, free: 5.527 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.1831, allocations: 15.86 kB / 0.5631 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00485/0.1879, allocations: 1.26 MB / 0.5643 GB, free: 4.277 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.1881, allocations: 39.73 kB / 0.5644 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.702e-05/0.1881, allocations: 7.984 kB / 0.5644 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.621e-05/0.1882, allocations: 11.94 kB / 0.5644 GB, free: 4.219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.1882, allocations: 19.88 kB / 0.5644 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1883, allocations: 0 / 0.5644 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.191, allocations: 1.244 MB / 0.5656 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.1911, allocations: 11.98 kB / 0.5656 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.1912, allocations: 29.7 kB / 0.5657 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.1926, allocations: 0.7215 MB / 0.5664 GB, free: 2.184 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1926, allocations: 0 / 0.5664 GB, free: 2.184 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1927, allocations: 0 / 0.5664 GB, free: 2.184 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1927, allocations: 0 / 0.5664 GB, free: 2.184 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.0008457/0.1935, allocations: 0.5184 MB / 0.5669 GB, free: 1.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1936, allocations: 12.03 kB / 0.5669 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.1936, allocations: 79.19 kB / 0.567 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.1938, allocations: 242.3 kB / 0.5672 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.436e-05/0.1939, allocations: 158.5 kB / 0.5674 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.194, allocations: 154.6 kB / 0.5675 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.324e-05/0.194, allocations: 101 kB / 0.5676 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.1941, allocations: 75.28 kB / 0.5677 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.1941, allocations: 154.5 kB / 0.5678 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.1942, allocations: 154.6 kB / 0.568 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.1942, allocations: 154.6 kB / 0.5681 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.1946, allocations: 465.8 kB / 0.5686 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.712e-05/0.1947, allocations: 177.1 kB / 0.5687 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/0.1947, allocations: 80.14 kB / 0.5688 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1948, allocations: 83.22 kB / 0.5689 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.1948, allocations: 105.8 kB / 0.569 GB, free: 15.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/0.1948, allocations: 0 / 0.569 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.366e-05/0.1949, allocations: 29.7 kB / 0.569 GB, free: 15.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.195, allocations: 134.6 kB / 0.5691 GB, free: 15.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1951, allocations: 140 kB / 0.5693 GB, free: 15.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.1952, allocations: 29.7 kB / 0.5693 GB, free: 14.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.1952, allocations: 96.12 kB / 0.5694 GB, free: 14.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.1952, allocations: 0 / 0.5694 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.1952, allocations: 0 / 0.5694 GB, free: 14.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1954, allocations: 314.8 kB / 0.5697 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.1954, allocations: 8 kB / 0.5697 GB, free: 14.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.1954, allocations: 7.938 kB / 0.5697 GB, free: 14.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/0.1955, allocations: 8 kB / 0.5697 GB, free: 14.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1955, allocations: 0 / 0.5697 GB, free: 14.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001469/0.1956, allocations: 61.66 kB / 0.5698 GB, free: 14.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1956, allocations: 7.984 kB / 0.5698 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/0.1957, allocations: 7.938 kB / 0.5698 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1957, allocations: 0 / 0.5698 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.1957, allocations: 0 / 0.5698 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1957, allocations: 0 / 0.5698 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.1957, allocations: 4 kB / 0.5698 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1957, allocations: 0 / 0.5698 GB, free: 14.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.1959, allocations: 181.1 kB / 0.57 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.1959, allocations: 120.8 kB / 0.5701 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.196, allocations: 120.6 kB / 0.5702 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-05/0.1961, allocations: 176.3 kB / 0.5704 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.277e-05/0.1961, allocations: 180.2 kB / 0.5705 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.965e-05/0.1962, allocations: 176.3 kB / 0.5707 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.1964, allocations: 425.1 kB / 0.5711 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-05/0.1965, allocations: 101 kB / 0.5712 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.1965, allocations: 108.9 kB / 0.5713 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-05/0.1966, allocations: 180.3 kB / 0.5715 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.1966, allocations: 180.2 kB / 0.5716 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.58e-05/0.1967, allocations: 180.2 kB / 0.5718 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.536e-05/0.1968, allocations: 188.2 kB / 0.572 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.1969, allocations: 304 kB / 0.5723 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.197, allocations: 182 kB / 0.5725 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/0.1971, allocations: 196.2 kB / 0.5727 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.1972, allocations: 108.9 kB / 0.5728 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.1973, allocations: 180.2 kB / 0.5729 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.1973, allocations: 101 kB / 0.573 GB, free: 10.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.568e-05/0.1974, allocations: 105.1 kB / 0.5731 GB, free: 10.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1974, allocations: 0 / 0.5731 GB, free: 10.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008875/0.1983, allocations: 279.8 kB / 0.5734 GB, free: 10.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/0.1995, allocations: 0.5027 MB / 0.5739 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.1996, allocations: 41.7 kB / 0.5739 GB, free: 9.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1996, allocations: 0 / 0.5739 GB, free: 9.988 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.864e-06/0.1996, allocations: 7.922 kB / 0.5739 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.2001, allocations: 0.5231 MB / 0.5744 GB, free: 9.453 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.2004, allocations: 259.9 kB / 0.5747 GB, free: 9.176 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.2007, allocations: 0.6887 MB / 0.5754 GB, free: 8.461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.866e-05/0.2007, allocations: 3.938 kB / 0.5754 GB, free: 8.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.2008, allocations: 7.438 kB / 0.5754 GB, free: 8.449 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2008, allocations: 4 kB / 0.5754 GB, free: 8.445 MB / 446.1 MB Notification: Performance of Templates: time 0.0112/0.212, allocations: 5.607 MB / 0.5809 GB, free: 2.887 MB / 446.1 MB 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)