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.001546/0.001546, allocations: 104.9 kB / 16.52 MB, free: 6.66 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.001528/0.001528, allocations: 198.8 kB / 17.44 MB, free: 6.047 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.376/1.376, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.787/0.787, allocations: 115.3 MB / 406.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 493.6 MB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4672, allocations: 76.17 MB / 0.5564 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002595/0.4699, allocations: 1.484 MB / 0.5579 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004127/0.474, allocations: 3.01 MB / 0.5608 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.4741, allocations: 0 / 0.5608 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.4742, allocations: 1.969 kB / 0.5608 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.4742, allocations: 16.78 kB / 0.5608 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003817/0.4781, allocations: 1.411 MB / 0.5622 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.4782, allocations: 45.97 kB / 0.5623 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.4782, allocations: 8.156 kB / 0.5623 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.092e-05/0.4783, allocations: 13.05 kB / 0.5623 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.824e-05/0.4783, allocations: 16.97 kB / 0.5623 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.4783, allocations: 1.875 kB / 0.5623 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.4818, allocations: 1.467 MB / 0.5637 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.4818, allocations: 7.266 kB / 0.5637 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.4819, allocations: 20.39 kB / 0.5638 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.4838, allocations: 0.7908 MB / 0.5645 GB, free: 31.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.4838, allocations: 0.9688 kB / 0.5645 GB, free: 31.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4838, allocations: 0 / 0.5645 GB, free: 31.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.4838, allocations: 1.062 kB / 0.5645 GB, free: 31.96 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.0009835/0.4848, allocations: 0.5153 MB / 0.565 GB, free: 31.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.895e-05/0.4849, allocations: 15.28 kB / 0.5651 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.485, allocations: 86.66 kB / 0.5651 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.4852, allocations: 250.6 kB / 0.5654 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.193e-05/0.4852, allocations: 154 kB / 0.5655 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.4853, allocations: 152.8 kB / 0.5657 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.234e-05/0.4853, allocations: 109.8 kB / 0.5658 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.4854, allocations: 81.72 kB / 0.5658 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.4854, allocations: 151.3 kB / 0.566 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.4854, allocations: 151.6 kB / 0.5661 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.603e-05/0.4855, allocations: 151.8 kB / 0.5663 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.4858, allocations: 467.9 kB / 0.5667 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.08e-05/0.4859, allocations: 175.5 kB / 0.5669 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.4859, allocations: 80.64 kB / 0.567 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.4859, allocations: 77.2 kB / 0.567 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.4859, allocations: 112.1 kB / 0.5672 GB, free: 29.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.486, allocations: 0 / 0.5672 GB, free: 29.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.55e-05/0.486, allocations: 30.38 kB / 0.5672 GB, free: 29.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.4861, allocations: 133 kB / 0.5673 GB, free: 29.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.4863, allocations: 137.6 kB / 0.5674 GB, free: 28.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.4863, allocations: 27.34 kB / 0.5675 GB, free: 28.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.4863, allocations: 93.08 kB / 0.5676 GB, free: 28.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.4863, allocations: 0 / 0.5676 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.4864, allocations: 18.05 kB / 0.5676 GB, free: 28.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.251e-05/0.4865, allocations: 318.2 kB / 0.5679 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.909e-05/0.4865, allocations: 4.078 kB / 0.5679 GB, free: 28.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.4865, allocations: 9.234 kB / 0.5679 GB, free: 28.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.4866, allocations: 12.05 kB / 0.5679 GB, free: 28.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4866, allocations: 0 / 0.5679 GB, free: 28.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001455/0.4868, allocations: 55.47 kB / 0.568 GB, free: 28.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4868, allocations: 8.594 kB / 0.568 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/0.4868, allocations: 5.297 kB / 0.568 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4868, allocations: 0 / 0.568 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.4868, allocations: 3.938 kB / 0.568 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4869, allocations: 0.6094 kB / 0.568 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.4869, allocations: 12.88 kB / 0.568 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.4869, allocations: 1.156 kB / 0.568 GB, free: 28.43 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 8.7e-05/0.487, allocations: 188 kB / 0.5682 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.4871, allocations: 113.5 kB / 0.5683 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.4871, allocations: 112.5 kB / 0.5684 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.551e-05/0.4871, allocations: 178.8 kB / 0.5685 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.626e-05/0.4872, allocations: 183.5 kB / 0.5687 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/0.4872, allocations: 181.4 kB / 0.5689 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.4874, allocations: 412 kB / 0.5693 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.697e-05/0.4875, allocations: 119 kB / 0.5694 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.4875, allocations: 105.8 kB / 0.5695 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.056e-05/0.4876, allocations: 184.2 kB / 0.5697 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.4876, allocations: 182.1 kB / 0.5699 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-05/0.4876, allocations: 178.3 kB / 0.57 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-05/0.4877, allocations: 188 kB / 0.5702 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.4878, allocations: 303.7 kB / 0.5705 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.4879, allocations: 193.9 kB / 0.5707 GB, free: 25.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.4879, allocations: 178.9 kB / 0.5708 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.488, allocations: 107.8 kB / 0.571 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.4881, allocations: 178.2 kB / 0.5711 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.4881, allocations: 108.1 kB / 0.5712 GB, free: 24.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.347e-05/0.4882, allocations: 101 kB / 0.5713 GB, free: 24.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4882, allocations: 2.531 kB / 0.5713 GB, free: 24.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001342/0.4896, allocations: 287.3 kB / 0.5716 GB, free: 24.8 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.001575/0.4911, allocations: 0.531 MB / 0.5721 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.4913, allocations: 40.95 kB / 0.5722 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4913, allocations: 0 / 0.5722 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.25e-06/0.4913, allocations: 2.75 kB / 0.5722 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.4918, allocations: 0.5311 MB / 0.5727 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.4922, allocations: 276.2 kB / 0.5729 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.4924, allocations: 0.6864 MB / 0.5736 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.4924, allocations: 9.5 kB / 0.5736 GB, free: 23.03 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4924, allocations: 0 / 0.5736 GB, free: 23.03 MB / 446.1 MB Notification: Performance of Templates: time 0.01139/0.5038, allocations: 4.745 MB / 0.5783 GB, free: 22.58 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)