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.001055/0.001055, allocations: 99 kB / 15.05 MB, free: 1.105 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.00123/0.001231, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.737/1.737, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005236/0.0005236, allocations: 17.62 kB / 0.6736 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2976, allocations: 116.3 MB / 0.7872 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001754/0.2994, allocations: 1.13 MB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004517/0.3039, allocations: 2.608 MB / 0.7908 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.304, allocations: 0 / 0.7908 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.304, allocations: 3.984 kB / 0.7908 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.131e-05/0.3041, allocations: 23.91 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004126/0.3083, allocations: 1.27 MB / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.387e-05/0.3084, allocations: 31.94 kB / 0.7921 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.3084, allocations: 4 kB / 0.7921 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.982e-05/0.3085, allocations: 11.94 kB / 0.7921 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.3085, allocations: 15.94 kB / 0.7921 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.3085, allocations: 4 kB / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.3109, allocations: 1.174 MB / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.3109, allocations: 7.922 kB / 0.7933 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.311, allocations: 29.7 kB / 0.7933 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.3124, allocations: 0.7177 MB / 0.794 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3125, allocations: 0 / 0.794 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3125, allocations: 0 / 0.794 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.3125, allocations: 0 / 0.794 GB, free: 4.891 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.0008389/0.3133, allocations: 0.5133 MB / 0.7945 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3134, allocations: 8.031 kB / 0.7945 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.3134, allocations: 83.19 kB / 0.7946 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3136, allocations: 257.2 kB / 0.7949 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.894e-05/0.3137, allocations: 150.6 kB / 0.795 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/0.3138, allocations: 154.5 kB / 0.7952 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.269e-05/0.3138, allocations: 101 kB / 0.7953 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/0.3139, allocations: 79.28 kB / 0.7953 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.314, allocations: 150.6 kB / 0.7955 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-05/0.314, allocations: 154.6 kB / 0.7956 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.3141, allocations: 158.6 kB / 0.7958 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.3145, allocations: 481.7 kB / 0.7962 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.85e-05/0.3146, allocations: 169.1 kB / 0.7964 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.3146, allocations: 75.28 kB / 0.7965 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.3147, allocations: 105.8 kB / 0.7966 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.3147, allocations: 0 / 0.7966 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.542e-05/0.3147, allocations: 29.7 kB / 0.7966 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.3148, allocations: 138.6 kB / 0.7967 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.315, allocations: 133.9 kB / 0.7969 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.315, allocations: 25.7 kB / 0.7969 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.3151, allocations: 92.12 kB / 0.797 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.3151, allocations: 0 / 0.797 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.3151, allocations: 0 / 0.797 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3152, allocations: 318.8 kB / 0.7973 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.3153, allocations: 7.984 kB / 0.7973 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.3153, allocations: 12 kB / 0.7973 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.3153, allocations: 4 kB / 0.7973 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3153, allocations: 0 / 0.7973 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/0.3155, allocations: 41.7 kB / 0.7973 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3155, allocations: 4 kB / 0.7973 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.3155, allocations: 7.984 kB / 0.7973 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3155, allocations: 0 / 0.7973 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.3155, allocations: 0 / 0.7973 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3156, allocations: 0 / 0.7973 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.3156, allocations: 11.84 kB / 0.7974 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3156, allocations: 4.062 kB / 0.7974 GB, free: 1.262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.3157, allocations: 185.1 kB / 0.7975 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.3158, allocations: 105 kB / 0.7976 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.3158, allocations: 116.8 kB / 0.7977 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.728e-05/0.3159, allocations: 180.2 kB / 0.7979 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.276e-05/0.316, allocations: 176.3 kB / 0.7981 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/0.3161, allocations: 188.2 kB / 0.7983 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.3164, allocations: 413.2 kB / 0.7987 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.885e-05/0.3164, allocations: 109 kB / 0.7988 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.3165, allocations: 108.9 kB / 0.7989 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.358e-05/0.3165, allocations: 176.3 kB / 0.799 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.322e-05/0.3166, allocations: 184.2 kB / 0.7992 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.16e-05/0.3167, allocations: 176.3 kB / 0.7994 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.09e-05/0.3168, allocations: 180.5 kB / 0.7996 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.3169, allocations: 319.7 kB / 0.7999 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.969e-05/0.317, allocations: 189.9 kB / 0.8 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.168e-05/0.3171, allocations: 184.3 kB / 0.8002 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.3172, allocations: 105 kB / 0.8003 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.3173, allocations: 192.1 kB / 0.8005 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.3173, allocations: 101 kB / 0.8006 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.3174, allocations: 98.23 kB / 0.8007 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3174, allocations: 0 / 0.8007 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008823/0.3183, allocations: 283.8 kB / 0.801 GB, free: 13.35 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 (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.001318/0.3196, allocations: 0.5033 MB / 0.8015 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.3197, allocations: 45.62 kB / 0.8015 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3198, allocations: 0 / 0.8015 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.3198, allocations: 3.938 kB / 0.8015 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3202, allocations: 0.5264 MB / 0.802 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.3205, allocations: 255.7 kB / 0.8023 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3208, allocations: 0.6926 MB / 0.8029 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.751e-05/0.3208, allocations: 0 / 0.8029 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.3208, allocations: 11.44 kB / 0.8029 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.3209, allocations: 0 / 0.8029 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.01033/0.3312, allocations: 5.502 MB / 0.8083 GB, free: 5.793 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: