Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001168/0.001168, allocations: 195.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 69.81 kB / 0.671 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3098, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003463/0.3133, allocations: 1.492 MB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00436/0.3177, allocations: 2.94 MB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.3178, allocations: 0 / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.3179, allocations: 3.938 kB / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/0.318, allocations: 11.91 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.3218, allocations: 1.507 MB / 0.7887 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.3218, allocations: 47.73 kB / 0.7888 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.3219, allocations: 4 kB / 0.7888 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.489e-05/0.3219, allocations: 7.938 kB / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.868e-05/0.322, allocations: 19.86 kB / 0.7888 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.322, allocations: 4 kB / 0.7888 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.3239, allocations: 1.443 MB / 0.7902 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.3239, allocations: 7.984 kB / 0.7902 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.324, allocations: 15.88 kB / 0.7902 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.3253, allocations: 1.08 MB / 0.7913 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3253, allocations: 0 / 0.7913 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3253, allocations: 4 kB / 0.7913 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3253, allocations: 0 / 0.7913 GB, free: 5.293 MB / 0.6075 GB 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.0006317/0.326, allocations: 0.5146 MB / 0.7918 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.326, allocations: 8.031 kB / 0.7918 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.328e-05/0.3261, allocations: 84.16 kB / 0.7919 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3263, allocations: 254 kB / 0.7921 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.378e-05/0.3264, allocations: 154.9 kB / 0.7923 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.3264, allocations: 154.9 kB / 0.7924 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.861e-05/0.3265, allocations: 109.1 kB / 0.7925 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.3265, allocations: 75.28 kB / 0.7926 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.3266, allocations: 154.5 kB / 0.7927 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-05/0.3267, allocations: 154.6 kB / 0.7929 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.515e-05/0.3268, allocations: 154.6 kB / 0.793 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.3271, allocations: 465.8 kB / 0.7935 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.3272, allocations: 169.2 kB / 0.7936 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.3273, allocations: 84.14 kB / 0.7937 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/0.3273, allocations: 83.22 kB / 0.7938 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/0.3274, allocations: 113.8 kB / 0.7939 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3274, allocations: 0 / 0.7939 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.355e-05/0.3275, allocations: 29.7 kB / 0.7939 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.3276, allocations: 126.7 kB / 0.7941 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3277, allocations: 129.7 kB / 0.7942 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3277, allocations: 25.7 kB / 0.7942 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.3278, allocations: 92.14 kB / 0.7943 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.3278, allocations: 4 kB / 0.7943 GB, free: 2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.3278, allocations: 21.7 kB / 0.7943 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3279, allocations: 314.8 kB / 0.7946 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.328, allocations: 0 / 0.7946 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.328, allocations: 15.92 kB / 0.7946 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.717e-05/0.328, allocations: 12.86 kB / 0.7946 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.328, allocations: 0 / 0.7946 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.3282, allocations: 45.64 kB / 0.7947 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3282, allocations: 8.062 kB / 0.7947 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.3282, allocations: 7.984 kB / 0.7947 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.3282, allocations: 0 / 0.7947 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.3282, allocations: 0 / 0.7947 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3282, allocations: 0 / 0.7947 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.651e-05/0.3283, allocations: 11.84 kB / 0.7947 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.3283, allocations: 0 / 0.7947 GB, free: 1.547 MB / 0.6075 GB 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 9.994e-05/0.3284, allocations: 181.1 kB / 0.7949 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.3285, allocations: 116.8 kB / 0.795 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/0.3285, allocations: 116.8 kB / 0.7951 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.327e-05/0.3286, allocations: 184.2 kB / 0.7953 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.704e-05/0.3287, allocations: 176.3 kB / 0.7955 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.346e-05/0.3287, allocations: 180.3 kB / 0.7956 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.329, allocations: 417.2 kB / 0.796 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.616e-05/0.329, allocations: 112.9 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.3291, allocations: 108.9 kB / 0.7962 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-05/0.3292, allocations: 180.3 kB / 0.7964 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.3292, allocations: 176.3 kB / 0.7966 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.829e-05/0.3293, allocations: 180.2 kB / 0.7967 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.259e-05/0.3294, allocations: 180.3 kB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.3295, allocations: 319.7 kB / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.3296, allocations: 189.9 kB / 0.7974 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-05/0.3297, allocations: 184.2 kB / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.3298, allocations: 109 kB / 0.7977 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.3299, allocations: 184.2 kB / 0.7979 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.3299, allocations: 101 kB / 0.798 GB, free: 14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.32e-05/0.33, allocations: 98.08 kB / 0.7981 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.33, allocations: 0 / 0.7981 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007069/0.3307, allocations: 275.8 kB / 0.7983 GB, free: 13.63 MB / 0.6231 GB 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.001143/0.3318, allocations: 0.5392 MB / 0.7988 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.332, allocations: 41.98 kB / 0.7989 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.332, allocations: 0 / 0.7989 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.332, allocations: 0 / 0.7989 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.3324, allocations: 467.7 kB / 0.7993 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.3328, allocations: 240 kB / 0.7996 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.333, allocations: 0.6807 MB / 0.8002 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.183e-05/0.3331, allocations: 4 kB / 0.8002 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.247e-05/0.3331, allocations: 11.44 kB / 0.8002 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.3331, allocations: 0 / 0.8002 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of Templates: time 0.0092/0.3423, allocations: 5.578 MB / 0.8057 GB, free: 6.07 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)