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.001447/0.001447, allocations: 111.1 kB / 17.03 MB, free: 5.656 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.001379/0.001379, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7204/0.7204, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 494.9 MB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3362, allocations: 76.14 MB / 0.5576 GB, free: 36.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002389/0.3386, allocations: 1.424 MB / 0.559 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003841/0.3425, allocations: 2.88 MB / 0.5618 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.3426, allocations: 1.375 kB / 0.5618 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.3426, allocations: 10.62 kB / 0.5618 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.579e-05/0.3427, allocations: 15.23 kB / 0.5618 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003732/0.3464, allocations: 1.591 MB / 0.5634 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3466, allocations: 46.64 kB / 0.5634 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.3466, allocations: 3.125 kB / 0.5635 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.3467, allocations: 14.14 kB / 0.5635 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.035e-05/0.3467, allocations: 17.69 kB / 0.5635 GB, free: 33.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.3467, allocations: 1.969 kB / 0.5635 GB, free: 33.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.3492, allocations: 1.535 MB / 0.565 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.3492, allocations: 5.719 kB / 0.565 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.3492, allocations: 24.27 kB / 0.565 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.3509, allocations: 1.114 MB / 0.5661 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.351, allocations: 0 / 0.5661 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.351, allocations: 0 / 0.5661 GB, free: 32.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.351, allocations: 0 / 0.5661 GB, free: 32.44 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.000609/0.3516, allocations: 0.5171 MB / 0.5666 GB, free: 31.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3516, allocations: 13.08 kB / 0.5666 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.3517, allocations: 83.52 kB / 0.5667 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3518, allocations: 255.8 kB / 0.5669 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.3518, allocations: 151.5 kB / 0.5671 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.3519, allocations: 152.3 kB / 0.5672 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.208e-05/0.3519, allocations: 109 kB / 0.5673 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3519, allocations: 75.28 kB / 0.5674 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.352, allocations: 151.6 kB / 0.5675 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.352, allocations: 151.9 kB / 0.5677 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.611e-05/0.352, allocations: 159.2 kB / 0.5678 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.3522, allocations: 467.8 kB / 0.5683 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.418e-05/0.3523, allocations: 168.7 kB / 0.5685 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.3523, allocations: 80.73 kB / 0.5685 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.3523, allocations: 76.19 kB / 0.5686 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.3523, allocations: 113.4 kB / 0.5687 GB, free: 29.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.3524, allocations: 1.438 kB / 0.5687 GB, free: 29.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.272e-05/0.3524, allocations: 32.14 kB / 0.5687 GB, free: 29.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.3525, allocations: 127.2 kB / 0.5689 GB, free: 29.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3526, allocations: 146.1 kB / 0.569 GB, free: 29.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.3526, allocations: 25.7 kB / 0.569 GB, free: 29.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.3527, allocations: 92.38 kB / 0.5691 GB, free: 29.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.3527, allocations: 0 / 0.5691 GB, free: 29.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.3527, allocations: 16.97 kB / 0.5691 GB, free: 29.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.3528, allocations: 320.1 kB / 0.5694 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.3528, allocations: 9.688 kB / 0.5694 GB, free: 28.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.3528, allocations: 7.469 kB / 0.5695 GB, free: 28.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.3528, allocations: 10.61 kB / 0.5695 GB, free: 28.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3529, allocations: 1.219 kB / 0.5695 GB, free: 28.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001169/0.353, allocations: 59.94 kB / 0.5695 GB, free: 28.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.353, allocations: 5.531 kB / 0.5695 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.353, allocations: 3.656 kB / 0.5695 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.353, allocations: 1.984 kB / 0.5695 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.3531, allocations: 3.188 kB / 0.5695 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3531, allocations: 0.5 kB / 0.5695 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.3531, allocations: 11.12 kB / 0.5695 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3531, allocations: 1.375 kB / 0.5695 GB, free: 28.91 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 6.669e-05/0.3532, allocations: 187.7 kB / 0.5697 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.3532, allocations: 113.4 kB / 0.5698 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.3533, allocations: 117.2 kB / 0.5699 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/0.3533, allocations: 183.6 kB / 0.5701 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.828e-05/0.3533, allocations: 185.8 kB / 0.5703 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/0.3534, allocations: 179.1 kB / 0.5705 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.3535, allocations: 414.2 kB / 0.5709 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.3535, allocations: 106.8 kB / 0.571 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.3536, allocations: 107.4 kB / 0.5711 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.282e-05/0.3536, allocations: 182.1 kB / 0.5712 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.3536, allocations: 179.4 kB / 0.5714 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-05/0.3537, allocations: 182 kB / 0.5716 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.211e-05/0.3537, allocations: 179.8 kB / 0.5718 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.797e-05/0.3538, allocations: 312.2 kB / 0.5721 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.3538, allocations: 189.6 kB / 0.5722 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.3538, allocations: 184.7 kB / 0.5724 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.3539, allocations: 103 kB / 0.5725 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3539, allocations: 182.2 kB / 0.5727 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.354, allocations: 109.4 kB / 0.5728 GB, free: 25.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.862e-05/0.354, allocations: 102.7 kB / 0.5729 GB, free: 25.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.354, allocations: 0 / 0.5729 GB, free: 25.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009561/0.355, allocations: 281.7 kB / 0.5732 GB, free: 25.29 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.0011/0.3561, allocations: 0.5405 MB / 0.5737 GB, free: 25.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.058e-05/0.3562, allocations: 45.41 kB / 0.5737 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3562, allocations: 0 / 0.5737 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.3562, allocations: 0.7812 kB / 0.5737 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.3565, allocations: 475.8 kB / 0.5742 GB, free: 24.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.3568, allocations: 230.5 kB / 0.5744 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.3569, allocations: 0.6889 MB / 0.5751 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.599e-05/0.357, allocations: 1.125 kB / 0.5751 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.12e-05/0.357, allocations: 8.562 kB / 0.5751 GB, free: 23.62 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.357, allocations: 2.125 kB / 0.5751 GB, free: 23.62 MB / 446.1 MB Notification: Performance of Templates: time 0.01081/0.3678, allocations: 5.627 MB / 0.5806 GB, free: 23.03 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)