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.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 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009422/0.0009421, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007261/0.007261, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.654/1.654, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.837/1.837, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0007321/0.0007322, allocations: 13.84 kB / 0.6744 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2645, allocations: 116.3 MB / 0.7879 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001614/0.2662, allocations: 1.157 MB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004642/0.2708, allocations: 3.03 MB / 0.792 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.2709, allocations: 0 / 0.792 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.2709, allocations: 0 / 0.792 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.271, allocations: 23.84 kB / 0.792 GB, free: 7.273 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/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.2746, allocations: 1.458 MB / 0.7935 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.433e-05/0.2747, allocations: 43.69 kB / 0.7935 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.2748, allocations: 4.266 kB / 0.7935 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.52e-05/0.2748, allocations: 15.94 kB / 0.7935 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.478e-05/0.2748, allocations: 11.94 kB / 0.7935 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.2748, allocations: 4 kB / 0.7935 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.2768, allocations: 1.486 MB / 0.795 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.2768, allocations: 7.922 kB / 0.795 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.2769, allocations: 49.56 kB / 0.7951 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.2782, allocations: 1.134 MB / 0.7962 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2783, allocations: 0 / 0.7962 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2783, allocations: 0 / 0.7962 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2783, allocations: 0 / 0.7962 GB, free: 3.074 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.000564/0.2788, allocations: 0.5146 MB / 0.7967 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2789, allocations: 12.03 kB / 0.7967 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.2789, allocations: 88.06 kB / 0.7968 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.2791, allocations: 247.6 kB / 0.797 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.2791, allocations: 150.9 kB / 0.7971 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.2792, allocations: 150.9 kB / 0.7973 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.166e-05/0.2793, allocations: 105.1 kB / 0.7974 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.2793, allocations: 83.22 kB / 0.7975 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-05/0.2794, allocations: 154.6 kB / 0.7976 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/0.2794, allocations: 154.6 kB / 0.7978 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.705e-05/0.2795, allocations: 150.6 kB / 0.7979 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.2797, allocations: 465.9 kB / 0.7983 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.535e-05/0.2798, allocations: 169.1 kB / 0.7985 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.2799, allocations: 84.08 kB / 0.7986 GB, free: 436 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.2799, allocations: 79.27 kB / 0.7987 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.2799, allocations: 109.8 kB / 0.7988 GB, free: 236 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.28, allocations: 4 kB / 0.7988 GB, free: 232 kB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.948e-05/0.28, allocations: 41.61 kB / 0.7988 GB, free: 184 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.2801, allocations: 126.7 kB / 0.7989 GB, free: 44 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2802, allocations: 141.7 kB / 0.7991 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.2803, allocations: 25.7 kB / 0.7991 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.2803, allocations: 88.14 kB / 0.7992 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.2803, allocations: 4 kB / 0.7992 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.2803, allocations: 9.719 kB / 0.7992 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2805, allocations: 322.8 kB / 0.7995 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.2805, allocations: 7.938 kB / 0.7995 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.592e-05/0.2805, allocations: 8 kB / 0.7995 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.648e-05/0.2806, allocations: 20.92 kB / 0.7995 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2806, allocations: 0 / 0.7995 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001221/0.2807, allocations: 53.53 kB / 0.7996 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2807, allocations: 8 kB / 0.7996 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.2808, allocations: 4 kB / 0.7996 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.2808, allocations: 0 / 0.7996 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.2808, allocations: 0 / 0.7996 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2808, allocations: 64 / 0.7996 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.2808, allocations: 7.906 kB / 0.7996 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2808, allocations: 0 / 0.7996 GB, free: 15.31 MB / 0.6231 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.17e-05/0.2809, allocations: 189.1 kB / 0.7998 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.281, allocations: 112.9 kB / 0.7999 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.281, allocations: 112.6 kB / 0.8 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.297e-05/0.2811, allocations: 180.2 kB / 0.8002 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.316e-05/0.2812, allocations: 184.3 kB / 0.8003 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.95e-05/0.2812, allocations: 184.2 kB / 0.8005 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.2815, allocations: 409.2 kB / 0.8009 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/0.2815, allocations: 112.9 kB / 0.801 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.2815, allocations: 104.9 kB / 0.8011 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.163e-05/0.2816, allocations: 180.3 kB / 0.8013 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.2817, allocations: 188.2 kB / 0.8015 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-05/0.2817, allocations: 176.3 kB / 0.8016 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-05/0.2818, allocations: 180.3 kB / 0.8018 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.2819, allocations: 315.7 kB / 0.8021 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.282, allocations: 193.9 kB / 0.8023 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.2821, allocations: 176.3 kB / 0.8025 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.2822, allocations: 101 kB / 0.8026 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.2822, allocations: 188.2 kB / 0.8027 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.2823, allocations: 108.9 kB / 0.8028 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.2823, allocations: 102.2 kB / 0.8029 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2824, allocations: 0 / 0.8029 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007081/0.2831, allocations: 291.8 kB / 0.8032 GB, free: 11.38 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.001099/0.2842, allocations: 0.546 MB / 0.8038 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.93e-05/0.2843, allocations: 45.64 kB / 0.8038 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2843, allocations: 0 / 0.8038 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-06/0.2843, allocations: 0 / 0.8038 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.2847, allocations: 0.534 MB / 0.8043 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.285, allocations: 264 kB / 0.8046 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.2853, allocations: 0.6848 MB / 0.8052 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.257e-05/0.2853, allocations: 0 / 0.8052 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.2853, allocations: 15.44 kB / 0.8053 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2853, allocations: 0 / 0.8053 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of Templates: time 0.009684/0.295, allocations: 5.775 MB / 0.8109 GB, free: 3.5 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: