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.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/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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009874/0.0009876, 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.001264/0.001264, allocations: 171.8 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.412/1.412, allocations: 223.3 MB / 240.6 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6938/0.6938, allocations: 115.5 MB / 407.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004018, allocations: 8 kB / 495.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1823, allocations: 77.52 MB / 0.5594 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001716/0.184, allocations: 1.117 MB / 0.5605 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004378/0.1885, allocations: 2.626 MB / 0.563 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.1886, allocations: 0 / 0.563 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.1886, allocations: 7.984 kB / 0.563 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.1887, allocations: 11.86 kB / 0.5631 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.1921, allocations: 1.234 MB / 0.5643 GB, free: 4.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.283e-05/0.1922, allocations: 39.73 kB / 0.5643 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.1922, allocations: 8 kB / 0.5643 GB, free: 4.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.42e-05/0.1923, allocations: 11.94 kB / 0.5643 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.039e-05/0.1923, allocations: 19.92 kB / 0.5643 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.1923, allocations: 0 / 0.5643 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.194, allocations: 1.209 MB / 0.5655 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.194, allocations: 7.938 kB / 0.5655 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.1941, allocations: 29.7 kB / 0.5656 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008462/0.1949, allocations: 0.6982 MB / 0.5662 GB, free: 2.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1949, allocations: 0 / 0.5662 GB, free: 2.289 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.478e-06/0.195, allocations: 8 kB / 0.5662 GB, free: 2.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.195, allocations: 0 / 0.5662 GB, free: 2.281 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.0005532/0.1955, allocations: 0.5007 MB / 0.5667 GB, free: 1.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1956, allocations: 8.031 kB / 0.5667 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.1956, allocations: 87.12 kB / 0.5668 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.1958, allocations: 246.3 kB / 0.5671 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/0.1959, allocations: 150.6 kB / 0.5672 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.1959, allocations: 158.5 kB / 0.5674 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.544e-05/0.196, allocations: 105 kB / 0.5675 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.1961, allocations: 79.27 kB / 0.5675 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.1961, allocations: 154.6 kB / 0.5677 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.231e-05/0.1962, allocations: 150.6 kB / 0.5678 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.117e-05/0.1962, allocations: 154.5 kB / 0.568 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.1965, allocations: 469.8 kB / 0.5684 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.29e-05/0.1966, allocations: 169.1 kB / 0.5686 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.1967, allocations: 80.14 kB / 0.5687 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1967, allocations: 79.23 kB / 0.5687 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.1968, allocations: 117.8 kB / 0.5688 GB, free: 15.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.1968, allocations: 7.875 kB / 0.5688 GB, free: 15.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.453e-05/0.1968, allocations: 25.7 kB / 0.5689 GB, free: 15.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.1969, allocations: 130.7 kB / 0.569 GB, free: 15.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.197, allocations: 132.3 kB / 0.5691 GB, free: 15.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.1971, allocations: 29.7 kB / 0.5692 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.1971, allocations: 88.12 kB / 0.5692 GB, free: 15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-06/0.1971, allocations: 4 kB / 0.5692 GB, free: 15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.1971, allocations: 0 / 0.5692 GB, free: 15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1972, allocations: 318.8 kB / 0.5695 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.1973, allocations: 0 / 0.5695 GB, free: 14.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.1973, allocations: 4 kB / 0.5695 GB, free: 14.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.1973, allocations: 11.98 kB / 0.5696 GB, free: 14.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1973, allocations: 0 / 0.5696 GB, free: 14.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001246/0.1975, allocations: 45.64 kB / 0.5696 GB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1975, allocations: 7.953 kB / 0.5696 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.1975, allocations: 8.062 kB / 0.5696 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1975, allocations: 0 / 0.5696 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.1975, allocations: 0 / 0.5696 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1975, allocations: 0 / 0.5696 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.1976, allocations: 11.89 kB / 0.5696 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1976, allocations: 4 kB / 0.5696 GB, free: 14.58 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 9.145e-05/0.1977, allocations: 185.1 kB / 0.5698 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.1977, allocations: 108.9 kB / 0.5699 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.1978, allocations: 116.8 kB / 0.57 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.106e-05/0.1979, allocations: 180.2 kB / 0.5702 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.656e-05/0.1979, allocations: 188.2 kB / 0.5704 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.143e-05/0.198, allocations: 176.3 kB / 0.5705 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.1982, allocations: 409.2 kB / 0.5709 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.671e-05/0.1983, allocations: 108.9 kB / 0.571 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.1983, allocations: 105 kB / 0.5711 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.693e-05/0.1984, allocations: 184.2 kB / 0.5713 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/0.1984, allocations: 180.3 kB / 0.5715 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-05/0.1985, allocations: 188.2 kB / 0.5717 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-05/0.1985, allocations: 176.3 kB / 0.5718 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.1987, allocations: 319.9 kB / 0.5721 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.1988, allocations: 186 kB / 0.5723 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/0.1988, allocations: 180.2 kB / 0.5725 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.1989, allocations: 101 kB / 0.5726 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.199, allocations: 192.2 kB / 0.5728 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.199, allocations: 108.9 kB / 0.5729 GB, free: 11.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.764e-05/0.1991, allocations: 97.61 kB / 0.573 GB, free: 10.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1991, allocations: 0 / 0.573 GB, free: 10.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006622/0.1998, allocations: 279.7 kB / 0.5732 GB, free: 10.67 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.0008996/0.2007, allocations: 0.5018 MB / 0.5737 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.13e-05/0.2008, allocations: 33.7 kB / 0.5738 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2008, allocations: 4.062 kB / 0.5738 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.2008, allocations: 0 / 0.5738 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.2012, allocations: 0.5309 MB / 0.5743 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.2015, allocations: 259.7 kB / 0.5745 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.2018, allocations: 0.6809 MB / 0.5752 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.458e-05/0.2018, allocations: 0 / 0.5752 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.128e-05/0.2018, allocations: 7.438 kB / 0.5752 GB, free: 8.594 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2018, allocations: 0 / 0.5752 GB, free: 8.594 MB / 446.1 MB Notification: Performance of Templates: time 0.009132/0.211, allocations: 5.416 MB / 0.5805 GB, free: 3.23 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)