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.001605/0.001606, allocations: 112.2 kB / 17.04 MB, free: 6.082 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.001813/0.001813, allocations: 195 kB / 17.98 MB, free: 5.16 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.459/1.459, allocations: 222.9 MB / 241.7 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7424/0.7424, allocations: 115.1 MB / 406.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 494.9 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3302, allocations: 76.14 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00236/0.3326, allocations: 1.42 MB / 0.559 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003739/0.3363, allocations: 2.891 MB / 0.5618 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.3364, allocations: 3.938 kB / 0.5618 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.3365, allocations: 5.953 kB / 0.5619 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.958e-05/0.3366, allocations: 14.42 kB / 0.5619 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.341, allocations: 1.588 MB / 0.5634 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.3411, allocations: 46.59 kB / 0.5635 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.3412, allocations: 4.094 kB / 0.5635 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.115e-05/0.3412, allocations: 17.33 kB / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.855e-05/0.3412, allocations: 14.58 kB / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3412, allocations: 2.188 kB / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.3441, allocations: 1.533 MB / 0.565 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.3442, allocations: 7.594 kB / 0.565 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.3442, allocations: 16.02 kB / 0.565 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.3464, allocations: 1.123 MB / 0.5661 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3465, allocations: 0 / 0.5661 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3465, allocations: 0.75 kB / 0.5661 GB, free: 32.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3465, allocations: 0 / 0.5661 GB, free: 32.14 MB / 446.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.0007101/0.3472, allocations: 0.514 MB / 0.5666 GB, free: 31.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3473, allocations: 11.34 kB / 0.5666 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3473, allocations: 83.33 kB / 0.5667 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.3474, allocations: 250.8 kB / 0.5669 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.3474, allocations: 152.2 kB / 0.5671 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.3475, allocations: 157.6 kB / 0.5672 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.222e-05/0.3475, allocations: 110.9 kB / 0.5674 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3476, allocations: 77.33 kB / 0.5674 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.3476, allocations: 150.6 kB / 0.5676 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.3476, allocations: 156.5 kB / 0.5677 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.286e-05/0.3476, allocations: 151.8 kB / 0.5679 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.3478, allocations: 467.3 kB / 0.5683 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.481e-05/0.3479, allocations: 171.9 kB / 0.5685 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.3479, allocations: 82.28 kB / 0.5686 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.3479, allocations: 75.28 kB / 0.5686 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.348, allocations: 116.3 kB / 0.5687 GB, free: 29.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.348, allocations: 0.8438 kB / 0.5687 GB, free: 29.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.067e-05/0.3481, allocations: 29.41 kB / 0.5688 GB, free: 29.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.3481, allocations: 129.2 kB / 0.5689 GB, free: 29.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3482, allocations: 135.8 kB / 0.569 GB, free: 29.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.3482, allocations: 25.7 kB / 0.569 GB, free: 29.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.3483, allocations: 90.05 kB / 0.5691 GB, free: 29.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-06/0.3483, allocations: 3.938 kB / 0.5691 GB, free: 29.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.3483, allocations: 22.33 kB / 0.5691 GB, free: 29.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.3484, allocations: 314.7 kB / 0.5694 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.3484, allocations: 7.344 kB / 0.5695 GB, free: 28.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.3484, allocations: 8.438 kB / 0.5695 GB, free: 28.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.3485, allocations: 15.86 kB / 0.5695 GB, free: 28.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3485, allocations: 1.562 kB / 0.5695 GB, free: 28.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001227/0.3486, allocations: 49.75 kB / 0.5695 GB, free: 28.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3486, allocations: 9.672 kB / 0.5695 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.3487, allocations: 4.031 kB / 0.5695 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3487, allocations: 0.6562 kB / 0.5695 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.3487, allocations: 0 / 0.5695 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3487, allocations: 5.125 kB / 0.5695 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.3487, allocations: 11.47 kB / 0.5696 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3487, allocations: 1.438 kB / 0.5696 GB, free: 28.62 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.3488, allocations: 184.8 kB / 0.5697 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.3488, allocations: 112.5 kB / 0.5698 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.3489, allocations: 115 kB / 0.57 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.3489, allocations: 186.1 kB / 0.5701 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.563e-05/0.3489, allocations: 187 kB / 0.5703 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.871e-05/0.349, allocations: 181 kB / 0.5705 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.3491, allocations: 414.4 kB / 0.5709 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.3491, allocations: 107.9 kB / 0.571 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.3492, allocations: 110.5 kB / 0.5711 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.626e-05/0.3492, allocations: 179.8 kB / 0.5713 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.3492, allocations: 182.2 kB / 0.5714 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.62e-05/0.3493, allocations: 183.5 kB / 0.5716 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.338e-05/0.3493, allocations: 180.7 kB / 0.5718 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.451e-05/0.3494, allocations: 305.3 kB / 0.5721 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.3494, allocations: 197.7 kB / 0.5723 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.3494, allocations: 179.5 kB / 0.5724 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.299e-05/0.3495, allocations: 102.6 kB / 0.5725 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.3495, allocations: 184.1 kB / 0.5727 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3496, allocations: 102.1 kB / 0.5728 GB, free: 25.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.903e-05/0.3496, allocations: 101.8 kB / 0.5729 GB, free: 25.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3496, allocations: 2.219 kB / 0.5729 GB, free: 25.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001119/0.3507, allocations: 278.6 kB / 0.5732 GB, free: 25.01 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 (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.001278/0.352, allocations: 0.5449 MB / 0.5737 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.3522, allocations: 48.45 kB / 0.5737 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3522, allocations: 0 / 0.5737 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.3522, allocations: 0 / 0.5737 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3525, allocations: 472.9 kB / 0.5742 GB, free: 24.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.3528, allocations: 233.8 kB / 0.5744 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.3529, allocations: 0.6909 MB / 0.5751 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.522e-05/0.3529, allocations: 1.344 kB / 0.5751 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.199e-05/0.353, allocations: 9.25 kB / 0.5751 GB, free: 23.33 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.353, allocations: 0 / 0.5751 GB, free: 23.33 MB / 446.1 MB Notification: Performance of Templates: time 0.01144/0.3644, allocations: 5.624 MB / 0.5806 GB, free: 22.73 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)