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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000946/0.000946, allocations: 95.33 kB / 15.68 MB, free: 488 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.0009568/0.0009569, allocations: 177 kB / 16.57 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.43/1.43, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.672/0.672, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003342, allocations: 8 kB / 493.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1834, allocations: 77.15 MB / 0.5569 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00149/0.185, allocations: 1.113 MB / 0.558 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.1887, allocations: 2.575 MB / 0.5605 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.1887, allocations: 0 / 0.5605 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.1888, allocations: 0 / 0.5605 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.172e-05/0.1889, allocations: 19.97 kB / 0.5605 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.1922, allocations: 1.243 MB / 0.5617 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.1922, allocations: 43.86 kB / 0.5618 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.1923, allocations: 4 kB / 0.5618 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.1923, allocations: 11.94 kB / 0.5618 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.897e-05/0.1924, allocations: 15.88 kB / 0.5618 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.1924, allocations: 4 kB / 0.5618 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.1941, allocations: 1.194 MB / 0.563 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.1942, allocations: 7.938 kB / 0.563 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.1942, allocations: 37.69 kB / 0.563 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009263/0.1951, allocations: 0.7216 MB / 0.5637 GB, free: 4.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1951, allocations: 0 / 0.5637 GB, free: 4.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1952, allocations: 0 / 0.5637 GB, free: 4.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.1952, allocations: 4 kB / 0.5637 GB, free: 4.559 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.0005581/0.1957, allocations: 0.5105 MB / 0.5642 GB, free: 4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1958, allocations: 8.031 kB / 0.5642 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.1958, allocations: 79.19 kB / 0.5643 GB, free: 3.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.196, allocations: 242.4 kB / 0.5645 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.1961, allocations: 162.5 kB / 0.5647 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.1961, allocations: 158.6 kB / 0.5648 GB, free: 3.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.009e-05/0.1962, allocations: 105 kB / 0.5649 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.1963, allocations: 75.28 kB / 0.565 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.1963, allocations: 150.6 kB / 0.5652 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/0.1964, allocations: 154.5 kB / 0.5653 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.264e-05/0.1964, allocations: 154.6 kB / 0.5654 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.1967, allocations: 473.8 kB / 0.5659 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.177e-05/0.1968, allocations: 169.1 kB / 0.5661 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1968, allocations: 79.28 kB / 0.5661 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.1969, allocations: 105.8 kB / 0.5662 GB, free: 1.805 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.435e-06/0.1969, allocations: 4 kB / 0.5662 GB, free: 1.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.472e-05/0.197, allocations: 37.58 kB / 0.5663 GB, free: 1.758 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.197, allocations: 126.7 kB / 0.5664 GB, free: 1.621 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1972, allocations: 139.9 kB / 0.5665 GB, free: 1.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.1972, allocations: 25.7 kB / 0.5666 GB, free: 1.445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.1972, allocations: 96.11 kB / 0.5666 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.1973, allocations: 0 / 0.5666 GB, free: 1.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.1973, allocations: 0 / 0.5666 GB, free: 1.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1974, allocations: 326.8 kB / 0.567 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.1974, allocations: 0 / 0.567 GB, free: 1.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.1974, allocations: 8 kB / 0.567 GB, free: 1.012 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.1975, allocations: 4 kB / 0.567 GB, free: 1.008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1975, allocations: 0 / 0.567 GB, free: 1.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000119/0.1976, allocations: 53.56 kB / 0.567 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1976, allocations: 4 kB / 0.567 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.1976, allocations: 11.88 kB / 0.567 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1976, allocations: 0 / 0.567 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-06/0.1977, allocations: 3.984 kB / 0.567 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1977, allocations: 4.062 kB / 0.567 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.1977, allocations: 4 kB / 0.567 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1977, allocations: 0 / 0.567 GB, free: 0.9219 MB / 430.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 9.045e-05/0.1978, allocations: 185.1 kB / 0.5672 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.1979, allocations: 112.8 kB / 0.5673 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.1979, allocations: 116.6 kB / 0.5674 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.602e-05/0.198, allocations: 184.2 kB / 0.5676 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.973e-05/0.198, allocations: 180.3 kB / 0.5678 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.989e-05/0.1981, allocations: 180.2 kB / 0.568 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.1983, allocations: 409.2 kB / 0.5684 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/0.1984, allocations: 108.9 kB / 0.5685 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.1984, allocations: 109 kB / 0.5686 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.583e-05/0.1985, allocations: 184.3 kB / 0.5687 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.1985, allocations: 184.2 kB / 0.5689 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-05/0.1986, allocations: 176.3 kB / 0.5691 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.586e-05/0.1987, allocations: 184.2 kB / 0.5693 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.1988, allocations: 307.9 kB / 0.5695 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.1989, allocations: 189.9 kB / 0.5697 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.1989, allocations: 180.5 kB / 0.5699 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.199, allocations: 116.8 kB / 0.57 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.1991, allocations: 180.3 kB / 0.5702 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.1991, allocations: 109 kB / 0.5703 GB, free: 13.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.679e-05/0.1992, allocations: 101.5 kB / 0.5704 GB, free: 13.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1992, allocations: 3.938 kB / 0.5704 GB, free: 13.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006994/0.1999, allocations: 279.8 kB / 0.5707 GB, free: 13 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.0008737/0.2008, allocations: 498 kB / 0.5711 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.2009, allocations: 37.7 kB / 0.5712 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2009, allocations: 0 / 0.5712 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.2009, allocations: 7.938 kB / 0.5712 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.2013, allocations: 0.5312 MB / 0.5717 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.2016, allocations: 251.9 kB / 0.5719 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.2018, allocations: 0.6887 MB / 0.5726 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.449e-05/0.2019, allocations: 0 / 0.5726 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.018e-05/0.2019, allocations: 7.438 kB / 0.5726 GB, free: 10.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2019, allocations: 0 / 0.5726 GB, free: 10.92 MB / 446.1 MB Notification: Performance of Templates: time 0.009109/0.211, allocations: 5.6 MB / 0.5781 GB, free: 5.371 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)