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.001402/0.001402, allocations: 91.3 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.01183/0.01183, allocations: 170 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.648/1.648, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.714/1.714, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005543/0.0005543, allocations: 14.81 kB / 0.6744 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2593, allocations: 116.3 MB / 0.7879 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001823/0.2612, allocations: 1.146 MB / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005204/0.2664, allocations: 2.991 MB / 0.792 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.2665, allocations: 0 / 0.792 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.2666, allocations: 11.92 kB / 0.792 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.867e-05/0.2667, allocations: 11.86 kB / 0.792 GB, free: 7.332 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.004373/0.271, allocations: 1.428 MB / 0.7934 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.698e-05/0.2711, allocations: 39.8 kB / 0.7934 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.2712, allocations: 0 / 0.7934 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.28e-05/0.2712, allocations: 11.94 kB / 0.7934 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.279e-05/0.2713, allocations: 27.86 kB / 0.7935 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.2713, allocations: 0 / 0.7935 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.274, allocations: 1.443 MB / 0.7949 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.274, allocations: 4 kB / 0.7949 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.2741, allocations: 45.56 kB / 0.7949 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.2764, allocations: 1.111 MB / 0.796 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2764, allocations: 0 / 0.796 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2764, allocations: 0 / 0.796 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2764, allocations: 0 / 0.796 GB, free: 3.234 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.0008337/0.2772, allocations: 0.5069 MB / 0.7965 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.2773, allocations: 12.03 kB / 0.7965 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.32e-05/0.2774, allocations: 80.12 kB / 0.7966 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.2775, allocations: 254.4 kB / 0.7968 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/0.2776, allocations: 162.9 kB / 0.797 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.2777, allocations: 150.9 kB / 0.7971 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.708e-05/0.2778, allocations: 113 kB / 0.7972 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.2778, allocations: 75.28 kB / 0.7973 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/0.2779, allocations: 150.6 kB / 0.7975 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/0.2779, allocations: 154.5 kB / 0.7976 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.264e-05/0.278, allocations: 150.6 kB / 0.7977 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.2783, allocations: 465.9 kB / 0.7982 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.423e-05/0.2784, allocations: 177.1 kB / 0.7984 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.2785, allocations: 84.12 kB / 0.7984 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.2785, allocations: 75.28 kB / 0.7985 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.2786, allocations: 113.8 kB / 0.7986 GB, free: 396 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.2786, allocations: 4 kB / 0.7986 GB, free: 392 kB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001021/0.2787, allocations: 33.61 kB / 0.7987 GB, free: 352 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.2788, allocations: 126.7 kB / 0.7988 GB, free: 212 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.2789, allocations: 129.8 kB / 0.7989 GB, free: 72 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2789, allocations: 25.7 kB / 0.7989 GB, free: 40 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.279, allocations: 96.12 kB / 0.799 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.279, allocations: 0 / 0.799 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.2791, allocations: 9.719 kB / 0.799 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2792, allocations: 326.8 kB / 0.7993 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.2792, allocations: 0 / 0.7993 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.2793, allocations: 8 kB / 0.7993 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.2793, allocations: 12.86 kB / 0.7994 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2793, allocations: 0 / 0.7994 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001535/0.2795, allocations: 53.53 kB / 0.7994 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2795, allocations: 4 kB / 0.7994 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.2795, allocations: 4 kB / 0.7994 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2795, allocations: 3.938 kB / 0.7994 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.2796, allocations: 4.062 kB / 0.7994 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2796, allocations: 0 / 0.7994 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.2796, allocations: 0 / 0.7994 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.2796, allocations: 4 kB / 0.7994 GB, free: 15.5 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 0.0001057/0.2797, allocations: 181.1 kB / 0.7996 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.2798, allocations: 116.9 kB / 0.7997 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.2799, allocations: 120.7 kB / 0.7998 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.07e-05/0.2799, allocations: 184.3 kB / 0.8 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-05/0.28, allocations: 176.3 kB / 0.8002 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.977e-05/0.2801, allocations: 180.2 kB / 0.8003 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.2804, allocations: 421.2 kB / 0.8007 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.755e-05/0.2804, allocations: 108.9 kB / 0.8009 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.2804, allocations: 101 kB / 0.8009 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.309e-05/0.2805, allocations: 184.3 kB / 0.8011 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.593e-05/0.2806, allocations: 180.2 kB / 0.8013 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-05/0.2807, allocations: 180.2 kB / 0.8015 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-05/0.2808, allocations: 180.2 kB / 0.8016 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.2809, allocations: 315.7 kB / 0.8019 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.044e-05/0.281, allocations: 193.9 kB / 0.8021 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.451e-05/0.2811, allocations: 176.3 kB / 0.8023 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.2812, allocations: 112.9 kB / 0.8024 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.2813, allocations: 176.3 kB / 0.8026 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.2813, allocations: 101 kB / 0.8027 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.965e-05/0.2814, allocations: 106.1 kB / 0.8028 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.392e-06/0.2814, allocations: 0 / 0.8028 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008865/0.2823, allocations: 291.7 kB / 0.803 GB, free: 11.57 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.00144/0.2838, allocations: 0.5227 MB / 0.8036 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.829e-05/0.2839, allocations: 45.69 kB / 0.8036 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2839, allocations: 0 / 0.8036 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/0.2839, allocations: 0 / 0.8036 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.2844, allocations: 0.5263 MB / 0.8041 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.2847, allocations: 263.6 kB / 0.8044 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.285, allocations: 0.6848 MB / 0.805 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.536e-05/0.285, allocations: 0 / 0.805 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.2851, allocations: 11.44 kB / 0.805 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of SimCode: time 8.31e-07/0.2851, allocations: 4 kB / 0.805 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of Templates: time 0.01073/0.2958, allocations: 5.587 MB / 0.8105 GB, free: 3.906 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: